Page Index Toggle Pages: 1
Topic Tools
Normal Topic Extended Profiles date issues (Read 136 times)
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,434
Location: Earth

YaBB 2.6.1
Extended Profiles date issues
Aug 15th, 2012 at 1:47am
Post Tools
The date section of Extended Profiles doesn't go through data validation or save the input. (Thus generating an error in Register2 when the field is required on registration.)

the fix:
in ./Sources/ExtendedProfiles.pl find
Code
Select All
		if ($key =~ /^ext_(\d+)$/) { 


replace with
Code
Select All
		if ($key =~ /^ext_(\d+)/) { 



regexes are temperamental things  Wink

The lower code is from the original mod by Michael Prager
« Last Edit: Aug 15th, 2012 at 1:50am 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,434
Location: Earth

YaBB 2.6.1
Re: Extended Profiles date issues
Reply #1 - Nov 6th, 2012 at 9:33pm
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