Script Pulse
Trade Pulse => Trade Pulse Support => Topic started by: bbhrucy79 on June 08, 2011, 09:30:00 AM
-
what is the trade pulse link syntax to be used in the TGPX click.php file?
I want trade pulse to manage the skim from the admin. panel so I don't want to use the p parameter in the link.
So how would the above link syntax look like in the TGPX click.php environment?
Also: please confirm, TP uses ENCODED links, correct?
-
Hi I dont know how to answer this since I dont know how tgpx works I never used it personally. Basically all outgoing info about TP is here: http://scriptpulse.com/tp/manual/outgoing-links.php
About encoded YES you can use them!
-
ah, ok, thanks I sorted this out.
Just for future reference in case someone is interested, this is the syntax you want to use with TGPX/TP combo:
// The template for your traffic trading script URL
// If you are not using a traffic trading script, do not change this value
$TEMPLATE = 'http://www.yourdomain.com/tp/out.php?link=gal&url={$gallery_url}';
;)
-
glad to see it solved.
-
this should be inside your click.php:
$TEMPLATE = 'http://www.yoursite.com/tp/out.php?link=gal&url={$gallery_url}';
I manage skim from trade pulse not from the template.
hth
-
<a href="/tgpx/click.php?id={$gallery.gallery_id|urlencode}&l={$gallery.category|urlencode}&u={$gallery.gallery_url|urlencode}"><img width="180" height="270" src="{$gallery.preview_url|htmlspecialchars}" border="0" alt="Thumb"/></a>
and this is in the template
-
of course change the image dimensions to the size of your thumbs