vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Strange Problem - Forums Eat h5! (https://vborg.vbsupport.ru/showthread.php?t=258967)

Lazorbeam 02-16-2011 12:28 PM

Strange Problem - Forums Eat h5!
 
A couple weeks ago I noticed that on profile pages, and a few other places, headers are behaving strange;

https://vborg.vbsupport.ru/external/2011/02/22.jpg

For example, instead of reading Mini Statistics, the header instead reads < class="blocksubhead smaller">Mini Statistics. Immediately I opened up vbulletin-style.xml and thought it would be a simple matter of changing the code to <h5 class="blocksubhead smaller">. However, the code was fine and already contained h5. It appears that my forum is eating the h5 tag. When a user PM'ed me to recommend adding the h5 tag to vbulletin-style.xml, h5 had been eaten from his PM!

Any idea why this is happening?

Lynne 02-16-2011 03:53 PM

Link please? Also, try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 

Create a new style with no parent:
  • Styles & Templates > Style Manager > Add New Style
  • Parent Style: No Parent Style
  • Title: Default vBulletin
  • Allow User Selection: Yes
  • Save
Then browse the site using that totally default vbulletin style - do you still have the same problem?

Lazorbeam 02-28-2011 06:38 PM

Quote:

Originally Posted by Lynne (Post 2163250)
Link please? Also, try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 

Create a new style with no parent:
  • Styles & Templates > Style Manager > Add New Style
  • Parent Style: No Parent Style
  • Title: Default vBulletin
  • Allow User Selection: Yes
  • Save
Then browse the site using that totally default vbulletin style - do you still have the same problem?

I've provided a link in my original post. Are there additional links you require?

Tried disabling hooks, the problem is still there. When I switch styles, the problem disappears. This means I must have inserted code into a template and caused this. I'll check templates for any changes that may look sketchy, any pointers?

Boofo 02-28-2011 06:40 PM

Shouldn't that have a div or span before class?

< class="blocksubhead smaller">Achievements

Lazorbeam 02-28-2011 06:45 PM

Quote:

Originally Posted by Boofo (Post 2167961)
Shouldn't that have a div or span before class?

< class="blocksubhead smaller">Achievements

The actual css file reads <h5 class="blocksubhead smaller">.

But the forums eat the h5 tag (somehow). If I were to PM a user this exact message:

"Hello h5h5h5h5h5 world."

He would receive:

"Hello world".

Boofo 02-28-2011 07:14 PM

I would check to make sure there is a h5 class that contains blocksubhead smaller.

Lynne 02-28-2011 09:23 PM

Check your Replacement Variables for that style.


All times are GMT. The time now is 01:01 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.01006 seconds
  • Memory Usage 1,727KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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