View Single Post
Old January 11th, 2005, 03:20 PM   #15 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,667
Where are your phpbb usergroups that we normally have before you go adding additional ones?

$deleteq = "DELETE FROM {$Globals['pp_db_prefix']}usergroups";
$resultd = ppmysql_query($deleteq, $link);

$query = array();
$query[] = "INSERT INTO {$pp_db_prefix}usergroups VALUES ('1','Anonymous','','','','','',0,0,0,0,0)";
$query[] = "INSERT INTO {$pp_db_prefix}usergroups VALUES ('2','Admin',1,1,1,'','',1,1,1,1,0)";
$query[] = "INSERT INTO {$pp_db_prefix}usergroups VALUES ('3','Regular Users','',1,1,'','',1,1,0,1,0)";


There 3 are absolute and should be there as these are needed for things to work.

admin usergroups should have cpaccess set to 1
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote