![]() |
Select usergroups get [IMG] use
In the handle_bbcode_img function of bbcode_parse add this:
IF ($post['usergroupid'] != WHATEVER) .... .... .... } |
what?
can you please provide some better directions What does WHATEVER mean? where is handle_bbcode_img located? |
:)
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. |
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...
Quote:
|
Quote:
thanks, I shall use this to my advantage kau. |
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 https://vborg.vbsupport.ru/ tag. Anyone have any ideas?
|
All times are GMT. The time now is 09:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|