PDA

View Full Version : VB Announcements


Syntax2112
09-07-2008, 01:32 PM
I'm running VB 3.6.9 currently. I've noticed that as you build your forums,,,,then some sub forums,,and post an announcement, if you have sub forums anywhere the announcement posts under the sub forums.............In other none sub forums,where there are just topics and such,,the announcement in at the top as normal.

Is there anyway to force the announcement up above the sub forums ??

Thanks for any help !!

UaECasher
09-07-2008, 03:33 PM
remove the subforums :D

Syntax2112
09-07-2008, 07:29 PM
All these coders in here and not a ( decent ) answer yet !

Opserty
09-07-2008, 10:09 PM
Look in the FORUMDISPLAY template for the code in black:

<if condition="$announcebits">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
<tbody>
$announcebits
</tbody>
</table>
</if>
<if condition="$show['forumslist']">
<!-- sub-forum list -->
Add the code in Green as shown. Then find:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
<tbody>
$announcebits
<tr>
<if condition="$show['search_engine']">
Delete the code in red.

I haven't tested it though, so keep a backup of the old template! (Copy and paste it into notepad or something)

Syntax2112
09-07-2008, 10:34 PM
worked perfect !!!!!!!!!!!!!!!

Thank you !