vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Hide Various BB Code Content From Users (https://vborg.vbsupport.ru/showthread.php?t=105160)

USAMustangs.com 03-06-2008 05:28 AM

Quote:

Originally Posted by pforp (Post 1458200)
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

Quote:

Originally Posted by codershark (Post 1468833)
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

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....3&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
Code:

<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

Quote:

Originally Posted by Protic (Post 1618931)
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 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:

Code:

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

Quote:

Originally Posted by Brembo (Post 1586795)
To make it work in 3.7.x ... Open the xml file & replace line 357 to
Code:

<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

Quote:

Originally Posted by Vaupell (Post 1729140)
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

Quote:

Originally Posted by algert (Post 1811033)
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....0&postcount=99
  • Uninstall
  • Replace in HTML file this one:
    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

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

Quote:

Originally Posted by Makc666 (Post 1815906)
Read this one:
https://vborg.vbsupport.ru/showpost....0&postcount=99
  • Uninstall
  • Replace in HTML file this one:
    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

Well does this works with Cache lifespan switched on?

Makc666 05-26-2009 08:01 AM

Quote:

Originally Posted by algert (Post 1816134)
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

Quote:

Originally Posted by alduren (Post 1818623)
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:-
Code:

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

Quote:

Originally Posted by ontherun (Post 1828076)
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 https://vborg.vbsupport.ru/showthread.php?p=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

Quote:

Originally Posted by Makc666 (Post 1815906)
Read this one:
https://vborg.vbsupport.ru/showpost....0&postcount=99
  • Uninstall
  • Replace in HTML file this one:
    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

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)


All times are GMT. The time now is 01:01 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
  • Page Generation 0.01656 seconds
  • Memory Usage 1,829KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (10)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete