Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Missing register button and Login button does nothing??
Avatar
Simon Coxshaw
Member
Free Members
sp_UserOfflineSmall Offline
Jun 8, 2012 - 7:37 am

Ok, finally found the following after reading through another thread https://simple-press.com/suppo.....-3/ Scott Scwab had a similar issue...

function skyali_load_scripts(){
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', ''.get_template_directory_uri().'/scripts/js/jquery.min.js', 'jquery');
wp_enqueue_script( 'jquery' );

wp_register_script('jqueryui', ''.get_template_directory_uri().'/scripts/js/jquery-ui.min.js', 'jquery');
wp_enqueue_script( 'jqueryui' );

Do you think I just need to amend these to have the full path to the wordpress files?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 8, 2012 - 8:24 am

This should do it - commenting out the following lines of code:

//wp_deregister_script('jquery');
//wp_register_script('jquery', ''.get_template_directory_uri().'/scripts/js/jquery.min.js', 'jquery');
wp_enqueue_script( 'jquery' );

//wp_register_script('jqueryui', ''.get_template_directory_uri().'/scripts/js/jquery-ui.min.js', 'jquery');
wp_enqueue_script( 'jqueryui' );

See if that helps.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Simon Coxshaw
Member
Free Members
sp_UserOfflineSmall Offline
Jun 8, 2012 - 8:25 am

Guys, thanks for your help, I have used Mr Papas suggestion in this post https://simple-press.com/suppo.....ge-2/ and it has worked like a dream!

Thanks again guys! I can now get on...

Avatar
Simon Coxshaw
Member
Free Members
sp_UserOfflineSmall Offline
Jun 8, 2012 - 8:27 am

Thx Yellow, that's exactly what i did and everything is looking rosy!

Avatar
Simon Coxshaw
Member
Free Members
sp_UserOfflineSmall Offline
Jun 8, 2012 - 8:30 am

While I have you online Yellow... Is it possible to remove the RSS buttons?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jun 8, 2012 - 8:43 am

Simplest way is forum admin > Forums > Global RSS settings - deactivate feeds

andy-signature.png
YELLOW
SWORDFISH
Avatar
Simon Coxshaw
Member
Free Members
sp_UserOfflineSmall Offline
Jun 8, 2012 - 8:46 am

Great, I will give it a try.

Avatar
Simon Coxshaw
Member
Free Members
sp_UserOfflineSmall Offline
Jun 8, 2012 - 9:01 am

Ouch! I was a bit premature with my celebrations...

Commenting out the code you suggested works on my local version - both the simple press login buttons and add topic now work and the animation on the homepage. 

Unfortunately on my live development version the simple press login buttons and add topic now work but the other areas across the site that use jquery now don't work for example the animated images on the home page.

http://www.silverhairs.com/dev/

user: 5ilver
pass: hair5

Anything else I might have missed? 

Avatar
Simon Coxshaw
Member
Free Members
sp_UserOfflineSmall Offline
Jun 8, 2012 - 9:10 am

I have also now disabled all RSS feeds but the button remains! Not my day today it seems.

Avatar
Simon Coxshaw
Member
Free Members
sp_UserOfflineSmall Offline
Jun 8, 2012 - 9:22 am

OK the jquery noconflict has sorted my issue with the homepage animation breaking, now searching the site for anymore nasty $...

Geting there...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626