Not logged in. · Lost password · Register
Forum: Support Bug reports and troubleshooting RSS
Bug in immediate validation?
jense #1
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
Subject: Bug in immediate validation?
The following change in register.inc.php fixed it for me and it looks reasonable (1 = UNB_GROUP_GUESTS):
  1. @@ -306,7 +306,7 @@
  2.  
  3.                 $TP['registerWelcome'] = true;
  4.  
  5. -               if (in_array(1, UnbGetUserGroups($user->GetID())))
  6. +               if (in_array(UNB_GROUP_MEMBERS, UnbGetUserGroups($user->GetID())))
  7.                 {
  8.                         $TP['registerValidated'] = true;
  9.                 }
Alala, Alala, Gimme three wishes - CSS
Avatar
Yves (Administrator) #2
User title: UNB developer & webmaster
Member since Jan 2004 · 3856 posts · Location: Erlangen, Germany
Group memberships: Administrators, Members
Show profile · Link to this post
This should theoretically be correct. Also, I may have missed it when adding the Guests group because it didn't use the named constant but a literal number instead. Accepted and applied.
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬
jense #3
Member since Nov 2006 · 327 posts · Location: Dortmund
Group memberships: Members
Show profile · Link to this post
Thanks.
Alala, Alala, Gimme three wishes - CSS
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20120620-dev, © 2003-2011 by Yves Goergen
Page created in 152.5 ms (97.5 ms) · 54 database queries in 106.8 ms
Current time: 2013-06-18, 07:12:44 (UTC +02:00)