P.S. That error was in the datepicker/jquery.bgiframe.js file. Additional errors on jquery.datePicker.js
Have you found a solution to this yet?
I just installed this (Register Plus) plugin, and am getting a javascript error on the registration page. It’s only a big deal b/c I need other JS to run on the page on page load.
userSettings is not defined
http://[site-name]/wp-admin/js/common.js?ver=20080318
Line 128
I have disabled all other plugins as well in the troubleshooting effort.
I’m using WP 2.7. Thanks in advance!
(Quote what bigdawggi said)
The javascript error is caused by the script not printing the “http://[site-name]/” part of the url in it’s call for the “common.js?ver=20080318” script file.
<script type=’text/javascript’ src=’wp-admin/js/common.js?ver=20080318′></script>
VS.
<script type=’text/javascript’ src=’http://siteurl.com/wp-admin/js/common.js?ver=20080318′></script>
You can fix this error using my fix here:
http://wordpress.org/support/topic/274602
musicmasteria mate, I just run your fix and still i have the same errors…any other ideas?
I just did a fresh install of Register Plus and found the same issue w/ the Javascript error.
The problem is that if you don’t select the box for “Allow New Registrations to set their own Password”, it won’t output the correct jQuery include. You can fix this by moving line 1317 to line 1379:
<script type=’text/javascript’ src='<?php trailingslashit(get_option(‘siteurl’));?>wp-includes/js/jquery/jquery.js?ver=1.2.3′></script>
Secondarily, I noticed that the custom Registration CSS wasn’t showing up on the page. Turns out this is because this code will only show if you have chosen a custom logo. It can be fixed by moving lines 1550 and 1551 to line 1508 and 1509 right before the end < /style > tag.
<?php if( $regplus[‘register_css’] && $_GET[‘action’] == ‘register’) echo $regplus[‘register_css’];
else if( $regplus[‘login_css’] ) echo $regplus[‘login_css’]; ?></style>