PDA

View Full Version : Hide Various BB Code Content From Users


calorie
01-11-2006, 10:00 PM
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], , [PHP], [HTML], [IMG], [QUOTE]

See the add_custom_bbcodes.txt (https://vborg.vbsupport.ru/showpost.php?p=893486&postcount=45) 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:

<setting varname="hide_bbcode_list" displayorder="200">
<datatype>bitfield</datatype>

IrPr
01-12-2006, 06:33 PM
1st click
/me installed
thanks

MPDev
01-12-2006, 07:02 PM
Thanks! I was asking for this.... :)

apfparadise
01-12-2006, 07:42 PM
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/showthread.php?t=5730

4number8
01-13-2006, 02:47 AM
Thanks, I was wanting to know if their was a way to get this to work on the homepage also? vBadvanced CMPS

Logikos
01-13-2006, 03:12 AM
Needs to be fixed in archive
http://www.photoplog.com/forum/archive/index.php/t-1.html

calorie
01-13-2006, 04:23 AM
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.

LockeAG
01-13-2006, 04:57 AM
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.

Great

But , how can I omit the restiction of [IMG] code on the signatures

Logikos
01-13-2006, 06:01 AM
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.

Kool thanks man, clicks install!

calorie
01-13-2006, 06:21 AM
@LockeAG: try the following:

Replace the following:

if (!in_array($this->registry->userinfo['usergroupid'], array(2,6,9)))


With the following:

if (!in_array($this->registry->userinfo['usergroupid'], array(2,6,9)) AND is_numeric($forumid))

croportal
01-13-2006, 01:03 PM
can i use this just for img, not for quote, php, html

i only need for the images

thanks

EasyTarget
01-13-2006, 03:12 PM
wow, nice job again calorie.
I was gonna ask the same thing as croportal, can the bbcode restrictions be set up independently of eachother?

calorie
01-13-2006, 08:42 PM
For just images use:

$zzz_bbcode_array = array(
'/(\[img])(.*)(\[\/img])/siU'
);

croportal
01-13-2006, 08:44 PM
yes but i seen something on several places img, i dont understand what i need to move

LockeAG
01-15-2006, 03:53 PM
@LockeAG: try the following:

Replace the following:

if (!in_array($this->registry->userinfo['usergroupid'], array(2,6,9)))


With the following:

if (!in_array($this->registry->userinfo['usergroupid'], array(2,6,9)) AND is_numeric($forumid))



Thanks but I try it and the signatures did not appear..

calorie
01-15-2006, 04:15 PM
Okay try replacing with this instead:

if (!in_array($this->registry->userinfo['usergroupid'], array(2,6,9)) AND is_numeric($forumid) AND $forumid > 0)

croportal
01-15-2006, 04:30 PM
can u make that for url code

calorie
01-15-2006, 04:43 PM
Working on a new version that'll be easier to use via vB options, and it'll include [URL] too.

croportal
01-15-2006, 04:47 PM
<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

croportal
01-15-2006, 04:52 PM
and here is normal

http://www.croportal.net/forum/showpost.php?p=43056&postcount=1

nasser71
01-15-2006, 09:43 PM
nice work man thanks

calorie
01-15-2006, 09:59 PM
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.

silurius
01-16-2006, 03:21 AM
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).

SnickersTK
01-16-2006, 07:33 PM
How to add other BB codes you want hidden?

apfparadise
01-17-2006, 02:53 AM
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.

Calorie, looks Excellent. one snag, more my problem than yours, wonder if you can help. I have deleted the original instructions and now have no clue how to uninstall, totally forgot. :(

calorie
01-17-2006, 02:58 AM
vB ACP -> Plugin System -> Manage Products -> Choose Uninstall from a Drop Down Menu

croportal
01-18-2006, 02:28 PM
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

calorie
01-18-2006, 07:39 PM
That's an attachment, not a BB code thing. ;)

Dj-BuZ
01-18-2006, 09:19 PM
can you make this hack to make the member post in order to see the hidden post ?

croportal
01-18-2006, 09:20 PM
nou thats a bbcode

croportal
01-18-2006, 09:21 PM
Kod:

Slike su vidljive samo registriranim korisnicima


that mean:

Picures are availble to registered users

this is the code

https://vborg.vbsupport.ru/

https://vborg.vbsupport.ru/

vietfancy
01-18-2006, 10:45 PM
thankss

KayDEE
01-18-2006, 11:22 PM
another nice hack from calorie :)
* KayDEE hits install

calorie
01-19-2006, 05:18 PM
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?

cclaerhout
01-19-2006, 11:05 PM
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.

croportal
01-20-2006, 02:33 PM
(ACP -> Plugin System -> Manage Products). Unintall "Hide BBcode Content"

i have deinstalled and i cannot see the pictures now, whats the problem

croportal
01-20-2006, 02:42 PM
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

croportal
01-20-2006, 02:56 PM
this is just now working

can u tell me hove to completely remove, i need templte revert but whic template

calorie
01-20-2006, 10:25 PM
To remove: vB ACP -> Plugin System -> Manage Products -> choose Uninstall from a drop down menu

croportal
01-21-2006, 09:02 AM
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

puertoblack2003
01-24-2006, 03:51 PM
hey good hack but have one problem everything seem to be working well but my other admin seem to have problem viewing url it is saying you have to be a register member to view the other side of the content kinda confuse unless it's in ie...thanks in advance.

croportal
01-24-2006, 03:58 PM
i have deinstalled you hack but look

http://www.croportal.net/forum/showthread.php?t=7070

calorie
01-25-2006, 02:58 AM
The 'Hide Groups' hides BB codes from any primary or secondary usegroup in the given list, so don't let such users rebuild post cache. Have the admin who does not have a primary or secondary usergroup in 'Hide Groups' go to vB ACP -> Maintenance -> Update Counters -> Rebuild Post Cache to rebuild post cache.

harmor19
01-29-2006, 05:34 PM
How can I get this to work with custom bbcodes?

calorie
02-07-2006, 05:45 PM
Example attached showing how to add custom BB codes to the mod...

Oomple
02-12-2006, 03:28 PM
Thanks! Nice Mod! :)

*clicks install*

Algren_San
02-25-2006, 06:46 PM
i did had a problem before with the "Only registered user can see this content" but i clean my post cache and all done :)

dave777
02-28-2006, 09:52 PM
This is a great hack, but... everyday I need to "rebuid post cache", otherwise registered (allowed) members can't see some (random) bbcode... is there anyway around this?

defcon_420
05-02-2006, 06:33 AM
i need a this hack to hide my media tags only from unregistered users. Is there a way to do this WITHOUT having to rebuild the post cache daily?

defcon_420
05-02-2006, 08:27 AM
"Clicks Install"

seems to work well, thx for the file on how to add more bb tags :)

Stifler
05-12-2006, 12:53 AM
This is a great hack, but... everyday I need to "rebuid post cache", otherwise registered (allowed) members can't see some (random) bbcode... is there anyway around this?
I'm having the same exact probelm.. Is there?

DementedMindz
06-11-2006, 01:32 AM
is this buggy or does it work well? im looking for something almost like vb.org has installed when your not logged in... any feedback from anyone? cause i seen a few people had issues..

ILTK
07-01-2006, 03:30 PM
Hi, great little mod, installed :)

Is there anyway to have it also work on announcements?

That's the only place where it doesn't seem to work.

4yBak
07-02-2006, 01:27 PM
does this product have an option to manage permissions for each forums? If no, in future this options be planning?

peterska2
07-15-2006, 12:34 AM
This works superbly in 3.6.0 RC1


[edit] Actually, it didn't. Uninstalled till an update is written. :(

AMG021
10-08-2006, 03:36 AM
does this work for 3.6?

AMG021
10-20-2006, 09:13 PM
I uninstalled this hack now from my 3.6.2 and im getting this when i press "# < >"



when i should be getting this





How can i revert it back? Please someone help me!

AMG021
10-21-2006, 12:04 AM
Can someone help me please?

AMG021
10-22-2006, 12:14 AM
heellooo i need this too be fixed please

DS MrSinister
10-22-2006, 02:31 AM
Try to do a phrases search see if that works.

AMG021
10-22-2006, 06:37 PM
Try to do a phrases search see if that works.
i couldn't find it. :(

Mastar
10-27-2006, 02:27 PM
Does this work in Vb3.6 also?

Mastar
11-02-2006, 09:43 PM
What tables are inserted into the DB?

secretgol
11-24-2006, 02:35 PM
ı ınstalled ın 3.5 versıon and used thıs pullıng before!after ı updated to 3.6.2 and then whıle ı am tryıng to do some stuffs in admincp vBulletin Options,ıt gıves some errors!here ıs the error;

Marco van Herwaarden

Fatal error: Unsupported operand types in /var/www/vhosts/********/httpdocs/forum/includes/adminfunctions_options.php on line 403


we trıed to get a solutıon from vBulletin Supports Ticket but someonelse from there sent us an emaıl .ıt ıs wrıtten down;
Marco van Herwaarden

This only occurs when you try to save the Settings for the Hide BB Code modification you have installed. All other setting groups can be saved normal. Please contact the author of this modification to fix this.

help me

Ohiosweetheart
11-26-2006, 04:00 PM
This works superbly in 3.6.0 RC1


[edit] Actually, it didn't. Uninstalled till an update is written. :(

I wonder if an update IS going to be written?

Ohiosweetheart
11-26-2006, 04:00 PM
Does this work in Vb3.6 also?apparently not

Barakat
12-01-2006, 08:38 PM
works on 3.6.4 thankssssssssssssssssssssssssss

seany1
12-12-2006, 04:57 PM
works on 3.6.2 thanks :D

Zia
03-01-2007, 01:13 AM
:) its a nice hack..

i just want to hide image from un-registerd & 2 particular user group (user awaiting for email confirmation & another one) for vb3.6.4 ..

any one can help me out ?

Thans in advance.

Zia
03-04-2007, 04:48 PM
any one try it with 3.6.5 ?

DementedMindz
04-16-2007, 10:08 PM
any one try it with 3.6.5 ?


just tried it on 3.6.5 works ok but if you have rss on then they can still see the hidden code.

arena
05-30-2007, 03:54 PM
works on 3.6.6 thanks;)

brfrankl
07-19-2007, 11:10 AM
Worked perfectly for CODE block in 3.6.7PL1

Didn't try others.

realsumon
09-06-2007, 09:55 AM
Working fine for vb 3.68 - check mine website: http://www.amaderforum.com

USAMustangs.com
09-22-2007, 04:38 AM
How does setting the cached post setting to 0 affect overall site performance?

luroca
11-16-2007, 10:59 AM
Thanks for this hack.

Namaless
01-23-2008, 03:50 PM
ı ınstalled ın 3.5 versıon and used thıs pullıng before!after ı updated to 3.6.2 and then whıle ı am tryıng to do some stuffs in admincp vBulletin Options,ıt gıves some errors!here ıs the error;



we trıed to get a solutıon from vBulletin Supports Ticket but someonelse from there sent us an emaıl .ıt ıs wrıtten down;

help me
I found the solution:

Search in XML product and change this:
<setting varname="hide_bbcode_list" displayorder="200">

After change:
<datatype>number</datatype>

into

<datatype>bitfield</datatype>

Then upgrade hack and works correctly ;)

Darked_Hax
02-18-2008, 12:22 PM
Working On Vb 3.6.8 PL 2

Many thanks!!!

Basit
03-01-2008, 05:25 PM
Installed, Many Thanks

pforp
03-06-2008, 04:26 AM
hello, does this hack work on 3.6.x installations? thanks.

USAMustangs.com
03-06-2008, 05:28 AM
hello, does this hack work on 3.6.x installations? thanks.

It's working fine for me on vB 3.6.5

dvbusuario
03-09-2008, 07:47 PM
Working for me vB 3.6.8 L2

Thanks

Nice Hack!

Whiteyez
03-15-2008, 10:52 PM
Working on vBulletin Version 3.7.0 Beta 6

THANKS!!

yinyang
03-16-2008, 12:15 AM
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.

codershark
03-19-2008, 04:42 PM
works great on vbulletin 3.7 Beta 6 (with Code change in XML)

yinyang
03-19-2008, 10:46 PM
works great on vbulletin 3.7 Beta 6 (with Code change in XML)

can you share what these were?

codershark
03-20-2008, 03:38 AM
have a look at post 77 (https://vborg.vbsupport.ru/showpost.php?p=1427413&postcount=77)

ChU v2
04-14-2008, 12:33 AM
working on 3.6.9

nirvana43
04-26-2008, 03:57 PM
can you make it for Vbulletin version 3.7??? i need this very badly.

Astrof
06-16-2008, 07:44 AM
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.

alirezazt
07-07-2008, 02:46 PM
hello my vibulletin ver. is 3.7.2
I Installed
but when i change any settings show this error:
Fatal error: Unsupported operand types in D:\Domains\mydomain.com\wwwroot\forum\includes\adm infunctions_options.php on line 680

It's very useful for me please help me .

thanks:)

Whiteyez
07-09-2008, 09:32 AM
Do this, https://vborg.vbsupport.ru/showpost.php?p=1427413&postcount=77 and everything should work fine. I did it and its ok.

Brembo
07-29-2008, 04:40 PM
To make it work in 3.7.x ... Open the xml file & replace line 357 to <datatype>bitfield</datatype>

It will work.. Thanks to who posted above..:)

alishahbazi
08-09-2008, 12:36 PM
hi dear friend.
i install this hack for vbulletin 3.7.2 but i could not change this hack.
i change this eror viewing :::

Fatal error: Unsupported operand types in /home2/p30pedia/public_html/forum/includes/adminfunctions_options.php on line 680

Please Help Me!

Protic
09-10-2008, 12:21 PM
I get the same error..
and if i use the hack..it even shows " content visible onli to registered " to me even.. in some threads..not all .. ( im admin )..

Please help.

alimcm
09-13-2008, 10:13 PM
I get the same error..
and if i use the hack..it even shows " content visible onli to registered " to me even.. in some threads..not all .. ( im admin )..

Please help.


Yes I have the same problem either !!!
Any Idea how to fix it ?


I run vBulletin 3.7.3 and the content of Codes show " content visible only to registered " to me even.. in some threads..not all .. ( I'm admin )..


I have edited the mod according to post 77 (https://vborg.vbsupport.ru/showpost.php?p=1427413&postcount=77) but it still has the problem !

f4vn
09-22-2008, 01:58 PM
Hello calorie

I have this case:

I have 2 group: Registered Member & Senior Member. Register can view all text in code tag. But i would like to do this: Register can view all text in all forums except Software forum. In Software forum only Senior Member can view text in code tag, that mean Senior can view all text in code tag in all forum.
I know where to edit, like this:


function hide_bbcode_access($hide_bbcode_info)
{
//Get current forumid to compare with the forumid config in ACP, then do some conditional expression, i stuck here
$hide_bbcode_blocked = 1;

$hide_bbcode_disallowed = explode(",",str_replace(" ","",$hide_bbcode_info->options['hide_bbcode_groups']));
$hide_bbcode_primary = $hide_bbcode_info->userinfo['usergroupid'];
$hide_bbcode_secondary = explode(",",str_replace(" ","",$hide_bbcode_info->userinfo['membergroupids']));
$hide_bbcode_intersect = array_intersect($hide_bbcode_disallowed, $hide_bbcode_secondary);

if (!in_array($hide_bbcode_primary, $hide_bbcode_disallowed) AND empty($hide_bbcode_intersect))
{
$hide_bbcode_blocked = 0;
}
return $hide_bbcode_blocked;

}



But i dont know how to get current forumid in this function. pls give me some suggestion. Many thanks

Vaupell
01-29-2009, 09:49 AM
ups..

Vaupell
01-30-2009, 01:30 PM
To make it work in 3.7.x ... Open the xml file & replace line 357 to <datatype>bitfield</datatype>

It will work.. Thanks to who posted above..:)

Allright! with this fix, it works for 3.8.1 aswell :D

RedHacker
03-03-2009, 07:14 AM
Fatal error: Unsupported operand types in adminfunctions_options.php on line 692

Why.....?

RedHacker
03-06-2009, 04:29 AM
Allright! with this fix, it works for 3.8.1 aswell :D

Yes but today to look say Content visible to registered users only. And I am register.... :(

RedHacker
03-09-2009, 05:34 AM
Please can say the person who create this thread....?Did you know solution....?

algert
05-15-2009, 04:10 AM
I don't think this worked with vB3.8x as I'm using vB 3.8x I can't edit the vB options of this mod.. :( Some fatal error..

Makc666
05-23-2009, 07:36 PM
I don't think this worked with vB3.8x as I'm using vB 3.8x I can't edit the vB options of this mod.. :( Some fatal error..
Read this one:
https://vborg.vbsupport.ru/showpost.php?p=1729140&postcount=99


Uninstall

Replace in HTML file this one:
<setting varname="hide_bbcode_list" displayorder="200">
<datatype>number</datatype>

To this one:
<setting varname="hide_bbcode_list" displayorder="200">
<datatype>bitfield</datatype>

Install

kkingg
05-23-2009, 11:20 PM
thanks installed but one have problem to registered users feedback sometime, no see BBcode

algert
05-24-2009, 06:23 AM
Read this one:
https://vborg.vbsupport.ru/showpost.php?p=1729140&postcount=99


Uninstall

Replace in HTML file this one:
<setting varname="hide_bbcode_list" displayorder="200">
<datatype>number</datatype>

To this one:
<setting varname="hide_bbcode_list" displayorder="200">
<datatype>bitfield</datatype>

Install


Well does this works with Cache lifespan switched on?

Makc666
05-26-2009, 08:01 AM
Well does this works with Cache lifespan switched on?
I don't have "Cache lifespan" but changes are made on the fly.
It is hard for me to tell.

Just why not to try?
It will not make any harm to you.

alduren
05-28-2009, 07:58 AM
I've got the same problem.

Registered user cannot see some bbcode. I changed the "Cache Lifespan" to zero but it still doesn't work. Any idea why this can happen?

Thank you very much

algert
05-29-2009, 10:58 AM
I've got the same problem.

Registered user cannot see some bbcode. I changed the "Cache Lifespan" to zero but it still doesn't work. Any idea why this can happen?

Thank you very much

Check this thread:- https://vborg.vbsupport.ru/showthread.php?t=210466

ontherun
06-12-2009, 03:44 AM
I have install the Mod Hide Various BB Code Content From Users
w/ vB 3.8.2 and vbPortal. It seems to work just fine until I want to change
the BB codes that Are hidden.

I went into options and removed the tick from [img] and saved and got this error:

Fatal error: Unsupported operand types in /home/ontherun/public_html/3rd-stone.com/forums/includes/adminfunctions_options.php on line 692

Even If I try to use the setting to enable or disable I get thesame error

HELP

Makc666
06-12-2009, 09:00 AM
Even If I try to use the setting to enable or disable I get thesame error
Again and again...

Do you ever read the topics, people... :eek:

Read this one 1815906.

Limode
06-13-2009, 11:53 AM
Does not work on vb3.8
I need this hack full support vb3.8 please !!!!!!!!!!!

Concha
07-22-2009, 07:41 AM
I Want hide bbcode per forum, and only for unregistered

How how do it?

voter
07-26-2009, 02:29 PM
Any idea how to hide the code also in "Show Printable Version" of thread?

cclaerhout
08-03-2009, 02:47 AM
Read this one:
https://vborg.vbsupport.ru/showpost.php?p=1729140&postcount=99


Uninstall

Replace in HTML file this one:
<setting varname="hide_bbcode_list" displayorder="200">
<datatype>number</datatype>

To this one:
<setting varname="hide_bbcode_list" displayorder="200">
<datatype>bitfield</datatype>

Install


Thanks :)

voter
08-04-2009, 06:35 AM
Unfortunately it produces server performance problem when used with VBSEO 3.2 and vb 3.8.2.

The mysql requests that vbseo is generating, getting stucked and stucked and stucked, so that at end it look like hundreds of requests similar to if you DDoS attack.

Have to uninstall....

RTMdotORG
08-09-2009, 04:38 PM
Exactly what i was looking for... with the code edit above, it works for 3.8!!!!

bartek24m
09-01-2009, 07:03 AM
some bbcodes stay hidden after guets get registred
i suppose that it might be problem with cached templates

hostmela
10-02-2009, 02:32 AM
is ther anyway to exlcude some forums ?

turalo
11-08-2009, 08:33 AM
Really nice one, I was looking for this for a long time, thanks.

Here the solution for the problem that some people and me had by editing the setttings

for those who get's an error : Fatal error: Unsupported operand types in adminfunctions_options.php on line 692

do this :

* Uninstall (in product section)
* Replace in HTML file this one: ( you need to change the "number" to "bitfield"

Code:

<setting varname="hide_bbcode_list" displayorder="200">
<datatype>number</datatype>

* To this one:
Code:

<setting varname="hide_bbcode_list" displayorder="200">
<datatype>bitfield</datatype>

* Install (install this product again)

buddysqrrl
12-17-2009, 09:52 PM
Simple and effective Mod! Thanks.

I have not found any conflicts or problems with our forum set-up :D

Vaupell
12-18-2009, 05:31 PM
Thank you from the future!!!

this also works on vb Rc 4 2009 :D god i love good old mods.

AMG021
01-01-2010, 02:32 PM
Can someone please port this into 3.8.4

iyama
01-04-2010, 04:07 PM
Please port to vb4 gold:up:

AMG021
01-04-2010, 06:11 PM
pleasssseeeeeeeeeeeeeeee

vexvegaz
02-04-2010, 08:06 PM
just wanted to post to confirm that it DOES work on vb 4.0.1 with limited issues but functional

MarkD793
02-08-2010, 03:51 AM
I have 3.8 and it seemed to be working fine. However it seems after a while my members lose their permission to see the photo( ie: as if they were a non member) Is there a fix to use this on 3.8. I really like and have a solid need for this mod.

kofoid
02-08-2010, 01:51 PM
How did y'all get it to work for 4.0.1? I am getting a fatal error

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

bartek24m
04-13-2010, 06:12 AM
How did y'all get it to work for 4.0.1? I am getting a fatal error

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

i have the same problem, is there any fix for this ?

Dimoks
05-31-2010, 11:44 AM
hi
i need mod for hide only emails...
please help me

mmllc
06-27-2010, 06:38 PM
I wish mod creator would come back, this really messing up my board, nothing will make this plugin uninstall. I tried that bitfield workaround on PAGE 8 of this discussion, but to no avail.

https://vborg.vbsupport.ru/showthread.php?t=245360

mmllc
06-28-2010, 12:10 AM
Read this one:
https://vborg.vbsupport.ru/showpost.php?p=1729140&postcount=99


Uninstall

Replace in HTML file this one:
<setting varname="hide_bbcode_list" displayorder="200">
<datatype>number</datatype>

To this one:
<setting varname="hide_bbcode_list" displayorder="200">
<datatype>bitfield</datatype>

Install


Uninstall does not work! Same settings with NEW install. This seems like a small problem, but my board relies COMPLETELY on viewers being able to see uploaded images and what not, now, NO ONE can.

Terrona
07-16-2010, 11:42 AM
Incredible this product works on vb 4.0.5

only change


<setting varname="hide_bbcode_list" displayorder="200">
<datatype>number</datatype>


To this:

<setting varname="hide_bbcode_list" displayorder="200">
<datatype>bitfield</datatype>


Thank you very much

Karabaja
07-25-2010, 03:46 PM
Incredible this product works on vb 4.0.5

only change


<setting varname="hide_bbcode_list" displayorder="200">
<datatype>number</datatype>


To this:

<setting varname="hide_bbcode_list" displayorder="200">
<datatype>bitfield</datatype>


Thank you very much

Did you have to set Cached Posts Lifespan to 0 ?

Terrona
07-26-2010, 08:04 PM
I know not, but regular works, from time to time registered users shows that they can not see links, I have uninstalled

bartek24m
08-16-2010, 01:09 AM
i can pay 20 usd for someone who fix this issue:
"only registred users can see message" even for logged users

emreDZ
09-04-2010, 07:47 PM
Is there a similar mod working on 4.0.x?

tomko111
09-14-2010, 06:02 PM
I have got a problem, when I tick [CODE] in options and click save, then when I come back I see that [CODE] is ticked off, can anyone help me?

desitracker
09-23-2010, 05:46 PM
Does it work with vbulltin 3.8.x

Diehardshorty
09-28-2010, 03:04 AM
wont save the selected content such as quote img php code on 4.0.6 vb
remains default

SouthEastSxS
12-06-2010, 02:09 AM
Hi,

Love this hack great work, I am a bit of a noob but not totally, I wonder if you can help.

I have this blocking images if they are posted via a URL and such aka remote hosted images. Can you tell me how to block You Tube videos and attachments from unregistered folks?

I have made the XML edits to stop the error in admin cp and all is well, just want to block attachments and you tube.

Many Thanks for any help.

genxstan
05-16-2011, 09:58 AM
Can you make this mod for Vbulletin 4.1.3?

datoneer
07-29-2011, 11:41 AM
Hello
I need help! How can i do this:
Enter the message to display in the forum. This message will appear in place of original BB code content. You can use BB code here to show a text message or to display an image with a link to register. If you use BB code here, you need to allow BB code in your forums or else the BB code will not be parsed.

You can use BB code here to display an image with a link to register
What do i need to write for this?
This is my image
http://imageshack.us/photo/my-images/94/hidden.png/
and this is the link to register http://forum-st.net/register.php

Thanks

alencete
08-12-2011, 02:09 AM
Work in 4.1.5 PL1 so no avaible in print version?

Hello
I need help! How can i do this:
Enter the message to display in the forum. This message will appear in place of original BB code content. You can use BB code here to show a text message or to display an image with a link to register. If you use BB code here, you need to allow BB code in your forums or else the BB code will not be parsed.

You can use BB code here to display an image with a link to register
What do i need to write for this?
This is my image
http://imageshack.us/photo/my-images/94/hidden.png/
and this is the link to register http://forum-st.net/register.php

Thanks

You can use [URL] & [IMG] BBcodes.

Ichigo88
09-18-2011, 09:54 AM
please update this nice hack!!!!!

goxy63
09-22-2011, 01:58 PM
Please update

Thanks

alencete
12-19-2011, 06:53 PM
Work in 4.1.5 PL1 so no avaible in print version?



You can use [URL] & [IMG] BBcodes.

And work on 4.1.9, nice mod!!!! use always!! xDD and i like u can upgrade ur mod XD Thanks xD

DarkUploader
01-14-2012, 04:56 PM
Thank you.But fatal error with Vbul 3.8.6.I need hide bb code content.Help me please...

pedrovazquez10
12-03-2012, 10:12 PM
"only registred users can see message" why?

Adem GEN?
04-14-2013, 10:00 AM
Do you have a 4.2.x version of this?