vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   BB Code Enhancements - BB Code Hider Lite (https://vborg.vbsupport.ru/showthread.php?t=266744)

nhawk 10-27-2011 06:08 PM

It seems I must apologize to everyone that had this problem.

vBulletin itself was caching posts and when they were viewed by people that were allowed to view the code, vBulletin would display what it had in it's cache.

The fix posted today kills the post read from the vBulletin cache so that shouldn't happen any more.

dtommy79 10-27-2011 06:48 PM

Thanks for the quick fix. It seems to work now properly.

killer_t 11-06-2011 12:15 AM

Hi, nice plug-in!
I've an issue: the code is visible in the Recent Forum Message CMS widget! How to Hide??
Thank's!

emperatour 11-06-2011 04:42 AM

I get the following warnings on 4.1.6 and the code is still visible:

Code:

Warning: Unterminated comment starting line 1 in /home/---/public_html/forum/showthread.php(308) : eval()'d code on line 1

Warning: Unterminated comment starting line 20 in /home/---/public_html/forum/includes/class_bbcode.php(424) : eval()'d code on line 20

Warning: Unterminated comment starting line 20 in /home/---/public_html/forum/includes/class_bbcode.php(424) : eval()'d code on line 20

Do you have any idea what may cause this ?

Thank you

nhawk 11-06-2011 11:05 AM

Quote:

Originally Posted by killer_t (Post 2264830)
Hi, nice plug-in!
I've an issue: the code is visible in the Recent Forum Message CMS widget! How to Hide??
Thank's!

I'll have a look to see if the code can be intercepted in that widget or not. For now, the hider doesn't do the CMS widget.

nhawk 11-06-2011 11:06 AM

Quote:

Originally Posted by emperatour (Post 2264866)
I get the following warnings on 4.1.6 and the code is still visible:

Code:

Warning: Unterminated comment starting line 1 in /home/---/public_html/forum/showthread.php(308) : eval()'d code on line 1

Warning: Unterminated comment starting line 20 in /home/---/public_html/forum/includes/class_bbcode.php(424) : eval()'d code on line 20

Warning: Unterminated comment starting line 20 in /home/---/public_html/forum/includes/class_bbcode.php(424) : eval()'d code on line 20

Do you have any idea what may cause this ?

Thank you

Do these warning go away if you disable the hider?

I'm asking because it runs fine on 4.1.5 and 4.1.7 with no warnings (I never installed 4.1.6 anywhere).

emperatour 11-06-2011 03:49 PM

Quote:

Originally Posted by nhawk (Post 2264940)
Do these warning go away if you disable the hider?

I'm asking because it runs fine on 4.1.5 and 4.1.7 with no warnings (I never installed 4.1.6 anywhere).

Yes they go away when I disable the product from plugin manager. But the warnings are still there if I only disable it from BB Code Hider Lite Settings.

I also tested it on another forum (4.1.7) and it works fine. Maybe it is conflicting with another plugin in that 4.1.6 forum?

nhawk 11-06-2011 04:20 PM

Quote:

Originally Posted by emperatour (Post 2265021)
Yes they go away when I disable the product from plugin manager. But the warnings are still there if I only disable it from BB Code Hider Lite Settings.

I also tested it on another forum (4.1.7) and it works fine. Maybe it is conflicting with another plugin in that 4.1.6 forum?

It does sound like something is conflicting with it.

I triple checked and all of the comments are closed in the hider, so I don't think it's in the hider. Try uninstalling, downloading again and re-installinng. Maybe something went wrong with the install or download.

Also, you could try disabling your other mods one at a time to see if you can locate the conflict. If you do locate it, please let me know which one it is so I can see what the conflict is.

emperatour 11-07-2011 03:32 PM

Quote:

Originally Posted by nhawk (Post 2265036)
It does sound like something is conflicting with it.

I triple checked and all of the comments are closed in the hider, so I don't think it's in the hider. Try uninstalling, downloading again and re-installinng. Maybe something went wrong with the install or download.

Also, you could try disabling your other mods one at a time to see if you can locate the conflict. If you do locate it, please let me know which one it is so I can see what the conflict is.

Yes, something was going wrong in importing the product. I checked the plugins content is only this:
Code:

/*================================================*\
||##################################################
|| # BBCode Hider Lite Version 1.0.1
|| # ----------------------------------------------
|| # Copyright

So, the import of each plugin was being interrupted right before the '?' sign. Replacing all ?s with Cs in xml and solved the issue.
Probably there is something wrong in parsing ? with UTF-8 forums. Mine is in Persian language.

Thanks for your help. Your PM regarding the comment led me to checking the plugin. :)

kh99 12-06-2011 09:54 PM

Hey nhawk, can you explain how you fixed the caching issue? I looked at the code briefly but couldn't see it. Actually, if you can explain how the caching system works that would be cool.


All times are GMT. The time now is 10:08 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.01220 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)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