Page Index Toggle Pages: 1
Topic Tools
Normal Topic Password reminder issues (Read 884 times)
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,374
Location: Earth

YaBB 2.6.1
Password reminder issues
Sep 10th, 2012 at 8:13pm
Post Tools
Password (2.5AE) 'reminder/reset' throws an error with display names with spaces.

The fix, before I forget.
In LogInOutpl find:
Code
Select All
		$test_id = &MemberIndex("who_is", $user); 


and replace with
Code
Select All
		$test_id = &MemberIndex("who_is", $FORM{'user'}); 



$user (the login) has already had the spaces taken out, so of course there isn't a match with the display name if it has spaces.

« Last Edit: Sep 10th, 2012 at 8:14pm by Dandello »  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,374
Location: Earth

YaBB 2.6.1
Re: Password reminder issues
Reply #1 - Nov 6th, 2012 at 9:31pm
Post Tools
This Topic was moved here from YaBB 2 - Bugs [Need Verification] [move by] Dandello.
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top