Log in

View Full Version : modification on Miserable Users for vB3


almqdad
09-25-2005, 07:50 AM
hi

this agreat hack

https://vborg.vbsupport.ru/showthread.php?t=59727&page=1&pp=15

I need amodification on this

simply instead of applying the hack groupwise

I need it user wise

I will be greatfull if some body can help me with this one

Paul M
09-25-2005, 08:34 AM
Um, you just create a new user group for this and put individual users in that group, that's the way it works.

almqdad
09-25-2005, 10:22 AM
Hi Paul M

I know that , but what I need is not that

I want to to turn user to Miserable without any body knowing including moderators

instead of putting group id I want to use user id

I hope I am clear

thanks

Paul M
09-25-2005, 10:32 AM
Well I would imagine you just change ;

if (is_member_of(array('userid'=>$bbuserinfo['userid'], 'usergroupid'=>$bbuserinfo['usergroupid'], 'membergroupids'=>$bbuserinfo['membergroupids']), $miserableid))
to

if ($bbuserinfo['userid'] == 123)
and edit 123 to your desired userid. It becomes a bit more complicated to add more userids though.

almqdad
09-25-2005, 11:01 AM
Hello again

Paul M i will difinitly need it for many user

what happens I add comma between ids

is that possible

or may be its more difficult

help me please if you can