Script Pulse

Trade Pulse => Trade Pulse Support => Topic started by: donedeal on July 03, 2010, 12:56:22 PM

Title: Smart Tube Pro
Post 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

Title: Re: Smart Tube Pro
Post by: ip0li on July 04, 2010, 12:28:19 AM
Hi, for php include to work you need to use SMARTY code like this:
Code: [Select]
{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!
Title: Re: Smart Tube Pro
Post by: donedeal on July 04, 2010, 10:55:42 AM
could you give me an example of the syntax for adding to thumbs?
Title: Re: Smart Tube Pro
Post by: ip0li on July 04, 2010, 02:44:07 PM
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 :)
Title: Re: Smart Tube Pro
Post by: donedeal on July 04, 2010, 08:24:55 PM
thanks ill give that a go :)