View Full Version : BB Code Enhancements - BB Code Hider Lite
nhawk
07-12-2011, 10:00 PM
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.
TheLastSuperman
07-13-2011, 05:35 PM
I checked out the xml... unless I missed something else besides your dependency in the file, why would this not work with previous versions?
AttalaEA
07-13-2011, 05:40 PM
Hello,
I would like to know wheather this can work with the attachments too or not?
nhawk
07-13-2011, 05:56 PM
I checked out the xml... unless I missed something else besides your dependency in the file, why would this not work with previous versions?
It could if it weren't for the way I display the box and CK Editor.
I am working on a version that will work with earlier versions of VB.
nhawk
07-13-2011, 05:57 PM
Hello,
I would like to know wheather this can work with the attachments too or not?
Access to attachments are handled directly by vBulletin.
Unless you're talking about external attachments. Then, no it doesn't at this time.
nhawk
07-14-2011, 08:54 AM
I checked out the xml... unless I missed something else besides your dependency in the file, why would this not work with previous versions?
Updated today to run on older versions of vB 4.
Interestingly, it will also run on vB 3.8 if you remove the dependency from the xml file. ;)
hexeditor
07-21-2011, 06:40 PM
i need this for [php] code and [code]
can you make it?
nhawk
07-21-2011, 07:07 PM
i need this for [php] code and [code]
can you make it?
It's already available on my site. Either click the link in the main post or the 'Visit Web Site' link in the 'The Developer' box.
hexeditor
07-22-2011, 12:27 PM
ok and where is download link, please post
nhawk
07-22-2011, 12:38 PM
ok and where is download link, please post
There are links to purchase the premium edition all over my site.
westbam666
09-05-2011, 10:37 AM
On versions 4.1.3 does not work...
nhawk
09-05-2011, 01:25 PM
On versions 4.1.3 does not work...
What doesn't work for you?
Works fine for me with 4.1.3. See screenshots attached.
westbam666
09-08-2011, 08:20 PM
Thank you, understood.
blueperspective
10-05-2011, 04:13 AM
Anyone tested it in 4.1.6 ?
Or anyone would recommend a good hide mod that works on the current version of vB ?!
Thanks.
blueperspective
10-05-2011, 04:45 AM
Hum... installed it on 4.1.6, activated but the content is hided even if I'm not in the group mentioned on setting. ( meaning.. I'm the admin and can't see the content. =) )
Suggestions ?
nhawk
10-05-2011, 11:56 AM
Hum... installed it on 4.1.6, activated but the content is hided even if I'm not in the group mentioned on setting. ( meaning.. I'm the admin and can't see the content. =) )
Suggestions ?
I do not have 4.1.6 installed anywhere, but I just tested it on 4.1.5 P1 and it works without a problem.
Did you include your usergroup to test it at some point? If so, then it's a caching problem with either your browser or your server.
SamSteve
10-05-2011, 12:09 PM
How can i put html code in the "[CODE] Message" for example:
<a href="register.php">Register</a> or <a href="login.php">login</a> to view hide content.
thanks!
nhawk
10-05-2011, 12:12 PM
How can i put html code in the "[CODE] Message" for example:
<a href="register.php">Register</a> or <a href="login.php">login</a> to view hide content.
thanks!
You can't in the Lite version.
SamSteve
10-05-2011, 12:31 PM
You can't in the Lite version.
Thanks, i'm going to buy the pro version!
SamSteve
10-05-2011, 12:44 PM
Yeah, i bought it but i can't write in html...
-- EDiT --
Seethe attach:
nhawk
10-05-2011, 01:49 PM
Yeah, i bought it but i can't write in html...
-- EDiT --
Seethe attach:
Use the URL BBcode.
But don't both block URLs and put URLs in the message. One will cancel the other out.
Also, questions about premium versions should be asked on my site. People may get confused about what's included in the lite version if they are discussed here.
SamSteve
10-05-2011, 02:50 PM
Okey thanks!
It works! ;)
blueperspective
10-05-2011, 04:27 PM
Could be the cache.. I think. I'll do some more tests on different browsers.
Ichigo88
10-06-2011, 11:16 AM
but he hide for all usergroup i have 4.1.5 i set usergroup 1 but he hide for all
nhawk
10-06-2011, 02:00 PM
but he hide for all usergroup i have 4.1.5 i set usergroup 1 but he hide for all
It does not hide for all usergroups. It only hides for the ones you specify.
While the screenshots in this post are from 4.1.3, the same thing still applies for 4.1.5...
https://vborg.vbsupport.ru/showpost.php?p=2242181&postcount=12
The only thing I can suggest is seeing if another mod is interfering with the hider.
dtommy79
10-27-2011, 06:48 AM
Hum... installed it on 4.1.6, activated but the content is hided even if I'm not in the group mentioned on setting. ( meaning.. I'm the admin and can't see the content. =) )
Suggestions ?
I have the same problem on 4.1.7
It's only set to hide links from guests, but it hides them from everyone else.
No other plugins installed. I also tried it with other browsers and it's the same.
I guess something is up after all.
EDIT:
I think I figured out what causes the problem.
I noticed if you have only used one set of code tag, the links are displayed properly and hidden from those specified in the admin option.
The problem occurs when I use more than one code tags, when there are separate coded content in the post.
nhawk
10-27-2011, 11:27 AM
I have the same problem on 4.1.7
It's only set to hide links from guests, but it hides them from everyone else.
No other plugins installed. I also tried it with other browsers and it's the same.
I guess something is up after all.
EDIT:
I think I figured out what causes the problem.
I noticed if you have only used one set of code tag, the links are displayed properly and hidden from those specified in the admin option.
The problem occurs when I use more than one code tags, when there are separate coded content in the post.
This is not a problem with BB Code Hider. It is a setting for caching on your site.
Go to ACP->Settings->Options->Server Settings and Optimization Options.
Set Cached Posts Lifespan to 0 (zero).
dtommy79
10-27-2011, 03:58 PM
I've tried that too. The problem is still present.
nhawk
10-27-2011, 04:05 PM
I've tried that too. The problem is still present.
Well, to be honest I don't know where else to look. That is the only way I can duplicate what is happening to you.
I've tried to duplicate it on 4 totally different servers. And that setting is the only one that causes the problem. As soon as I set that to 0 and refresh the page the problem goes away.
nhawk
10-27-2011, 04:49 PM
OK, I think I know what might be happening with this..
Are you posting a new thread with some code, then immediately replying to the thread without leaving the thread?
nhawk
10-27-2011, 06:08 PM
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.
dtommy79
10-27-2011, 06:48 PM
Thanks for the quick fix. It seems to work now properly.
killer_t
11-06-2011, 12:15 AM
Hi, nice plug-in!
I've an issue: the code is visible in the Recent Forum Message CMS widget! How to Hide??
Thank's!
emperatour
11-06-2011, 04:42 AM
I get the following warnings on 4.1.6 and the code is still visible:
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
nhawk
11-06-2011, 11:05 AM
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.
nhawk
11-06-2011, 11:06 AM
I get the following warnings on 4.1.6 and the code is still visible:
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).
emperatour
11-06-2011, 03:49 PM
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?
nhawk
11-06-2011, 04:20 PM
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.
emperatour
11-07-2011, 03:32 PM
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:
/*================================================* \
||################################################ ##
|| # 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.
Sworm
12-06-2011, 09:57 PM
Hi, Installed and nominated :). Can i know if in the setting message field can be used the script tag?
nhawk
12-06-2011, 10:03 PM
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.
LOL, I saw your reply in the other thread and PM'd you..
But for everyone's benefit, it's really quite simple.
This was added to all plugins to kill the cached info..
$parsedtext = '';
To be perfectly honest, I'm still not 100% certain how the built in cache works. I just ran across it while working on something else and spotted a post with 'hidden' code in it and then it hit me what was happening with this mod. By adding the above code, it cancel's out the info read from the cache table.
nhawk
12-06-2011, 10:11 PM
Hi, Installed and nominated :). Can i know if in the setting message field can be used the script tag?
If you mean you want to attach a URL to the message displayed, not in the lite version.
Sworm
01-13-2012, 08:15 PM
Hi, it was released vb 4.1.10....
This great hack will still work on the newest vb suite version? thanks
nhawk
01-13-2012, 08:36 PM
Hi, it was released vb 4.1.10....
This great hack will still work on the newest vb suite version? thanks
Yes, it is still working with 4.1.10.
Alan_SP
01-18-2012, 01:53 AM
I know this is not purpose of this mod, but just to ask, how hard it would be to have mod that disables certain usergroups from using certain BBcodes at all? I know this is a bit off topic here...
nhawk
01-18-2012, 01:55 PM
I know this is not purpose of this mod, but just to ask, how hard it would be to have mod that disables certain usergroups from using certain BBcodes at all? I know this is a bit off topic here...
I'll look into it.
Nirjonadda
03-08-2012, 07:01 PM
Installed Premium Version
Excellent Work on 4.1.10
Great Mod...Thanks
Sworm
04-02-2012, 05:49 PM
Hi, i'm a premium user, can i know if it work on 4.1.11 PL1? Thanks
nhawk
04-02-2012, 09:54 PM
Hi, i'm a premium user, can i know if it work on 4.1.11 PL1? Thanks
Yes it does.
Sworm
04-11-2012, 08:41 AM
Yes it does.
Thank's, and it work on 4.1.12 too? I need to know before to install the last version. Thanks again
nhawk
04-11-2012, 09:04 AM
Thank's, and it work on 4.1.12 too? I need to know before to install the last version. Thanks again
I have not tested it on 4.1.12 yet.
I won't do that for at least 3 weeks to see how stable 4.1.12 is.
Sworm
04-11-2012, 09:41 AM
ohh ok i'll wait to upgrade 4.1.12
davut_c20
04-12-2012, 01:01 AM
this very good thanks :D
Merenguista
04-14-2012, 03:33 PM
It works fine in 4.1.12 .. Thanks ..
Disco_Stu
05-15-2012, 11:51 AM
I just installed this mod for 4.1.12 and it's working fine. Marked as installed.
Sworm
05-15-2012, 05:54 PM
I have not tested it on 4.1.12 yet.
I won't do that for at least 3 weeks to see how stable 4.1.12 is.
Hi nhawk i have waiting your test on 4.1.12 to install the lastest version of vbulletin.... can i install your great hack without problems on last vb version? Thanks
nhawk
05-15-2012, 08:07 PM
Hi nhawk i have waiting your test on 4.1.12 to install the lastest version of vbulletin.... can i install your great hack without problems on last vb version? Thanks
Yes, it works without a problem.
Disco_Stu
05-25-2012, 04:08 PM
This mod works ok for 4.2 but I did notice something that everyone should be aware of:
You can block unregistered users from viewing the code snippet in your post but if they go to the tread listings and place the mouse over the post title it will show the first few lines of the post (6 lines I think) in a little popup . if you placed your code in the first few lines then it will be displayed without being blocked even with this mod.
Don't know if anyone else has noticed this or not. I guess to be safe don't put the code you want blocked in the first few lines of the post.
nhawk
05-25-2012, 04:27 PM
This mod works ok for 4.2 but I did notice something that everyone should be aware of:
You can block unregistered users from viewing the code snippet in your post but if they go to the tread listings and place the mouse over the post title it will show the first few lines of the post (6 lines I think) in a little popup . if you placed your code in the first few lines then it will be displayed without being blocked even with this mod.
Don't know if anyone else has noticed this or not. I guess to be safe don't put the code you want blocked in the first few lines of the post.
For now you can also disable the preview by going to ACP->Settings->Options->Forum Display Options (forumdisplay) and setting 'Length of Thread Preview Text' to zero (0).
Also be aware that at this time the activity stream will show code in the first few lines of text.
Disco_Stu
05-25-2012, 04:40 PM
thanks for the info...fyi I don't like the activity stream
nhawk
05-25-2012, 05:02 PM
thanks for the info...fyi I don't like the activity stream
Here I thought I was the only one that didn't like it.
You can change the behavior of the 'What's New' tab back to it's original operation by going to ACP->Settings->Navigation Manager and changing the Target URL for the 'What's New' tab to ...
search.php?do=getnew&contenttype=vBForum_Post
Then disable the Activity Stream link below the tab name.
Disco_Stu
05-25-2012, 05:08 PM
thanks...yeah the activity stream was a bad idea. Others are complaining about it as well.
nhawk
05-25-2012, 06:06 PM
I'll have an update for the hider out in a day or so to handle the preview text and the activity stream.
synseal
06-14-2012, 09:27 AM
Thank you very much for this!. *Installed.
Winter Sonata
08-16-2012, 03:23 AM
Thanks alot, Installed!
Krusty1231
03-15-2014, 11:59 AM
I wonder if you could tell me if I can add a clickable link in the tag?
For example, I use this mod to hide links, and in it's place I have "please register to view links!"
Is it possible to make that part clickable to the register page?
I think I read through the thread here, and believe the paid version does this.
I could use confirmation before I purchase.
Thanks
nhawk
03-15-2014, 01:17 PM
I wonder if you could tell me if I can add a clickable link in the tag?
For example, I use this mod to hide links, and in it's place I have "please register to view links!"
Is it possible to make that part clickable to the register page?
I think I read through the thread here, and believe the paid version does this.
I could use confirmation before I purchase.
Thanks
Yes, you can do that with the paid version.
semaster
07-05-2014, 06:55 AM
Hi,
when i enable your addon on my forum, it works but it parse every bbcode like text and does not actually make letters bold , italic or coloured etc.
for example : after applying your addon on my forum text becomes [.b]text[/b] it should not do this.
please see the attached image to get what i am saying.
https://vborg.vbsupport.ru/external/2014/07/31.jpg
please help.
nhawk
07-05-2014, 09:55 AM
Hi,
when i enable your addon on my forum, it works but it parse every bbcode like text and does not actually make letters bold , italic or coloured etc.
for example : after applying your addon on my forum text becomes [.b]text[/b] it should not do this.
please see the attached image to get what i am saying.
please help.
I am unable to duplicate the problem...
https://vborg.vbsupport.ru/attachment.php?attachmentid=149614&stc=1&d=1404557694
What version of vB are you running?
Also, try disabling all other add-ons to see if one of them is interfering with BB Code hider.
semaster
07-05-2014, 10:23 AM
I am unable to duplicate the problem...
https://vborg.vbsupport.ru/attachment.php?attachmentid=149614&stc=1&d=1404557694
What version of vB are you running?
Also, try disabling all other add-ons to see if one of them is interfering with BB Code hider.
hi mate,
i have vbulletin 4.2.2
when i uninstall your mod everything works fine and when i install it, the problem comes again :(
can you give me your skype id , so we can chat on this ?
i will be really thankful for your help.
semaster
07-05-2014, 10:39 AM
Problem solved mate. I had advanced bb code permission mod, i uninstalled it and the problem is solved.
Also i tried to buy the pro version of your addon by trying to signup on your forum. but i am not able to signup.
can you help me ?
blueperspective
07-05-2014, 10:47 AM
Is this one working on 4.2.1?
nhawk
07-05-2014, 11:44 AM
Is this one working on 4.2.1?
Yes it is. It works in all 4.2 versions.
nhawk
07-05-2014, 11:45 AM
Problem solved mate. I had advanced bb code permission mod, i uninstalled it and the problem is solved.
Also i tried to buy the pro version of your addon by trying to signup on your forum. but i am not able to signup.
can you help me ?
Sorry, the pro version is no longer available.
http://snogssite.com/threads/notice-premium-vbulletin-add-ons-end-of-life.625/
Krusty1231
08-06-2014, 03:29 AM
I bought this from you. I just read the pro version is no longer available. I get that, but am wondering if the last update was 1.0.8 as I have it?
On your site it asks me to register - even tho I am logged in - and I can't see where to make sure I have the latest version before this goes kaput!
Thanks.
nhawk
08-06-2014, 12:15 PM
I bought this from you. I just read the pro version is no longer available. I get that, but am wondering if the last update was 1.0.8 as I have it?
On your site it asks me to register - even tho I am logged in - and I can't see where to make sure I have the latest version before this goes kaput!
Thanks.
Yes, 1.0.8 was the last update for the premium version.
waldbauer.com
08-29-2014, 01:42 PM
Hello ! Is it possible to let everybody see a code in a single post within a forum where only logged in users normally can see the code ?
nhawk
08-29-2014, 01:58 PM
Hello ! Is it possible to let everybody see a code in a single post within a forum where only logged in users normally can see the code ?
No, that's not possible.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.