Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Troubleshooting › WP Affiliate Platform – On Page Log-in Button Doesn't Function
Tagged: on page login button
- This topic has 4 replies, 2 voices, and was last updated 12 years, 6 months ago by ghofbauer.
-
AuthorPosts
-
June 20, 2012 at 6:43 pm #6621ghofbauerMember
Hello,
I’ve followed the directions I’ve found on this site (http://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/) and tried to verify that my WP theme is “coded correctly” (it was a paid template). I did find that when I reverted my theme back to the Twenty-Eleven, the button does work so it seems to be something with my theme itself. I’ve tried disabling various jquery classes, all of my plugins systematically, etc. but nothing seems to resolve the issue. I’d really like to use the on page option because my CSS is complicated and would take a great deal of effort to apply to the stand-alone portal.
If possible, could you take a look at this page and see if you see anything that jumps out as the culprit: http://www.nimblepitch.com/referrals/
Also, registration function works like a charm. It’s just the log-in. Also, if I log in via the stand-alone portal and then navigate back to this section, all of the other affiliate section pages work find too.
Thanks in advance!
June 21, 2012 at 6:06 am #46299adminKeymasterThere seems to be some paragraph tags inside the validation JavaScript trigger code. Not sure how that is happening but try the following:
1) Edit the WordPress page where you have the following shortcode:
[wp_affiliate_view]
2) Go into the HTML view of this page and make sure there is nothing in this page except that shortcode itself (remove any empty space or any other hidden HTML tags).
3) Save the page and check it again.
June 21, 2012 at 4:10 pm #46300ghofbauerMemberThanks for the immediate response but unfortunately that did not resolve the issue.
I removed the extra code on the page and I think I removed the <p> you were talking about….what line # are we looking at? For some reason my WP installation seems to insert <p> wherever there are extra line breaks.
Other thoughts?
June 22, 2012 at 12:24 am #46301adminKeymasterIt also seems to be converting the “>” characters into its HTML equivalent (that is not good when it is inside a script). Not sure if this is the work of another plugin. Anyway, lets try the following and see how it goes.
Please do the following:
1) Open the “wp-affiliate-platform/views/login_view.php” file and search for the following block of code:
<script type="text/javascript">
/* <![CDATA[ */
jQuery(document).ready(function($){
$("#logForm").validate();
});
/*]]>*/
</script>Once you find it, just delete that code.
2) Save this file and then test out the login.
June 22, 2012 at 1:34 pm #46302ghofbauerMemberJackpot! Worked like a charm. Thanks again for your personalized assistance.
-
AuthorPosts
- You must be logged in to reply to this topic.