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)

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.....?


All times are GMT. The time now is 12:24 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.01495 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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