Login   Register  
PHP Classes
elePHPant
Icontem

Bug for phpBB2 v2.0.19

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      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.
Messages:2
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  
Picture of Tony Fugere
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)";
$db->sql_query($sql);
$sql = "INSERT INTO " . GROUPS_TABLE . " (group_id, group_type, group_description, group_moderator, group_single_user) VALUES ('".$id."', 1, 'Personal User', 0, 1)";
$db->sql_query($sql);

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  
Picture of Piotr Malinski
Piotr Malinski
2006-03-31 15:00:11 - In reply to message 1 from Tony Fugere
fixed :)