vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Block PHP, CODE, HTML and QUOTES from Guests for vB3.7 (https://vborg.vbsupport.ru/showthread.php?t=178176)

veenuisthebest 05-17-2008 04:00 AM

Quote:

Originally Posted by Boofo (Post 1522285)
See? There you go. Another satisfied customer. ;)

ohhh... sir, I was more satisfied than him. This was one of the most wanted mod. by me and it worked as perfect as anything until yesterday !! its my hard luck, its not working for me now..

Boofo 05-17-2008 04:05 AM

Well. liked most things, this can be fixed. We just have to figure out what you did to stop it form working. Think back. ;)

Turn on 'Add Template Name in HTML Comments' under General Settings in the vBulletin options in the Admin CP and see if the new template names show up in the view source of the page.

veenuisthebest 05-17-2008 08:15 PM

hello,

okayy, so I enabled that option and can now view the templates names in HTML comments.

yes.. those new templates are missing for guests. In fact the whole actual message body is just between <!-- message --> and <!-- / message -->

also, there seems no difference in the source of message (code box) when viewed as both member or guest.

Boofo 05-17-2008 08:46 PM

Go into the plugin manger in the Admin CP and make sure that the parse_templates plugin for this hack is not disabled.

veenuisthebest 05-17-2008 09:27 PM

its already enabled.. all the four are enabled !!

Jase2 05-18-2008 06:06 PM

Boofo, on some quotes, it is treating my members as guests -- this displaying the message and not allowing them to see the quote. Does the same for me in certain threads....

Boofo 05-18-2008 06:35 PM

That doesn't make sense why it would work for some and not others. It should work the same for everyone. And certain threads wouldn't make any difference. Check the settings.

veenuisthebest 05-18-2008 06:40 PM

Quote:

it is treating my members as guests
this also happened with me today with HTML code boxes. Yesterday it was showing the code for everyone but today I noticed hiding of the code just for members !!

i uninstalled it and rebuilt post cache ..

Boofo 05-18-2008 06:50 PM

Quote:

Originally Posted by Jase2 (Post 1523858)
Boofo, on some quotes, it is treating my members as guests -- this displaying the message and not allowing them to see the quote. Does the same for me in certain threads....

Scratch the code I just posted. That won't work like that. Would you rather I release an update the doesn't turn off the quote boxes for guests?

Boofo 05-18-2008 06:52 PM

Quote:

Originally Posted by veenuisthebest (Post 1523888)
this also happened with me today with HTML code boxes. Yesterday it was showing the code for everyone but today I noticed hiding of the code just for members !!

i uninstalled it and rebuilt post cache ..

Like I said before, you have something interfering with this hack as the HTML code boxes use the exact same if condition as the php and code boxes. Only the QUOTE box uses a different one. Try setting the post cache at 0 and see if that fixes your problems.


All times are GMT. The time now is 11:37 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.01021 seconds
  • Memory Usage 1,735KB
  • 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
  • (4)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