PDA

View Full Version : help needed please...category images and more


The Wise One
12-08-2003, 08:56 PM
greetings :)

im having a bit of trouble.

i currently run VB3 Gamma.

i have installed the following mods...all done by Faranth (great work by the way :thumb: ):

[Release - Gamma] Forum Spacing (http://www.vbulletintemplates.com/mods/showthread.php?t=4960) and all the mods in that thread...

and

[Release - Gamma] Forum Header Under Categorys v3 (http://www.vbulletintemplates.com/mods/showthread.php?t=4959)

i am attempting to get category images to work with gamma and i almost have it...but there is one annoying problem that i seem unable to figure out.

if you visit http://forum.hel-razor.com and look at the first category under "whats going on", it should say "News/Polls" but instead, it displays the name of a forum in a hidden category and also links to that forum. im not sure why it is doing this.

i have included attachments detailing my forumhome, forumhome_forumbit_level1_nopost, and forumhome_lastpostby.

these are the 3 templates the above linked mods require editing.

thanks in advance for any help.

Brad
12-09-2003, 10:06 AM
Have you tried re-building the forum info or seeing if that forum was re-named?. This look more like a db issue because of a upgrade/forgin query then a template issue.

The Wise One
12-09-2003, 07:53 PM
Have you tried re-building the forum info or seeing if that forum was re-named?. This look more like a db issue because of a upgrade/forgin query then a template issue.
i havent tried to rebuild forum info. not exactly sure how to do this but will poke around and try to figure out.

it wasnt like this until i started trying to get the cat images in there.

The Wise One
12-09-2003, 08:12 PM
if the rebuild forum info is in the maintenance section of the admincp...i just tried it with no luck :(

Zachery
12-09-2003, 09:17 PM
i dont see anything wrong ?

The Wise One
12-09-2003, 09:36 PM
i dont see anything wrong ?
whats the style name you are looking at? it should be displayed as vBulletin3 in the drop down menu. its a black/dark style. then look for the problems posted above in my original post.

Zachery
12-09-2003, 09:45 PM
yes, i only see the "whos online bit" no hidden fourm names

The Wise One
12-09-2003, 09:55 PM
yes, i only see the "whos online bit" no hidden fourm names
maybe im getting confused at what you are looking at...or i am having trouble conveying what the issue is.

please bare with me as i try to explain better.

right below the "whats going on?" section...i have all my categories and forums. structure is as follows:

News/Polls
--Announcements
--News
--Polls
--Security Issues

The Old Farts Forum
--The Old Farts General Forum

General
--Artisitic Impressions
--Gamerz Haven
--General

and so on. the last category is titled "Technical" and has 3 forums in it. below that, i have a hidden category titled "HEL-RAZOR" with 3 forums in it. one of these forums is titled "Test Forum".

if you look at the first category under the whats going on block...in the middle of the cat image, you will see "Test Forum" where it should say "News/Polls". the link also points to the "Test Forum" inside of the hidden category where it should point to "News/Polls".

Brad
12-09-2003, 10:10 PM
Found the error, you have a <if> tag messing it up, replace forumhome_forumbit_level1_nopost with this:

<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="40"><img src="images/leftb.gif" border="0"></td>

<td align="center" background="images/centerb.gif" width="100%"></a></td>

<td width="40"><img src="images/rightb.gif" border="0"></td>
</tr>
</table>
</table> <br />
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="112"><img src="images/left.gif" border="0"></td>

<td align="center" background="images/center.gif" width="100%"><b><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a></b></td>

<td width="112"><img src="images/right.gif" border="0"></td>
</tr>
</table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">


<tbody>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</tbody>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead"></td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
</tbody>

The Wise One
12-09-2003, 10:15 PM
that <if> tag is part of one of the template mods i installed from Faranth. taking out that <if> code messes my forums all up and still does not fix the issue i am having. thanks tho. i appreciate you taking the time to help me with this.

Brad
12-09-2003, 10:19 PM
The <if> tag is cuasing the error because it only runs when the forumid is 3, your news/poll cat is id 3. So it is ethor remove the <if> tag or double up the code and keep the <if> tag.

The Wise One
12-09-2003, 10:26 PM
The <if> tag is cuasing the error because it only runs when the forumid is 3, your news/poll cat is id 3. So it is ethor remove the <if> tag or double up the code and keep the <if> tag.
im not sure what you mean by "doubling up on the code". im still kinda new to vb tho im learning little by little.

what confuses me is even with removing the <if> tag...the problem still exists in the cat image. :confused: