Adult Script Pro Community Forums

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.

#1 2012-08-13 18:55:15

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

How To Use Tradescript

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

#2 2012-08-13 23:38:58

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: How To Use Tradescript

What script are you using? I hear ATX is the best..

Offline

#3 2012-08-13 23:55:30

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How To Use Tradescript

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

#4 2012-08-14 23:01:59

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: How To Use Tradescript

Just checked it out, will have to play around with it

Offline

#5 2012-08-16 14:27:37

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How To Use Tradescript

Any suggestion on how to achieve this with ASPro?

Offline

#6 2012-08-17 19:20:33

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: How To Use Tradescript

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

#7 2012-08-18 16:51:19

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: How To Use Tradescript

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

#8 2012-08-30 16:48:53

mmpo
Member
Registered: 2012-01-23
Posts: 240
Website

Re: How To Use Tradescript

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

#9 2012-08-30 23:16:31

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: How To Use Tradescript

you are not using php in the url.

show me what the url is supposed to look like

Offline

Board footer

Powered by FluxBB