PDA

View Full Version : How can I make vB include two additional HTML bits when a user views a Category?



Titus
Thu 28th Oct '04, 12:32pm
How can I make vB include two additional HTML bits when a user views a Category?

Ok, this one is going to be a little hard to fix. This is some of the code that I have in my FORUMDISPLAY template.
(see attachment 'trfproblemcode1.txt)

This works as I want it to when a user views a forum (see screenshot ( http://www.vbulletin.com/forum/attachment.php?attachmentid=12028) and when a user views a forum with subforums, topics, and the bottom stuff (see screenshot) ( http://www.vbulletin.com/forum/attachment.php?attachmentid=12027), and when a user views a forum with no subforums, and just topics and bottom stuff (see screenshot) ( http://www.vbulletin.com/forum/attachment.php?attachmentid=12026). However, when a user views a forum with just subforums (eg; in category view), everything is wonked out (see screenshot) ( http://www.vbulletin.com/forum/attachment.php?attachmentid=12025)

This appears to be because vB is not including the top of my box table for the bottom section, and is including only part of the bottom of the box table.

This is the HTML that is outputted from vB (see attachment 'trfproblemcode2.txt). As you can see, not only is the topic list removed (as it should be), but my custom HTML is missing, except for the table ending tags on the bottom.

The bunch of hidden div's are there because I thought vB was including a set number of lines at the end. This was after four hours of trying to figure out what was going on, so... yeah.



Kind of a complicated problem, and I'm sure it wasn't explained well. I hope someone can help me. :) Let me try again...

VB seems to know which 'chunks' of code to include when I view a category by itself. How can I tell it to include two more (the top and bottom of my square tables)? Right now it's removing the top one, and part of the bottom one.

Thanks.

Steve Machol
Thu 28th Oct '04, 3:28pm
To get vB support on these forums you first need to be a licensed customer and register for Priority Forum Support. To do this, please go here:

http://www.vbulletin.com/members/membersupport_priority.php

...and enter your email address in one of the boxes. You'll need to have your customer number and password to access the page.

If you still have problems after doing this, send an email to support@vbulletin.com. Please include your user name, the email address you registered with and your customer number so we can fix the problem.

Titus
Thu 28th Oct '04, 3:55pm
Done.

Is that new? I don't remember doing that last time... *shrug*

Titus
Wed 3rd Nov '04, 12:27pm
Bump. :)
VB seems to know which 'chunks' of code to include when I view a category by itself. How can I tell it to include two more (the top and bottom of my square tables)? Right now it's removing the top one, and part of the bottom one.

Titus
Wed 23rd Feb '05, 11:05pm
Major bump here. I'm still having this problem, and I can't seem to fix it via the templating system. Every time I view a category (http://www.vbulletin.com/forum/forumdisplay.php?f=26) (which displays the list of forums in it, and then options below) I get the fragmented display as demonstrated in this screenshot (http://www.vbulletin.com/forum/attachment.php?attachmentid=12027). This isn't happening anywhere but when I view a category.

Thanks!