2013-02-25, 05:31 AM
2013-02-25, 06:06 AM
You could hook into member_profile_start and do this check:
I can write a plugin for this. Not sure if there are any out there. There's at least one, http://mods.mybb.com/view/error-profile-baned .
if(in_array($memprofile['usergroup'], "ARRAY OF BANNED GROUPS"))
{
error("This user is banned...");
}
I can write a plugin for this. Not sure if there are any out there. There's at least one, http://mods.mybb.com/view/error-profile-baned .
2013-02-26, 10:09 PM
(2013-02-25, 06:06 AM)Seabody Wrote: [ -> ]You could hook into member_profile_start and do this check:
if(in_array($memprofile['usergroup'], "ARRAY OF BANNED GROUPS")) { error("This user is banned..."); }
I can write a plugin for this. Not sure if there are any out there. There's at least one, http://mods.mybb.com/view/error-profile-baned .
Seabody could you create a plugin for this as the above one is old and does not work.
2013-03-11, 07:38 AM
(2013-02-26, 10:09 PM)MisterW Wrote: [ -> ](2013-02-25, 06:06 AM)Seabody Wrote: [ -> ]You could hook into member_profile_start and do this check:
if(in_array($memprofile['usergroup'], "ARRAY OF BANNED GROUPS")) { error("This user is banned..."); }
I can write a plugin for this. Not sure if there are any out there. There's at least one, http://mods.mybb.com/view/error-profile-baned .
Seabody could you create a plugin for this as the above one is old and does not work.
Of course.
http://mods.mybb.com/view/no-banned-profile
It's awaiting validation on the Mods Site.
2013-03-11, 05:09 PM
(2013-03-11, 07:38 AM)Seabody Wrote: [ -> ](2013-02-26, 10:09 PM)MisterW Wrote: [ -> ](2013-02-25, 06:06 AM)Seabody Wrote: [ -> ]You could hook into member_profile_start and do this check:
if(in_array($memprofile['usergroup'], "ARRAY OF BANNED GROUPS")) { error("This user is banned..."); }
I can write a plugin for this. Not sure if there are any out there. There's at least one, http://mods.mybb.com/view/error-profile-baned .
Seabody could you create a plugin for this as the above one is old and does not work.
Of course.
It's awaiting validation on the Mods Site.
Thank's Seabody it works perfectly I have edited the lang file tho to display a different message hope that's okay.