PHP Classes

Bug for phpBB2 v2.0.19

Recommend this page to a friend!

      Forums Integrator  >  All threads  >  Bug for phpBB2 v2.0.19  >  (Un) Subscribe thread alerts  
Subject:Bug for phpBB2 v2.0.19
Summary:Does not add group information properly.
Author:Tony Fugere
Date:2006-03-25 20:33:50
Update:2006-03-31 15:00:11

  1. Bug for phpBB2 v2.0.19   Reply   Report abuse  
Tony Fugere - 2006-03-25 20:33:50
Change the code in function register to the reflect this:

$sql = "INSERT INTO " . USER_GROUP_TABLE . " (user_id, group_id, user_pending) VALUES ('".$id."', '".$id."', 0)";
$sql = "INSERT INTO " . GROUPS_TABLE . " (group_id, group_type, group_description, group_moderator, group_single_user) VALUES ('".$id."', 1, 'Personal User', 0, 1)";

This will insert the Users' group information properly such that deleting users from the Admin Control Panel will not fail.

  2. Re: Bug for phpBB2 v2.0.19   Reply   Report abuse  
Piotr Malinski - 2006-03-31 15:00:11 - In reply to message 1 from Tony Fugere
fixed :)