Quote:
Originally Posted by KuraFire
djnoz, it can be done a lot easier than that on vB3
For this to be applied on a vB3 board, you really should just make a new (secondary) usergroup called "Miserable Users", make it non-public and put people in that group (along with their normal group, ie. the Miserable usergroup has no additional permissions anywhere, it's just important to note the usergroupid). Then in global.php, put the Miserable code and make it dependant on the usergroupid of the Miserable usergroup, check for it in $bbuserinfo[usergroups] (iirc)
|
As described by Kurafire, this way works great on vB3!!
I simply changed the first line of the global.php addition to:
if($bbuserinfo[membergroupids] == MEMBERID) {
Where memberid=the new usergroup id
I used membergroupid because I kept the users main usergroup as 'registered', so the new miserable group is in his membergroupids record. If that makes sense!
Thanks for the hack! It's horrible LOL