PDA

View Full Version : Strange Problem - Forums Eat h5!


Lazorbeam
02-16-2011, 12:28 PM
A couple weeks ago I noticed that on profile pages (http://consortium.stormspire.net/member.php?4-Sterling), 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

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

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