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™

wp-includes/js/l10n.js

s2Member Plugin. A Membership plugin for WordPress®.

wp-includes/js/l10n.js

Postby drbyte » September 26th, 2011, 2:59 am

Hi Cris

I know those 2 files belongs to WP...Is S2m utilizing them too? Asking because they were not in the header before

wp-includes/js/l10n.js
wp-includes/js/jquery/jquery.js

Sam

Note sure but they are gone :?: Interesting

Thanks
User avatar
drbyte
Experienced User
Experienced User
 
Posts: 269
Joined: May 6, 2010

Re: wp-includes/js/l10n.js

Postby Jason Caldwell » October 1st, 2011, 9:02 pm

Hi Sam. Yes, the l10n.js file and the jquery.js file are both dependencies.

l10n.js is VERY small, just a couple lines, which includes support for internationalization, and the jquery.js file is the jQuery framework, used by WordPress itself, and many other plugins. So loading jQuery happens automatically, as WordPress is instructed to do so, through the wp_enqueue_script() function. See: http://codex.wordpress.org/Function_Ref ... eue_script
~ 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: wp-includes/js/l10n.js

Postby drbyte » October 3rd, 2011, 11:27 pm

Thank you.

I am seeing a small problem with the password strength indicator in the registration page. It does not seems to work. It works fine when I try to modify my info but not on the registration page.

I have those loaded:

Code: Select all
/wp-content/plugins/s2member/s2member-o.php?ws_plugin__s2member_css


Code: Select all
/wp-content/plugins/s2member/s2member-o.php?ws_plugin__s2member_js_w_globals


Code: Select all
<script type='text/javascript'>
/* <![CDATA[ */
var pwsL10n = {
   empty: "Strength indicator",
   short: "Very weak",
   bad: "Weak",
   good: "Medium",
   strong: "Strong",
   mismatch: "Mismatch"
};
try{convertEntities(pwsL10n);}catch(e){};
/* ]]> */
</script>


I do have W3 Total Cache installed but not having any registration problems with new members. The registration goes fine..it's just password strength indicator somehow is disabled.

Sam
User avatar
drbyte
Experienced User
Experienced User
 
Posts: 269
Joined: May 6, 2010

Re: wp-includes/js/l10n.js

Postby Jason Caldwell » October 7th, 2011, 7:29 pm

Thanks for the follow-up.

Hmm, I tested this again just now in s2Member v111003 and it seems to be working. If this problem continues for you, can you please open your registration page in Firefox and go up to Web Developer -> Error Console. Please post a copy of any script errors that you have on your registration page. Also, are there any other plugins running that might be affecting your registration form in some way? ( i.e. a possible conflict? )

SNAG-0020.png
SNAG-0020.png (12.38 KiB) Viewed 380 times



Anyone else having this problem?
~ 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: wp-includes/js/l10n.js

Postby drbyte » October 8th, 2011, 2:24 am

Hi Jason

Here are the errors:

server does not support RFC 5746, see CVE-2009-3555

Warning: Unknown property 'font-color'. Declaration dropped.
Source File: /wp-content/plugins/s2member/s2member-o.php?ws_plugin__s2member_css=1&qcABC=1&ver=111003-111003-1154855617
Line: 1

Warning: Expected 'important' but found 'ie'. Expected ';' or '}' to terminate declaration but found 'ie'. Declaration dropped.
Source File: /wp-content/plugins/s2member/s2member-o.php?ws_plugin__s2member_css=1&qcABC=1&ver=111003-111003-1154855617
Line: 1

Warning: Unknown property 'box-sizing'. Declaration dropped.
Source File: /wp-content/plugins/s2member/s2member-o.php?ws_plugin__s2member_css=1&qcABC=1&ver=111003-111003-1154855617
Line: 1

It's not working on the registration page but working on when modifying the user profile.

I have these plugins

All in One SEO Pack
Fast Secure Contact Form
Google XML Sitemaps
s2Member/Pro
W3 Total Cache
WP-PageNavi

Thank you
User avatar
drbyte
Experienced User
Experienced User
 
Posts: 269
Joined: May 6, 2010

Re: wp-includes/js/l10n.js

Postby Jason Caldwell » October 8th, 2011, 2:59 pm

Thanks for the follow-up Sam.
OK, all of those are harmless warnings related to cross-browser considerations. Very common. Hmm, your other plugins look fine too. Can you please email us a link to the registration form so we can see this in action. Either post it here, that's fine, or send it via this contact form:
http://www.s2member.com/contact/
~ 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: wp-includes/js/l10n.js

Postby drbyte » October 10th, 2011, 11:26 am

Hi Jason

It's all OK now. It was simply a jquery conflict! I had <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> on the footer.

I added a custom footer to the registration page to avoid the conflict. Lazy Sam :D

Thank you
User avatar
drbyte
Experienced User
Experienced User
 
Posts: 269
Joined: May 6, 2010

Re: wp-includes/js/l10n.js

Postby Jason Caldwell » October 12th, 2011, 12:09 pm

Ah, thank you VERY much for reporting back on this Sam.
~ Much appreciated.
~ 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: No registered users and 2 guests

cron