The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
Hello, i'm thinking about using a tradescript in my site.
The tradescript is asking me to have this added to my urls: /scj/cgi/out.php?url=#url#&p=#skim#
I would have to have this at every thumb in the site to send, laet's say, 50 % of clicks to trade and 50 % to video.
So, how do i do this?
Is it possible to achieve this with ASPro?
Thanks in advance.
Last edited by mmpo (2012-08-13 18:56:18)
Offline
What script are you using? I hear ATX is the best..
Offline
By far smartcj is the best. For a huge difference.
I use it in my tgp sites, but i don't know how to implement it with ASPro
Offline
Just checked it out, will have to play around with it
Offline
Offline
you would have to go into the template.tpl file where store the out.php at the end of the current link...
if ya know which file it would be it would be pretty easy.
Offline
I found the files while messing around lastnight with ASP's template files
frontpage.tpl.php -- two sections here depending on if you have watching now or not..otherwise just one section
video_browse.tpl.php
look for a div with an id of video
obviously you want your out.php appended to the end of the
<a href= sections
foreach ($this->videos as $video): ?>
<div id="video-<?php echo $video['video_id']; ?>" class="video">
<a href="<?php echo RELATIVE_URL,'/',$video['video_id'],'/',$video['slug'],'/" title="',e($video['title']); ?>">
<img src="<?php echo THUMB_URL,'/',path($video['video_id']),'/',$video['thumb'],'.jpg" alt="',e($video['title']),'" id="preview-video-',$video['video_id'],'-',$video['thumb'],'-',$video['thumbs']; ?>" /><br />
<h5><?php echo e(VText::truncate_chars($video['title'], 50)); ?></h5>
<?php if ($video['ext'] == 'mp4'): ?><img src="<?php echo TPL_REL; ?>/images/hd.png" class="watermark" alt="" /><?php endif; ?>
<?php if ($video['premium'] == '1'): ?><span class="watermark transparent">Premium</span><?php endif; ?>
</a>
<!--<span class="duration"><?php //echo VDate::duration($video['duration']); ?></span> !-->
<div class="rating_bar"><div style="width:<?php echo round($video['rating']*20); ?>%"></div></div>
<span class="timeline clear"><?php echo VDate::nice($video['add_time']); ?></span>
<span class="views"><?php echo $video['total_views'],' '; if ($video['total_views'] != '1'): echo __('views'); else: echo __('view'); endif; ?></span>
<div class="clear"></div>
</div>
Offline
The thing is the guy that makes the tradescript says can't use php in the url, has to be the real url of the video...
Can't find the way to do it.
Offline
you are not using php in the url.
show me what the url is supposed to look like
Offline
Pages: 1