Version: 1.0.4, by nhawk
Developer Last Online: May 2021
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.
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.
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
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).
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?
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.
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.
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.