GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How do you use slothtrader with images? (https://gfy.com/showthread.php?t=995865)

Si 11-03-2010 02:54 PM

How do you use slothtrader with images?
 
Posted this in the traffic trade forum, but will probably be easier here.

Obviously I can do it manually, but how would I set-up a template to do this automatically?

I don't want to worry about changing banners etc (I have generic banners I made to use already), I just want to link to the top 3 trades via some images.

E.G.

<a href="sloth_out.php?trade=domain.com"><img src="image"></a>
<a href="tradeposition2"><img src="image2"></a>
<a href="tradeposition3"><img src="image3"></a>

What's the easiest/best way to do it? so that it uses the top 3 sites?

Probably a dumb question, but don't ask don't learn :)

Thanks for any suggestions :thumbsup

Si 11-03-2010 04:22 PM

Any idea for the best way to do it?

BIGTYMER 11-03-2010 04:39 PM

Dunno. I haven't used it in years but heres a bump for you. :)

Si 11-03-2010 04:44 PM

Quote:

Originally Posted by BIGTYMER (Post 17669087)
Dunno. I haven't used it in years but heres a bump for you. :)

Thanks for the bump :thumbsup

I'm just trying it out on a few blogs to see how it goes. Mostly trading with my own sites so not to worried about this. But it would be a bonus if I can get something set-up.

signupdamnit 11-03-2010 04:49 PM

Hmm. I've never used Slothtrader before and I checked the docs quickly for you and I don't see any mention of that feature.

http://www.slothtrader.com/help/siteconfig.html

I know tradepulse can do it for example like so:

Code:

<a href="/tp/out.php?to=%%DOMAIN1%%&link=top"><img src="%%THUMB1-1-1%%"></a>
TP grabs the thumb and then assigns it to be used in this way (%%THUMB1-1-1%%). Maybe slothtrader has no such mechanism built in? I think Rowan from ADX wrote Slothtrader so maybe ask him.

I'd imagine that you could do this on your own by writing code (if the script is open do it within, if not you'd have to do it in this way as external code) to parse the text toplist generated by slothtrader, then to grab thumbs, then to rewrite the new toplist with the thumbs, perhaps called by cron but that would be messy and a lot of work. It would probably be easier just to use Trade Pulse.

Good luck.

fris 11-03-2010 04:51 PM

use their template system, check out the template dir

Si 11-03-2010 05:00 PM

The site config link should be useful. going to try and use the %DOMAINx% or %URLx% code and see if that will link to pics.

Fris, couldn't find a template dir anywhere do you have a URL for it?

fris 11-03-2010 08:10 PM

it should be the only sub dir thats included in the install. has examples of the templates.

Si 11-04-2010 07:14 AM

Quote:

Originally Posted by fris (Post 17669610)
it should be the only sub dir thats included in the install. has examples of the templates.

I know where that is :thumbsup thought you meant there was a directory on the site with different templates you could copy/paste or whatever.

Anyway I got it working :)

Here's how (incase anyone else wants to, but don't know how like me)

1. Go to sloth_toplist directory
2. Create a new .tpl file e.g. toplist3.tpl
3. Use the code below or similar

Code:

<a href="%URL1%"><img src="/banner1.png"></a>
4. make sure you add "toplist3" in the sloth_admin.php otherwise it won't work

And you will have banners linked to your trade partners :thumbsup


All times are GMT -7. The time now is 03:14 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123