The Arcive of vBulletin Modifications Site. |
|
Select usergroups get [IMG] use Details »»
|
|||||||||||||||||||||||||
In the handle_bbcode_img function of bbcode_parse add this:
IF ($post['usergroupid'] != WHATEVER) .... .... .... } Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
what?
can you please provide some better directions What does WHATEVER mean? where is handle_bbcode_img located? |
|
#3
|
||||
|
||||
![]() 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. |
|
#4
|
||||
|
||||
|
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. |
|
#5
|
|||
|
|||
|
Thanks Colin your hint led me to the answer!
|
|
#6
|
||||
|
||||
|
Not to be a rule nazi.. but...
Quote:
|
|
#7
|
||||
|
||||
|
Quote:
thanks, I shall use this to my advantage kau. |
|
#8
|
|||
|
|||
|
I created a tag called [simg]xxx[/simg] (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
|
![]() |
|
|