PDA

View Full Version : How to change category position?


marlyred
03-02-2008, 05:57 PM
Hi,

How can I make the category heading and description appear above the row which has the 'forum', 'last post', 'threads' and 'posts' headers? on the forum front page?

Cheers

snakes1100
03-02-2008, 06:06 PM
By default, the forum home page only has those rows once at the top of the page, you might want to post a screen shot, supply a link to your site etc, if your forum is closed to guests, supply a test account to use.

marlyred
03-02-2008, 06:34 PM
I have attached a screenshot. I hope you can understand what I want to do.

snakes1100
03-02-2008, 06:41 PM
By default vbulletin only does that once, the other forums by default dont have that info listed for each category section, that would require an additional hack/code change.

Unless you plan on doing what vb.org has done, are you sure you want to do it for just one category?

marlyred
03-02-2008, 07:05 PM
Yeh I would like to replicate what vb.org has done. Have they done this by hacking the code? If so, do you know the hack?

snakes1100
03-02-2008, 07:11 PM
Its actually a template change, that modification came out years ago, not even sure if i have it anymore on my puter, ill check though, it might be here on the forum someplace, you could try searching in the template forums in the older 3.0.x & 3.5.x sections

marlyred
03-02-2008, 07:17 PM
ok, thanks. I will have a search. If you can find it could you post it here please...cheers

snakes1100
03-02-2008, 08:55 PM
Open forumhome template and remove this code and re-save the template:


<tr align="center">
<td class="alt1">&nbsp;</td>
<td class="alt2" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="alt1" 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>

Open forumhome_forumbit_level1_nopost template and place the code from above right after this line and resave the template:

<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>

MAKE SURE YOU BACKUP BEFORE MAKING TEMPLATE CHANGES!

kj_202
05-18-2008, 03:28 PM
I was advised by an forum moderator to post in the thread so I am :)

Snake... does that work with 3.7 because I tried and it doesn't, any ideas or is it just me?