easily done,CMA wrote:i always forget to ask...
can you please add premission for this mod? i dont want to display group page for guests... like normal memberlist/profile did...
That's exactly what the code does. If they are guest they won't see the link, if they aren't a guest then they will.CMA wrote:ok but... i still would like it to be displaying to all user...
well i will use that for temporary solution... thanks...
Code: Select all
$user->setup('groups');
Code: Select all
if (!$user->data['is_registered'])
{
if ($user->data['is_bot'])
{
redirect(append_sid("{$phpbb_root_path}index.$phpEx"));
}
login_box('', $user->lang['LOGIN_EXPLAIN_GROUP']);
}
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2199: strtr() [function.strtr]: The second argument is not an array
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2199: strtr() [function.strtr]: The second argument is not an array
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2199: strtr() [function.strtr]: The second argument is not an array
template->_tpl_load_file(): File /groups_page_body.html does not exist or is empty
You may want to upload the html file into the style that is causing that issue._tpl_load_file(): File /groups_page_body.html does not exist or is empty
If it was there you wouldn't be getting that error.CMA wrote:well the html is already there...
be my guesthave you test that new coder?
Thanks for the quick reply.RMcGirr83 wrote:http://www.phpbb.com/community/viewtopi ... #p10876775