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
Saving profile not working
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 26, 2017 - 1:21 pm

ah, the 'trick' for recreating seems to be changing the password...  then I can recreate...  this might be because nonces are no longer valid with a password change which may affect a user cookie... just a guess...   but now we can recreate and can investigate further...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 26, 2017 - 4:04 pm

so I can give you an easy fix for this...

find the file simple-press/forum/profile/forms/sp-form-accounts.php and edit it...  around line 20 find this code:

if (response.type == 'success') {
     spjDisplayNotification(0, response.message);
} else {

and change it to

if (response.type == 'success') {
     spjDisplayNotification(0, response.message); 
     window.location.reload();
} else {

this will force the profile page to reload when saving account settings since the wp nonces wont be valid after a user update with new passwords..

Avatar
Mike Miler
Member
sp_UserOfflineSmall Offline
Aug 29, 2017 - 5:23 am

Great! That works. Thank you very much!

Will it still work after the next update? 🙂

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 29, 2017 - 8:34 am

Absolutely - the fix will be in the next release...
Thanks for the confirmation.

andy-signature.png
YELLOW
SWORDFISH
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: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625