PDA

View Full Version : Starting up site with tmanager. what should I do???


Dichotomy
09-02-2004, 11:33 PM
your firs task is adding galleries to script. you can do that with auto crop feat. for movies its still going one-by-one, so on auto crop scroll at the very bottom of page where you can enter gallery url/url to jpeg.

http://thumbsiteboard.com/viewtopic.php?t=372 - there is more about adding galleries to script.

so, add sufficient amount of galleries (minimum 50% more than you plan to have on your site)

all thumbs you add at this point will go into "inactive" section - you can view them there. script wont create any stats until site is active.
--------------------

second task is to create template for your mainpage. how to do that is explained here:
http://www.thumbmanager.com/help/tags.html

sample template is here: http://www.thumbmanager.com/sample.tpl

template is copy of your mainpage, with all the scripts/codes you need for it, but without actual thumbs. instead of thumbs you have IMG/ADV/PCT tags.

shortly:
IMG - tags for thumbs, that rotate upon prod, ADV tags are for controlled content on some spots - like for example "bigthumbs" on some sites - like on www.my-teensex.com and PCT tags specify amount of % to content.

examples are found on those links mentioned above.

few rules tho:

1. IMG and PCT (ADV and PCT) tags must stay together in one line, no html codes of any kind between them;
2. one tag per line (img or adv).

--------------

when you have template ready and uploaded and enough thumbs, you should check file called rot.cfg in tmanager folder and edit it accroding to needs. here is example from rot.cfg:

//page1
$in_page[1] = "../template.html";
$out_page[1] = "../index.shtml";

so, in this case script will read template.html and after processing, will overwrite index.shtml

please note that index.shtml should be chmoded to 666 and allready exist on server.

now when youre done with that too, contact me, will activate script.

V_RocKs
09-03-2004, 04:49 AM
Where was this when I was starting out? :D

Mathew
09-03-2004, 10:45 AM
Where was this when I was starting out? :D


you were given a personal attention :graucho: :D

Dichotomy
09-03-2004, 10:45 AM
-----------

Configure outscript - another thing what you should do when you start up.

in admin panel pick "configure outscript" and write in line according to your tradescripts syntax. for example, on UCJ it looks like this:
/cgi-bin/ucj/c.cgi?link=thumbs&p=%%PERCENTAGE%%&url=%%URL%%

on TM3 it looks like this:

/cgi-bin/tm3/l?p=%%PERCENTAGE%%&u=%%URL%%

I hope you get idea.

Dichotomy
09-16-2004, 11:36 PM
working with frames:

you need to specify in settings under that "image magick support",
absolute path to tmanager (eg, logon to your server via ssh, locate tmanager, cd to the directory and enter pwd - will display your absolute location) and specify frame sizes for upper/lower frames.

then you go to frames menu in tmanager and paste there html code for your frames. and enable them. thats it, clicking on site should open now your content in frames.

Dichotomy
10-13-2004, 08:47 PM
ok, another thingie that was asked and was not clear is how to use tmanager with tradescript that has internal skimming?

well, its easy peasy.

1. if you set that, you dont need to set PCT tags for your template - leave whatever you have there at the moment or dont write them at all;

2. go to "configure outscript" and take out of line part which is responsible for skimming. for example, in TM3 case your skim outlook looks like this:

cgi-bin/tm3/l?p=%%PERCENTAGE%%&u=%%URL%%

you change it to somethin like this:

cgi-bin/tm3/l?u=%%URL%%

3. go to your tradescript and set skim there.

thats it.

Dichotomy
10-18-2004, 08:54 PM
.....
Deleting thumbs from manage active.

if you delete thumb from manage active part which has red exclamation, you reset script into casting from position 0. thumbs that are marked with red exclamation (in manage active) are ones that are currently on page and by removing them from it, you destroy scripts created clickable thumb pattern, then script resets itself and starts creating this pattern from 0 again, meaning, the more often you delete thumbs with red "!" from manage active, the slower you script progresses thru database and by that you lower your productivity because after reset, script starts from 0 again.

if you by accident or by neccesity have removed thumbs with red exclamation, after that you might want to hit panic button, that will restore your mainpage to "grand total score" which usually is better than starting casting thumbs from 0.

Dichotomy
11-24-2004, 12:23 AM
in case youre moving script to another host:

1. transfer all files as binary!

2. after you've done with that, check permissions. should be like this:

site root:
folders: tmanager and tthumbs chmod to 777
your mainpage (not template file) chmod to 666

tmanager folder:
folders: temp and data chmod to 777
*.cfg files chmod to 666
*.db files chmod to 777
configure.outscript.ini file to 666

under folder data chmod all ini files to 666


keep in mind that domain should be working in order for script to work.

Mathew
01-04-2005, 09:30 PM
IMPORTANT!

Those of you who have version 2.11.4 or higher, do not need a activation from our side (of course, there is still support for that available if you need help with that).

Instead, you should use admin panel -> maintenance -> force mainpage. Once everything is fine, you can put in your cron something like

*/2 * * * * /usr/bin/wget http://www.yourdomain.com/tmanager/run.php

or, for freebsd (where wget isn't installed by default)

*/2 * * * * /usr/bin/fetch http://www.yourdomain.com/tmanager/run.php

anyhow, contact your sysadmin for this if not sure. Don't run run.php from cron with php CLI (command line interface) as your own user - the permissions are only tested with apache user.

Dichotomy
01-19-2005, 08:30 PM
in case your stats mess up because of server crash or because script is active and casting thumbs but you have 0 or close to that traffic, simply delete pstats.db and tempstats.db - this wont reset casting order.

also, those files might cause troubles after server crashes/ect if they become 0 size. this affects gal.db as well.

so in case somethin wierd happening, check if pstats.db, tempstats.db and gal.db are not 0 size.

Dichotomy
03-10-2005, 03:01 PM
sample configure outscript for TTT "c" version (tho I strongly advise you againts using it as it is rather lame abomination.... IMHO)

cgi-bin/ttt-out?f=1&pct=%%PERCENTAGE%%&url=%%URL%%