![]() |
Hide Various BB Code Content From Users
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"> Code:
<setting varname="hide_bbcode_list" displayorder="200"> |
1st click
/me installed thanks |
Thanks! I was asking for this.... :)
|
Awesome, I have been asking for this all over, and it's even better, a plug in.
One comment though, does not seem to difficult for a programmer, but the array that gives you the usergroups to show to, It may be easier to do it for usergroups that it WONT show to. Most of the time (as in my case) the IMG tags will NOT be shown to Unregistered users to promote registrations. I like the idea of an array to customize it, but I had to put in 8 usergroups :) Once again, though, THANKS for this. Installed. here it is at work : http://aquatic-photography.com/forum...ead.php?t=5730 |
Thanks, I was wanting to know if their was a way to get this to work on the homepage also? vBadvanced CMPS
|
Needs to be fixed in archive
http://www.photoplog.com/forum/archi...x.php/t-1.html |
Thanks, fixed. Delete the Hide BBcode Content plugin and then import the new attachment as a product via the ACP. Note that you'll need to either a) edit the XML file to your specs prior to import or b) edit the two plugins after import. Comments are provided, but maybe later I'll set it to use vB options.
|
Quote:
But , how can I omit the restiction of [IMG] code on the signatures |
Quote:
|
@LockeAG: try the following:
Code:
Replace the following: |
can i use this just for img, not for quote, php, html
i only need for the images thanks |
wow, nice job again calorie.
I was gonna ask the same thing as croportal, can the bbcode restrictions be set up independently of eachother? |
For just images use:
Code:
$zzz_bbcode_array = array( |
yes but i seen something on several places img, i dont understand what i need to move
|
Quote:
Thanks but I try it and the signatures did not appear.. |
Okay try replacing with this instead:
Code:
if (!in_array($this->registry->userinfo['usergroupid'], array(2,6,9)) AND is_numeric($forumid) AND $forumid > 0) |
can u make that for url code
|
Working on a new version that'll be easier to use via vB options, and it'll include [URL] too.
|
<a href="http://www.croportal.net/forum/showthread.php?p=37500#post37500" target="_blank">http://www.croportal.net/forum/showt...7500#post37500</a>
loook here i have insert just for img code, and when guest wathcing you will see that he can click on the link |
|
nice work man thanks
|
Updated to use vB options and block more stuff. See screenshots in release post. If using the old version, uninstall it and then import the new version. Instructions are in the README.txt file.
|
Another excellent calorie mod. Works perfectly for most of my needs. A nice bonus would be the ability to use different blocking scenarios (e.g. block certain things from unlogged-in/guests, block other things from specific usergroups).
|
How to add other BB codes you want hidden?
|
Quote:
|
vB ACP -> Plugin System -> Manage Products -> Choose Uninstall from a Drop Down Menu
|
in here http://www.croportal.net/forum/showthread.php?t=6989
i am webmaster and i cannot see the pciture but in diferent forums i can |
That's an attachment, not a BB code thing. ;)
|
can you make this hack to make the member post in order to see the hidden post ?
|
nou thats a bbcode
|
Kod:
Slike su vidljive samo registriranim korisnicima that mean: Picures are availble to registered users this is the code https://vborg.vbsupport.ru/ HTML Code:
[img]https://vborg.vbsupport.ru/[/img] |
thankss
|
another nice hack from calorie :)
[high]* KayDEE hits install[/high] |
Thanks for the thanks. :)
croportal, at croportal.net/forum/showthread.php?t=6989 I was looking at post one. Searching for 'Slike su vidljive samo registriranim korisnicima' brings me to post five, where I see the attached. Is it post five that you mean? If so, look in the product descriptions (ACP -> Plugin System -> Manage Products). Unintall "Hide BBcode Content" if it's still there, but keep "Hide Various BB Code Content" installed. What do you have for the "Hide Groups" in the Hide BB Code settings? What happens if you edit post five? |
In the last days, some of my members never stop asking me for a private BBCode they could use in public forum. Thanks to your hack, it was very easy to do ! A great thanks. If you want i have a french translation.
|
(ACP -> Plugin System -> Manage Products). Unintall "Hide BBcode Content"
i have deinstalled and i cannot see the pictures now, whats the problem |
calorie, i have deinstalled you previosu version of this hack, then unnistaled, and i didnt edit the template because i dont know where to edit, you have release a plugin
then i install your plugin and sett al, and loook whats happend http://www.croportal.net/forum/showthread.php?t=7070 the same |
this is just now working
can u tell me hove to completely remove, i need templte revert but whic template |
To remove: vB ACP -> Plugin System -> Manage Products -> choose Uninstall from a drop down menu
|
yes i did, but it still shown. Picutures its not viewable, only to registered userds
i have before this have installed prrevious version, and in this version i have think you must edit the template, beacuse |
All times are GMT. The time now is 06:16 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|