Log in

View Full Version : Forum Display Enhancements - Move announcements back to above threads


BSMedia
12-27-2009, 10:00 PM
By default in vB4 the annoucements are sort of floating right below the header for some unknown reason. They do come in a different color which is nice, but it's pretty hideous where it's currently at.

Open FORUMDISPLAY template locate and remove


<vb:if condition="$announcebits">
<ol id="announcements" class="announcements">
{vb:raw announcebits}
</ol>
</vb:if>


Find:


<vb:if condition="$show['stickies']">
<ol id="stickies" class="stickies">
{vb:raw threadbits_sticky}
</ol>
</vb:if>


Add above (code we removed from step 1)


<vb:if condition="$announcebits">
<ol id="announcements" class="announcements">
{vb:raw announcebits}
</ol>
</vb:if>


I know it's a simple change, but it looks much nice imo.

Demo: Aperture Photography Forums : Camera Talk (http://apertureforums.com/forumdisplay.php?f=7)

VonDoom
12-28-2009, 07:01 PM
Tagged, Much better. the default placement of announcements is just bad. Thanks for helping me to put it back where it belongs and looks bests.

Hornstar
12-28-2009, 09:52 PM
As above. I can't believe they moved it, it really looked out of place.

Dr.osamA
12-30-2009, 09:31 AM
installed
________
Justin Bieber (http://justinbieberfan.info/)

Brother Malachi
01-01-2010, 08:05 AM
As above. I can't believe they moved it, it really looked out of place.

Although I agree, don't you think the default vb4 placement draws more attention to it? Makes it more...err..important so to speak.

BSMedia
01-02-2010, 07:17 PM
Not really because no one looks there for threads or annoucements.

Sador
01-07-2010, 11:33 AM
Hmm, installed. However, on the right side, the grey line seems to be missing next to the announcement. Is there any way to make that show up as well?

Screenshot: https://vborg.vbsupport.ru/attachment.php?attachmentid=109369&stc=1&d=1262871169

Thanks. :)

BSMedia
01-22-2010, 05:08 PM
you could try to add border-left and border-right to the css for the annoucement bit, but I don't have the exact edit handy atm.

Sador
01-22-2010, 05:36 PM
Hm, I wouldn't know either.. I'll wait. Thanks for the reply, anyway.

Bram H
02-28-2010, 12:09 PM
Sometimes the most simply modifications have the best result. This is one of them! Great stuff thanks!

ndut
09-09-2010, 11:58 PM
installed, on vb 4.0.5 thank you

shanef
10-18-2010, 07:59 PM
after i did this code edit i can only have one announcement at a time showing and i don't have a back up of the code to change back, i know the code is in the post but i dont know exactly where to place it any ideas?

leclownos
11-10-2010, 02:36 PM
Thank !! installed and Ok

jgt58
03-21-2011, 12:49 AM
this should be default in vbulletin

jgt58
03-21-2011, 12:50 AM
btw this works on 4.1.1

J-P
10-02-2011, 02:29 PM
not too bad. Since we can place the announcement as forum specific, I was hoping it would remain above ALL thread within that forum. Not just at the forum root.

most people search the "what's new" and won't even bother to look at the forum root and will miss the announcement.

TravisWPaquin
08-10-2013, 11:32 AM
The instructions provied are sloppy and has a poor organization. Really, the steps could of been elaborate upon much much better. Could anyone assist me, perhaps by me allowing you my administration information to resolve the issue among the coing? This would be very much appreciated if applicable.

TravisWPaquin
08-18-2013, 09:42 AM
Anybody?