View Full Version : Select usergroups get [IMG] use
In the handle_bbcode_img function of bbcode_parse add this:
IF ($post['usergroupid'] != WHATEVER)
....
....
....
}
Johnny
09-16-2004, 11:41 AM
what?
can you please provide some better directions
What does WHATEVER mean?
where is handle_bbcode_img located?
Colin F
09-16-2004, 12:29 PM
:)
First off, great that you got it, kau!
Johnny: find the function handle_bbcode_img() in the includes/bbcodeparse.php file and surround the while code (between function handle_bbcode_img(XXX) { and } with the code he posted above:
if ($bbuserinfo[usergroupid != 5)
{
}
Like this, any users in the usergroup 5 won't be able to use the image code at all.
Johnny
09-16-2004, 05:22 PM
thankyou colin,
that is what suppose to be on the first post a complete instruction on what to open and where to add the code.
but nice mod kau, this will come handy.
Thanks Colin your hint led me to the answer!
Not to be a rule nazi.. but...
Only licensed vBulletin users may release and/or download hacks. Please make sure you either attach the hack in a file, or within [code] / [php] vB Code tags. vBulletin Lite hacks cannot be distributed.
Not to be a rule nazi.. but...
shutup, it's not even 30 characters long.
thanks, I shall use this to my advantage kau.
Kruppa
03-01-2005, 03:01 PM
I created a tag called xxx (in the hopes I could apply this hack to it) and I was wondering if there was a way to do the same with that code has with the default https://vborg.vbsupport.ru/ tag. Anyone have any ideas?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.