Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Hide Various BB Code Content From Users Details »»
Hide Various BB Code Content From Users
Version: 1.0.0, by calorie calorie is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 01-11-2006 Last Update: 05-11-2006 Installs: 156
Uses Plugins
 
No support by the author.

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>
To this, and then install; otherwise it errors unsupported operand types:
Code:
<setting varname="hide_bbcode_list" displayorder="200">
<datatype>bitfield</datatype>

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #82  
Old 03-06-2008, 05:28 AM
USAMustangs.com USAMustangs.com is offline
 
Join Date: Mar 2007
Location: D/FW, Texas
Posts: 159
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pforp View Post
hello, does this hack work on 3.6.x installations? thanks.
It's working fine for me on vB 3.6.5
Reply With Quote
  #83  
Old 03-09-2008, 07:47 PM
dvbusuario's Avatar
dvbusuario dvbusuario is offline
 
Join Date: Oct 2007
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working for me vB 3.6.8 L2

Thanks

Nice Hack!
Reply With Quote
  #84  
Old 03-15-2008, 10:52 PM
Whiteyez Whiteyez is offline
 
Join Date: Jun 2007
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working on vBulletin Version 3.7.0 Beta 6

THANKS!!
Reply With Quote
  #85  
Old 03-16-2008, 12:15 AM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm running vb3.7 beta 6 and am getting the following error message when i try to save my preferences in the Hide BB code settings:

Fatal error: Unsupported operand types in /home/.../public_html/.../includes/adminfunctions_options.php on line 639

any ideas? please help.
Reply With Quote
  #86  
Old 03-19-2008, 04:42 PM
codershark codershark is offline
 
Join Date: Feb 2008
Location: Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great on vbulletin 3.7 Beta 6 (with Code change in XML)
Reply With Quote
  #87  
Old 03-19-2008, 10:46 PM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by codershark View Post
works great on vbulletin 3.7 Beta 6 (with Code change in XML)
can you share what these were?
Reply With Quote
  #88  
Old 03-20-2008, 03:38 AM
codershark codershark is offline
 
Join Date: Feb 2008
Location: Germany
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have a look at post 77
Reply With Quote
  #89  
Old 04-14-2008, 12:33 AM
ChU v2 ChU v2 is offline
 
Join Date: May 2007
Location: Chicago
Posts: 396
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working on 3.6.9
Reply With Quote
  #90  
Old 04-26-2008, 03:57 PM
nirvana43's Avatar
nirvana43 nirvana43 is offline
 
Join Date: Oct 2007
Location: Pune, India
Posts: 361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you make it for Vbulletin version 3.7??? i need this very badly.
Reply With Quote
  #91  
Old 06-16-2008, 07:44 AM
Astrof Astrof is offline
 
Join Date: Apr 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great hack, but it doesn't work very well in 3.7. Not on my installation, that is.

I've set [url] links to be hidden to unregistered members and some of them remain hidden even after the user has registered his/her account as well as it remains hidden to the already registered users.

Anyone have any idea why this is happening and if there is away to resolve it?

Thank you.

EDIT: Okay, so I tested this a little further and either I am missing something or this is a serious incompatibility with 3.7 version.

The first thing that crossed my mind after I wrote this post is that it may be happening to ALL links posted AFTER the mod has been installed.

It doesn't. It does to some, to others it does not.

On the other hand, from what I can see it doesn't happen to any links posted PRIOR to installing the mod.

HOWEVER, this problem does not happen to the member who posted the links. That is, when logged in, the memebr who posted the links doesn't have this problem and CAN see the links.

Okay, so I went back and as an administrator I tried to erase the problematic links and re-post them myself.

No go. The same thing. Those links again not visible to registered/logged in users.

Then I went back and tried different things in three major browsers (IE, FF and Opera) and, clearly, there is no pattern apart from the one that the member who posted the links CAN see the problematic links when logged in.

This is also not usergroup-specific, everyone has this problem, in all browsers.

Okay, so I went and turned off the mod, but the problem remained.

So I went and disabled the mod completely and the problem was still present. Those problematic links were still not visible by anyone except the member who posted them.

So then, after I have disabled the mod completely, I went and edited the problematic posts myself from my administrator account and only then did the links become visible again to everyone.

So ... Does anyone have any idea what this could be? Is this mod simply too old for 3.7 and needs a true 3.7 revision? Or is there something that can be done in xml to remedy this?

Or could this be related to me not changing the Cached posts lifespan default value of 7 to 0?

Any help would be REALLY appreciated. This is an extremely important mod to a lot us here, as I can see.

Thanks in advance.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05549 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete