![]() |
Wordpress + trading script question
Hi there,
can anyone tell me how to make Wordpress and a trading script (Pulse Trade or ATC) work together? I can enable incoming hits counting easily but i dont know how to control outgoing traffic..Thx. |
Change templates...
Where it has <?php the_permalink(); ?> , you should probably have something like: your-trade-script/out.php?url=<?php echo get_permalink($post->ID); ?> |
You can get info at forum on their site (Trade Pulse).
|
Thx. for replies!
AbsolutePorn wrote: Quote:
Other than that i tried to change permalinks in WP Settings and it works to some degree. I just can't specify gallery link because it seems to fail read double slash "//" which is needed in the script link "cgi-bin/atc/out.cgi?s=60&u=http (gallery)" AdultSites wrote: Quote:
Quote:
|
Quote:
Modifying that last code, you can place additional classes to the <a> tag so that only a's with a class you specified will the only ones targeted by jquery. so your link should be <a class="tracker" href="your outgoing link here">thumbnail</a> <script> jQuery(document).ready(function(){ jQuery("a.tracker").click(function(){ url=jQuery(this).attr('href'); jQuery(this).attr('href','/tp/out.php?p=100&link=click&url=' + escape(url)); }); }); </script> |
All times are GMT -7. The time now is 07:15 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc