Need Help – Adult Trade Script

Home Forums Newbie Helpdesk Need Help – Adult Trade Script

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5545 Reply
    maxcasher
    Guest

    i have a problem with trade script. Im using an adult script pulse, wordpress and wpxtube plugin and there is support of trade script integrated but it was not easy to setup for me. Anyway it seems it woorks now, but i had to use script

    <script>
    jQuery(document).ready(function(){
    jQuery(“a”).click(function(){
    url=jQuery(this).attr(‘href’);
    jQuery(this).attr(‘href’,’/tp/out.php?p=60&link=click&url=’ + escape(url));
    });
    });
    </script>

    but the problem is, that this script is carring about all links on my porn website and sometimes it will shoot trade site for content what i dont want to. For example – sometimes when i click on the logo im redirect to trade site in some window and the some problem is with page navigation. The permalink looks like a normal link “mysite.com/?paged=2” but sometimes it will redirect me like a mysite.com/tp/out.php?…k.com/?paged=2

    does anyone have a idea how to fix that and exclude infrastructure links from the trades?

    #5546 Reply
    maxcasher
    Guest

    solved.

    #5547 Reply
    Brad
    Guest

    Please post the solution as it may help someone else in the future

    I’m guessing it was this past? jQuery(this).attr(‘href’);

    I’m not that familiar with JQuery but from what little I do know the above is going to search the document for all href attributes (meaning all links). If you want it instead to only search for a specific link it’s usually done by assigning a class to that attribute and modifying the JQuery code to only search the document for attributes with that particular class.

    #5548 Reply
    maxcasher
    Guest

    well, solution was simple. I stop using jQuery and also Script pulse. I switch trade script to TE3 and its much better and I just changed the source code for each post by editing permalink format and i dont have a problem with unwanted traffic trades anymore.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Need Help – Adult Trade Script
Your information: