Script Pulse
Trade Pulse => Trade Pulse Support => Topic started by: donedeal on July 03, 2010, 12:56:22 PM
-
Hello, have tp installed on a tube domain, wanted to ask how to get the <?php virtual("/tp/ssi_in.php")?> code to parse,
ive tried it in the header and when it parses the templates it just shows in the final source code same as the above code (unparsed)
I read in the smart thumbs forum that some people over here have a way to do it
also need to make sure the toplist will parse, and if anyone knows where i would put the tp out code for the thumbs....
So any tips to get this going would be great, thanks
-
Hi, for php include to work you need to use SMARTY code like this:
{include_php file="/full/path/to/tp/ssi_in.php"}
Regarding out.php you need to modify stp templates and add prefix on all thumbnails where you wanna skim traffic!
-
could you give me an example of the syntax for adding to thumbs?
-
No I can't since I don't know how code looks, I just know you need to add /tp/out.php?url= on start of href part :)
-
thanks ill give that a go :)