vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Display Enhancements - Move announcements back to above threads (https://vborg.vbsupport.ru/showthread.php?t=231460)

BSMedia 12-27-2009 10:00 PM

Move announcements back to above threads
 
1 Attachment(s)
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

Code:

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

Find:

Code:

                        <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)

Code:

<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

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

Brother Malachi 01-01-2010 08:05 AM

Quote:

Originally Posted by hornstar1337 (Post 1940920)
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

1 Attachment(s)
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/attachmen...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!


All times are GMT. The time now is 07:31 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01125 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete