Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
02-15-2015, 02:45 PM | #1 |
Registered User
Industry Role:
Join Date: Dec 2014
Posts: 4
|
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. |
02-15-2015, 09:53 PM | #2 |
♦ Web Developer ♦
Industry Role:
Join Date: May 2005
Location: Full-Stack Developer
Posts: 12,467
|
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); ?> |
02-16-2015, 06:44 AM | #3 |
Confirmed User
Industry Role:
Join Date: Feb 2015
Posts: 203
|
You can get info at forum on their site (Trade Pulse).
|
02-16-2015, 10:25 AM | #4 | |||
Registered User
Industry Role:
Join Date: Dec 2014
Posts: 4
|
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:
|
|||
02-16-2015, 10:06 PM | #5 | |
Registered User
Industry Role:
Join Date: Jan 2015
Posts: 50
|
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>
__________________
☆☆☆ WebDesign Rockstar ☆☆☆ |
|