Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
BB Code Hider Lite Details »»
BB Code Hider Lite
Version: 1.0.4, by nhawk nhawk is offline
Developer Last Online: May 2021 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 4.1.4 Rating:
Released: 07-12-2011 Last Update: 05-25-2012 Installs: 52
 
No support by the author.

THIS ADD-ON IS NO LONGER AVAILABLE AND IS NOT SUPPORTED

This mod hides or removes the contents of the CODE BB Code from usergroups of your choice in both posts and private messages.

* FEATURES *
--------------
  • Control who can view [CODE] by usergroup.
  • Replace the viewed contents in [CODE] with a message of your choice.
  • Completely remove [CODE] from view.
  • Removes meta tag content from prying eyes.

NOTE: This mod has been tested on vB 4.0.7, 4.1.4, 4.1.5 and 4.1.7 through 4.2.1. It may or may not work on versions earlier than 4.0.7. Please let me know what vB version you are running if there is a problem.



* INSTALLATION *
-------------------

1) Import the product XML file (product-bbchide.xml) into the Product Manager in AdminCP.

2) Go to AdminCP->Settings->Options->BB Code Hider Lite Settings, turn on the hider and setup the options.

* UPGRADE *
-------------

1) Import the product XML file (product-bbchide.xml) into the Product Manager in AdminCP. Be sure to set 'Allow Overwrite' to 'Yes'.


* History (Changelog) *
-------------------------
1.0.4 (May 26, 2012)
- Add hide functions for vB 4.2 activity stream and threadbit preview.

1.0.3 (November 7, 2011)
- Removed copyright symbol from plugins for those having install problems.

1.0.2 (October 27, 2011)
- Fix text cached by vBulletin being displayed.

1.0.1 (July 14, 2011)
- Updated to work with versions earlier than 4.1.4.

1.0.0 (July 13, 2011)
- Initial public release.

Screenshots are of the Premium Version - The Lite version only hides CODE tags.
The Premium Version is no longer available.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
emperatour, nacaruncr, TheLastSuperman

Comments
  #32  
Old 10-27-2011, 06:08 PM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems I must apologize to everyone that had this problem.

vBulletin itself was caching posts and when they were viewed by people that were allowed to view the code, vBulletin would display what it had in it's cache.

The fix posted today kills the post read from the vBulletin cache so that shouldn't happen any more.
Reply With Quote
  #33  
Old 10-27-2011, 06:48 PM
dtommy79 dtommy79 is offline
 
Join Date: Jul 2007
Location: Hungary
Posts: 148
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the quick fix. It seems to work now properly.
Reply With Quote
Благодарность от:
nhawk
  #34  
Old 11-06-2011, 12:15 AM
killer_t killer_t is offline
 
Join Date: Nov 2010
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, nice plug-in!
I've an issue: the code is visible in the Recent Forum Message CMS widget! How to Hide??
Thank's!
Reply With Quote
  #35  
Old 11-06-2011, 04:42 AM
emperatour emperatour is offline
 
Join Date: Sep 2008
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get the following warnings on 4.1.6 and the code is still visible:

Code:
Warning: Unterminated comment starting line 1 in /home/---/public_html/forum/showthread.php(308) : eval()'d code on line 1

Warning: Unterminated comment starting line 20 in /home/---/public_html/forum/includes/class_bbcode.php(424) : eval()'d code on line 20

Warning: Unterminated comment starting line 20 in /home/---/public_html/forum/includes/class_bbcode.php(424) : eval()'d code on line 20
Do you have any idea what may cause this ?

Thank you
Reply With Quote
  #36  
Old 11-06-2011, 11:05 AM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by killer_t View Post
Hi, nice plug-in!
I've an issue: the code is visible in the Recent Forum Message CMS widget! How to Hide??
Thank's!
I'll have a look to see if the code can be intercepted in that widget or not. For now, the hider doesn't do the CMS widget.
Reply With Quote
  #37  
Old 11-06-2011, 11:06 AM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by emperatour View Post
I get the following warnings on 4.1.6 and the code is still visible:

Code:
Warning: Unterminated comment starting line 1 in /home/---/public_html/forum/showthread.php(308) : eval()'d code on line 1

Warning: Unterminated comment starting line 20 in /home/---/public_html/forum/includes/class_bbcode.php(424) : eval()'d code on line 20

Warning: Unterminated comment starting line 20 in /home/---/public_html/forum/includes/class_bbcode.php(424) : eval()'d code on line 20
Do you have any idea what may cause this ?

Thank you
Do these warning go away if you disable the hider?

I'm asking because it runs fine on 4.1.5 and 4.1.7 with no warnings (I never installed 4.1.6 anywhere).
Reply With Quote
  #38  
Old 11-06-2011, 03:49 PM
emperatour emperatour is offline
 
Join Date: Sep 2008
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nhawk View Post
Do these warning go away if you disable the hider?

I'm asking because it runs fine on 4.1.5 and 4.1.7 with no warnings (I never installed 4.1.6 anywhere).
Yes they go away when I disable the product from plugin manager. But the warnings are still there if I only disable it from BB Code Hider Lite Settings.

I also tested it on another forum (4.1.7) and it works fine. Maybe it is conflicting with another plugin in that 4.1.6 forum?
Reply With Quote
  #39  
Old 11-06-2011, 04:20 PM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by emperatour View Post
Yes they go away when I disable the product from plugin manager. But the warnings are still there if I only disable it from BB Code Hider Lite Settings.

I also tested it on another forum (4.1.7) and it works fine. Maybe it is conflicting with another plugin in that 4.1.6 forum?
It does sound like something is conflicting with it.

I triple checked and all of the comments are closed in the hider, so I don't think it's in the hider. Try uninstalling, downloading again and re-installinng. Maybe something went wrong with the install or download.

Also, you could try disabling your other mods one at a time to see if you can locate the conflict. If you do locate it, please let me know which one it is so I can see what the conflict is.
Reply With Quote
  #40  
Old 11-07-2011, 03:32 PM
emperatour emperatour is offline
 
Join Date: Sep 2008
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nhawk View Post
It does sound like something is conflicting with it.

I triple checked and all of the comments are closed in the hider, so I don't think it's in the hider. Try uninstalling, downloading again and re-installinng. Maybe something went wrong with the install or download.

Also, you could try disabling your other mods one at a time to see if you can locate the conflict. If you do locate it, please let me know which one it is so I can see what the conflict is.
Yes, something was going wrong in importing the product. I checked the plugins content is only this:
Code:
/*================================================*\
||##################################################
|| # BBCode Hider Lite Version 1.0.1
|| # ---------------------------------------------- 
|| # Copyright
So, the import of each plugin was being interrupted right before the '?' sign. Replacing all ?s with Cs in xml and solved the issue.
Probably there is something wrong in parsing ? with UTF-8 forums. Mine is in Persian language.

Thanks for your help. Your PM regarding the comment led me to checking the plugin.
Reply With Quote
Благодарность от:
nhawk
  #41  
Old 12-06-2011, 09:54 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey nhawk, can you explain how you fixed the caching issue? I looked at the code briefly but couldn't see it. Actually, if you can explain how the caching system works that would be cool.
Reply With Quote
Reply

Thread Tools

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 05:45 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.05846 seconds
  • Memory Usage 2,315KB
  • 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
  • (3)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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