Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-02-10, 09:12 PM   #1
tortus32
A little nonsense, now and then, is relished by the wisest men
 
tortus32's Avatar
 
Join Date: Jan 2005
Location: Montague, NJ
Posts: 628
Send a message via ICQ to tortus32 Send a message via AIM to tortus32 Send a message via Yahoo to tortus32
Toplists in TTT C ?

Hi,

Can any post some HTML of what a toplists.tpl should look like?

I'm just trying to figure out what I'm supposed to do with what they give you:

##sitedomain1##
Site domain of the trade number 1
##sitename1##
Site name of the trade number 1
##link1##
Site name link to the trade number 1
##in1##
Hits in from the trade number 1
##out1##
Hits out to the trade number 1

So if I could just see what the template code is supposed to look like, I can figure out what I would need to change for it to work on my TGP.

Thanks,

Bill
tortus32 is offline   Reply With Quote
Old 2005-02-11, 04:24 AM   #2
Fonz
Former pr0n slinger.
 
Fonz's Avatar
 
Join Date: Aug 2003
Location: Antwerp, Belgium
Posts: 7,929
In your toplist creation window you can choose from 3 default templates.
These templates can be found in your "ttt_toplist" dir on your server.
If you take a look at them with your html editor you'll see taht the variables that you stated above are implented in this code.
You can creat your own template so the layoput will fit your needs and add it to the "ttt_toplist" dir on your server.

Everything is explained at the bottom of that window that pops up if you click "Toplist" in your TTT admin. You just got toplay around with it for a while.
__________________
See how I abuse little trees on my Shumi no Bonsai Blog
Fonz is offline   Reply With Quote
Old 2005-02-11, 06:01 AM   #3
tortus32
A little nonsense, now and then, is relished by the wisest men
 
tortus32's Avatar
 
Join Date: Jan 2005
Location: Montague, NJ
Posts: 628
Send a message via ICQ to tortus32 Send a message via AIM to tortus32 Send a message via Yahoo to tortus32
The little page I get doesn't explain much at all.


I don't see anything where it lets me choose a template in that window. Is there another thing I'm supposed to click to get a window that will create the templates?

I try clicking the "Regenerate Templates" button and I get an error:
"Can't open a directory with toplist's templates 'http://footfetishdepot.com/toplists.tpl/': No such file or directory"

The thing is that there is a directory there. You can click it and see it:
http://footfetishdepot.com/toplists.tpl/

Before, I didn't have any template files on my server. I went and downloaded the script again and this time I found them and there's actually 4 of them. I guess I tossed them the first time as the installation instructions don't even mention them at all.

They all have just about the same code repeated in them like this:

<tr>
<td width="70%"><font size="3">1. ##link1##</font></td>
<td width="15%" align="center"><font size="3">##in1##</font></td>
<td width="15%" align="center"><font size="3">##out1##</font></td>
</tr>

I don't see...
##sitedomain1##
##sitename1##
...anywhere in any of the templates.

I'm so lost it aint funny, but I'm still laughing for some reason - lol!

Bill

Last edited by tortus32; 2005-02-11 at 06:12 AM..
tortus32 is offline   Reply With Quote
Old 2005-02-11, 07:49 AM   #4
Fonz
Former pr0n slinger.
 
Fonz's Avatar
 
Join Date: Aug 2003
Location: Antwerp, Belgium
Posts: 7,929
You can add
##sitedomain1##
##sitename1##
to that template if you want, it will just show some extra data in your output form

pe.

<tr>
<td width="35%"><font size="3">1. ##link1##</font></td>
<td width="35%"><font size="3">##sitedomain1##</font></td>
<td width="15%" align="center"><font size="3">##in1##</font></td>
<td width="15%" align="center"><font size="3">##out1##</font></td>
</tr>

will give you an output like this:

1. Smilin Pussy TGP | smilinpussy.com | 30 hits in | 45 hits out

--------------------------------------------
while this template
<tr>
<td width="70%"><font size="3">1. ##link1##</font></td>
<td width="15%" align="center"><font size="3">##in1##</font></td>
<td width="15%" align="center"><font size="3">##out1##</font></td>
</tr>

will show you this output:

1. Smilin Pussy TGP | 30 hits in | 45 hits out

So you can make your own template and upload it to http://footfetishdepot.com/toplists.tpl/

Please let me know what else there is you want to know
__________________
See how I abuse little trees on my Shumi no Bonsai Blog
Fonz is offline   Reply With Quote
Old 2005-02-11, 08:28 AM   #5
tortus32
A little nonsense, now and then, is relished by the wisest men
 
tortus32's Avatar
 
Join Date: Jan 2005
Location: Montague, NJ
Posts: 628
Send a message via ICQ to tortus32 Send a message via AIM to tortus32 Send a message via Yahoo to tortus32
Ok, I did that and I uploaded the templates to that directory, as you can see if you click: http://footfetishdepot.com/toplists.tpl/

Now, when I go to my TTT control panel, click on "Toplist" all I get is this window:


When I click the "Regenerate toplists" button, it gives me this error:
"Can't open a directory with toplist's templates 'http://www.footfetishdepot.com/toplists.tpl/': No such file or directory"

Why can't it see that directory? It's there!! The templates are there too!
I even checked my TTT settings and I have the exact URL's in the Toplist paths section.

What am I doing wrong here?

Thanks,

Bill

Last edited by tortus32; 2005-02-11 at 08:30 AM.. Reason: typ-o
tortus32 is offline   Reply With Quote
Old 2005-02-11, 08:44 AM   #6
tortus32
A little nonsense, now and then, is relished by the wisest men
 
tortus32's Avatar
 
Join Date: Jan 2005
Location: Montague, NJ
Posts: 628
Send a message via ICQ to tortus32 Send a message via AIM to tortus32 Send a message via Yahoo to tortus32
Ok, I figured it out!

In my settings, I had entered http://footfetishdepot.com/toplists.tpl/ as the path to the templates. I tried changing that to just ../toplists.tpl/ and it worked!

Geeze! All this headache and all I had to do was change a simple little thing - LOL!

Thanks,

Bill
tortus32 is offline   Reply With Quote
Old 2005-02-11, 09:11 AM   #7
Fonz
Former pr0n slinger.
 
Fonz's Avatar
 
Join Date: Aug 2003
Location: Antwerp, Belgium
Posts: 7,929
It's always something small 99% of the time, but when you've figured it out you feel like you're on top of the world
__________________
See how I abuse little trees on my Shumi no Bonsai Blog
Fonz is offline   Reply With Quote
Old 2005-02-11, 11:36 AM   #8
tortus32
A little nonsense, now and then, is relished by the wisest men
 
tortus32's Avatar
 
Join Date: Jan 2005
Location: Montague, NJ
Posts: 628
Send a message via ICQ to tortus32 Send a message via AIM to tortus32 Send a message via Yahoo to tortus32
That's so true. I was so happy that I yelled out and scared the crap out of my dog - I had to let him outside to pee after that - LOL!

Thanks for your patience with this newbie!

Bill
tortus32 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:48 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc