







// Setting the log message before we set the group id (if group gets added)
$log = ($group_id) ? 'LOG_GROUP_UPDATED' : 'LOG_GROUP_CREATED'; if (!function_exists('auto_group'))
{
global $phpEx;
include($phpbb_root_path . 'includes/functions_autogroup.'.$phpEx);
}
$make_default = false;
$auto_add_users = auto_groups_create($group_id, $group_attributes, $make_default);
// now we have all the information to insert auto users into the table if required
if (isset($auto_add_users) && sizeof($auto_add_users))
{
group_user_add($group_id, $auto_add_users, false, false, $make_default, 0, 0, false, 1);
unset($auto_add_users);
}
// end auto groups mod

wads24 wrote:does anyone else have a version of this mod that works with phpBB version 3.0.8. The following is not found in the functions_users.php I really like this mod. does anyone know of another one that works?
// Setting the log message before we set the group id (if group gets added)
$log = ($group_id) ? 'LOG_GROUP_UPDATED' : 'LOG_GROUP_CREATED'; 

General Error
SQL ERROR [ mysqli ]
[0]
SQL
No values specified for SQL IN comparison
BACKTRACE
FILE: includes/db/dbal.php
LINE: 379
CALL: dbal->sql_error()
FILE: includes/functions_autogroup.php
LINE: 49
CALL: dbal->sql_in_set()
FILE: includes/functions_admin.php
LINE: 838
CALL: auto_group()
FILE: includes/mcp/mcp_queue.php
LINE: 868
CALL: delete_posts()
FILE: includes/mcp/mcp_queue.php
LINE: 65
CALL: disapprove_post()
FILE: includes/functions_module.php
LINE: 507
CALL: mcp_queue->main()
FILE: mcp.php
LINE: 244
CALL: p_master->load_active()
Please notify the one of the Board Administrators or Moderators for more information.
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group 
Users browsing this forum: No registered users and 23 guests