PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Free Registration From disabled submit button

s2Member Plugin. A Membership plugin for WordPress®.

Free Registration From disabled submit button

Postby mdelacruzperu » May 9th, 2011, 10:16 am

I created a Free Registration Form with the Pro Version of s2Member, I'm using the following code from a page:

[s2Member-Pro-PayPal-Form register="1" level="0" ccaps="" desc="Signup now, it's Free!" custom="www.mydomain.com" tp="0" tt="D" captcha="clean" /]

As instructions recommendation.

But when I go there I can't click the submit button, it's disabled. Any clue what could be happening?
User avatar
mdelacruzperu
Registered User
Registered User
 
Posts: 12
Joined: April 12, 2011

Re: Free Registration From disabled submit button

Postby Cristián Lávaque » May 9th, 2011, 10:19 am

Hola.

Have you enabled free registrations? WP Admin -> s2Member -> General Options -> Open Registration / Free Subscribers
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Free Registration From disabled submit button

Postby mdelacruzperu » May 9th, 2011, 10:21 am

Cristián, yes it is open Yes (Allow open registration...
User avatar
mdelacruzperu
Registered User
Registered User
 
Posts: 12
Joined: April 12, 2011

Re: Free Registration From disabled submit button

Postby Cristián Lávaque » May 9th, 2011, 11:17 am

OK. I tried your shortcode and it worked fine for me, the submit button is not disabled.

Can I see your page with the problem?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Free Registration From disabled submit button

Postby mdelacruzperu » May 9th, 2011, 11:59 am

I think it was working before, suddenly began to appear disabled, I will send you the page by private message.
User avatar
mdelacruzperu
Registered User
Registered User
 
Posts: 12
Joined: April 12, 2011

Re: Free Registration From disabled submit button

Postby Cristián Lávaque » May 9th, 2011, 12:09 pm

You can send it to using this form http://s2member.com/contact/
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Free Registration From disabled submit button

Postby mdelacruzperu » May 9th, 2011, 12:26 pm

Send it.
s2member is generating this code for the button:

<input type="submit" id="s2member-pro-paypal-registration-submit" class="s2member-pro-paypal-submit s2member-pro-paypal-registration-submit" value="Submit Form" tabindex="310" disabled="">

I'm not finding where he adds the disabled option I think it is managed through js line 147 at:
\wp-content\plugins\s2member-pro\includes\separates\gateways\paypal\paypal.js
User avatar
mdelacruzperu
Registered User
Registered User
 
Posts: 12
Joined: April 12, 2011

Re: Free Registration From disabled submit button

Postby mdelacruzperu » May 9th, 2011, 1:16 pm

I found the problem guys. In my theme functions.php file I'm using this option to update jquery to it's latest version:

Code: Select all
/** Load jQuery latest **/
if ( !is_admin() ) {
   wp_deregister_script('jquery');
   wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"), false);
   wp_enqueue_script('jquery');
}
 


That breaks s2member Free Registration Form javascript, any ideas how to deal with this?

It's possible for us to have troubles with s2member when Wordpress upgrades jQuery in any next release.
Last edited by Cristián Lávaque on May 9th, 2011, 7:08 pm, edited 1 time in total.
Reason: Improve code readability. http://www.primothemes.com/forums/viewtopic.php?f=36&t=2780
User avatar
mdelacruzperu
Registered User
Registered User
 
Posts: 12
Joined: April 12, 2011

Re: Free Registration From disabled submit button

Postby Cristián Lávaque » May 9th, 2011, 1:34 pm

I'm glad you found the problem. :)

I'll let Jason know of this conflict so he prevents future conflicts if possible.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Free Registration From disabled submit button

Postby mdelacruzperu » May 9th, 2011, 3:30 pm

Cristián thank you for your amazing support as always you do
User avatar
mdelacruzperu
Registered User
Registered User
 
Posts: 12
Joined: April 12, 2011

Re: Free Registration From disabled submit button

Postby Jason Caldwell » May 10th, 2011, 7:53 pm

Thanks for reporting this important issue.
~ and thanks for bringing this to my attention Cristián.

The construction of this link is designed to pull the latest release of jQuery in the 1.x.x series. Although this is a very cool feature provided by the Google API; with WordPress and WordPress plugins ( including s2Member ), we expect to see the version of jQuery that was shipped with WordPress, or at least a version within the same series.

So for instance, this URL you have now pulls jQuery v1.6
( jQuery v1.6 is bleeding edge, and could raise conflicts with plugins running on WP v3.1 ).
Code: Select all
http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js

If you're going to employ a script like this, I would suggest this alternative, and then update the minor release number to match what WordPress ships with.
Code: Select all
http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js

( this will pull jQuery v1.4.4, the latest in the 1.4 series )

WordPress v3.1 ships with jQuery v1.4.4.


In either case, I thank you VERY much for reporting this important issue, and we'll be sure to test s2Member against the latest version of jQuery before the next release.

@TODO: test against jQuery v1.5.x and jQuery v1.6.x.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Free Registration From disabled submit button

Postby mdelacruzperu » May 11th, 2011, 5:49 pm

Jason nice to meet you and thank you for you replying this post, I'm really happy with your entire support team.
User avatar
mdelacruzperu
Registered User
Registered User
 
Posts: 12
Joined: April 12, 2011

Re: Free Registration From disabled submit button

Postby Jason Caldwell » May 13th, 2011, 3:05 am

Nice to meet you too ( @mdelacruzperu ).
Thanks for the kudos! It's really great to hear that :D
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 1 guest

cron