is there a way to block SpiceFuse Shoutbox from member account not activated?
Changing the shoutbox code accordingly should work:
function sb_can_view()
{
global $mybb;
if ($mybb->usergroup['canview'] == "no" OR ($mybb->settings['sf_sb_guestview'] == "no" &&
$mybb->user['usergroup'] == 1) || $mybb->user['usergroup']= XY)
{
return false;
} else {
return true;
}
}
change 'XY' according the gid of your "member account not activated".
Sorry, my mistake.
I changed the code above.
This is the original one:
function sb_can_view()
{
global $mybb;
if ($mybb->usergroup['canview'] == 0 OR ($mybb->settings['sf_sb_guestview'] == 0 && $mybb->user['usergroup'] == 1)) {
return false;
} else {
return true;
}
}
What´s the awaiting activation ID?...someone?
Is it 5?
You can find all group-IDs in your ACP -> Tool & Maintenance -> Cache Manager -> usergroups