Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-27-2010, 12:21 AM
mmllc's Avatar
mmllc mmllc is offline
 
Join Date: Nov 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 3.5 Mod messing up 3.8 - Registered Viewers Can't see Content

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/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!




Any ideas?
Attached Images
File Type: jpg youmustregister.jpg (22.8 KB, 0 views)
Reply With Quote
  #2  
Old 06-27-2010, 04:17 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3.8 has different code thats why. Disable hooks via config.php and remove the plugin...
Reply With Quote
  #3  
Old 06-27-2010, 05:49 PM
mmllc's Avatar
mmllc mmllc is offline
 
Join Date: Nov 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 06-27-2010, 10:12 PM
mmllc's Avatar
mmllc mmllc is offline
 
Join Date: Nov 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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




Any thoughts???
Attached Images
File Type: jpg CODE$.jpg (60.4 KB, 0 views)
Reply With Quote
  #5  
Old 06-28-2010, 03:47 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #6  
Old 06-28-2010, 08:16 PM
mmllc's Avatar
mmllc mmllc is offline
 
Join Date: Nov 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fixed it! Thank you
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:25 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.04749 seconds
  • Memory Usage 2,234KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (2)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete