vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   3.5 Mod messing up 3.8 - Registered Viewers Can't see Content (https://vborg.vbsupport.ru/showthread.php?t=245360)

mmllc 06-26-2010 11:21 PM

3.5 Mod messing up 3.8 - Registered Viewers Can't see Content
 
1 Attachment(s)
Hello

I had the HideBB Code mod installed on my previous versions so unregistered users see:

You must register to view this content.

https://vborg.vbsupport.ru/attachmen...1&d=1277680378

https://vborg.vbsupport.ru/showthrea...=105160&page=8

But now, even when members are logged in, the BB Codes that this mod applied to are still blocked by it. Worse yet, its even blocking ME the ADMIN from seeing the selected BB Code, most important the IMG tag. Pretty much all the images on my forum are "blocked" to everyone thanks to this mod.



In the ADMINCP -------> OPTIONS ---------> HIDE BB CODE SETTINGS

At the top of the page there is this error:

Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/public_html/forums/includes/adminfunctions_options.php(394) : eval()'d code on line 13


and every time i try to change the settings, turn off the plug in, or at the very least turn off hiding IMG, it just will not work, settings do not take effect.
  • I can't disable plugin, changes still take effect,
  • I delete product, and product won't delete!


:eek:

Any ideas?

ChopSuey 06-27-2010 03:17 AM

3.8 has different code thats why. Disable hooks via config.php and remove the plugin...

mmllc 06-27-2010 04:49 PM

Hi, I tried as you say, removed plugin, and it still was doing it.

Then I read by chance this guy's suggestion in that other thread:

Quote:

* 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)
Did that, but still getting the PARSE error like before.

But, interestingly, and this might tell us something, even with the new install of the same plugin with the bitfield text correction, on my forum my custom text for hidden BB code was different than the default that came with the plugin. But here, even with the new install of the plugin, in my postbit we see MY customized text, not the default. So what did I do wrong? Did I not remove it correctly? It was surely not in the products page after I uninstalled, but it lingers yet.

Thanks :)

mmllc 06-27-2010 09:12 PM

1 Attachment(s)
I can see where exactly this mod changes things, but I am not to well versed in Vbulletin scripting to know how this $code is changed into the "YOU MUST REGISTER TO VIEW THIS CONTENT" even when the mod is uninstalled...

https://vborg.vbsupport.ru/attachmen...1&d=1277680147


Any thoughts???

BirdOPrey5 06-28-2010 02:47 AM

uhhh... I'm pretty sure that deals with the "Code" BB Code
Code:

This.
I don't think it has anything to do with your HIDE hack.

EDIT- Oh I see your hide hides it in CODE tags... but that is just the regular CODE bbcode, I see no customizations for the Hide hack on it... You'd need to find where $code is being defined, maybe...

mmllc 06-28-2010 07:16 PM

Fixed it! Thank you :)


All times are GMT. The time now is 05:14 AM.

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.01775 seconds
  • Memory Usage 1,723KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete