The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Hide Various BB Code Content From Users Details »» | |||||||||||||||||||||||||
This mod makes it so you can hide various BB code content from certain usergroups. It takes into account both primary and secondary usergroups and is controlled completely through the vB ACP. If you use this mod, please click the install button. Thanks.
The various BBcode content you can hide is as follows: [B], [I], [U], [COLOR], [SIZE], [FONT], [LEFT], [CENTER], [RIGHT],[INDENT],[LIST], [URL], [EMAIL], [THREAD], [POST], [CODE], [PHP], [HTML], [IMG], [QUOTE] See the add_custom_bbcodes.txt file for how to add other BB codes. NOTES: Do not apply any code changes posted before the twenty-second post, and when using this mod, Cached Posts Lifespan should be zero, but turning off post caching can result in slower display time, as posts would then be parsed into HTML at display time rather than at post time. Before installing this add-on, change this in product-hide_bbcodes.xml: Code:
<setting varname="hide_bbcode_list" displayorder="200"> <datatype>number</datatype> Code:
<setting varname="hide_bbcode_list" displayorder="200"> <datatype>bitfield</datatype> Show Your Support
|
Comments |
#92
|
|||
|
|||
hello my vibulletin ver. is 3.7.2
I Installed but when i change any settings show this error: Fatal error: Unsupported operand types in D:\Domains\mydomain.com\wwwroot\forum\includes\adm infunctions_options.php on line 680 It's very useful for me please help me . thanks |
#93
|
|||
|
|||
Do this, https://vborg.vbsupport.ru/showpost....3&postcount=77 and everything should work fine. I did it and its ok.
|
#94
|
|||
|
|||
To make it work in 3.7.x ... Open the xml file & replace line 357 to
Code:
<datatype>bitfield</datatype> |
#95
|
|||
|
|||
hi dear friend.
i install this hack for vbulletin 3.7.2 but i could not change this hack. i change this eror viewing ::: Fatal error: Unsupported operand types in /home2/p30pedia/public_html/forum/includes/adminfunctions_options.php on line 680 Please Help Me! |
#96
|
|||
|
|||
I get the same error..
and if i use the hack..it even shows " content visible onli to registered " to me even.. in some threads..not all .. ( im admin ).. Please help. |
#97
|
|||
|
|||
Quote:
Any Idea how to fix it ? I run vBulletin 3.7.3 and the content of Codes show " content visible only to registered " to me even.. in some threads..not all .. ( I'm admin ).. I have edited the mod according to post 77 but it still has the problem ! |
#98
|
|||
|
|||
Hello calorie
I have this case: I have 2 group: Registered Member & Senior Member. Register can view all text in code tag. But i would like to do this: Register can view all text in all forums except Software forum. In Software forum only Senior Member can view text in code tag, that mean Senior can view all text in code tag in all forum. I know where to edit, like this: Code:
function hide_bbcode_access($hide_bbcode_info) { //Get current forumid to compare with the forumid config in ACP, then do some conditional expression, i stuck here $hide_bbcode_blocked = 1; $hide_bbcode_disallowed = explode(",",str_replace(" ","",$hide_bbcode_info->options['hide_bbcode_groups'])); $hide_bbcode_primary = $hide_bbcode_info->userinfo['usergroupid']; $hide_bbcode_secondary = explode(",",str_replace(" ","",$hide_bbcode_info->userinfo['membergroupids'])); $hide_bbcode_intersect = array_intersect($hide_bbcode_disallowed, $hide_bbcode_secondary); if (!in_array($hide_bbcode_primary, $hide_bbcode_disallowed) AND empty($hide_bbcode_intersect)) { $hide_bbcode_blocked = 0; } return $hide_bbcode_blocked; } |
#99
|
||||
|
||||
ups..
|
#100
|
||||
|
||||
Allright! with this fix, it works for 3.8.1 aswell
|
#101
|
|||
|
|||
Fatal error: Unsupported operand types in adminfunctions_options.php on line 692
Why.....? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|