How would I be able to accomplish making the index message visible to users with Mod CP access as opposed just admins?
Where in the language files would I edit the awaiting users message also?
Thanks in advance.
Thanks for the response, although I did change global.php to what's below and it didn't work: (only still displays for admins)
if($awaitingusers > 0)
{
if($awaitingusers == 1)
{
$awaiting_message = $lang->awaiting_message_single;
}
else
{
$awaiting_message = $lang->sprintf($lang->awaiting_message_plural, $awaitingusers);
}
if($modcplink)
{
$awaiting_message .= $lang->sprintf($lang->awaiting_message_link, $mybb->settings['bburl'], $admin_dir);
}
eval('$awaitingusers = "'.$templates->get('global_awaiting_activation').'";');
}
else
{
$awaitingusers = '';
}
}
^ oops! that was
incorrect. please change it back to original code.
global.php =>
$mybb->usergroup['cancp'] == 1 can be changed to
$mybb->usergroup['canmodcp'] == 1
That did the trick, thank you.