Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
Move announcements back to above threads Details »»
Move announcements back to above threads
Version: 1.00, by BSMedia BSMedia is offline
Developer Last Online: Dec 2014 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.0.0 Rating:
Released: 12-27-2009 Last Update: Never Installs: 85
Template Edits
Re-useable Code Translations  
No support by the author.

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

Download Now

File Type: txt Move-Annoucement-Bit-Instructions.txt (531 Bytes, 95 views)

Screenshots

File Type: jpg Move-Annoucement-Bit.jpg (33.5 KB, 0 views)
File Type: jpg Moved-Annoucement-Bit.jpg (37.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-28-2009, 07:01 PM
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
Location: USA
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 12-28-2009, 09:52 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As above. I can't believe they moved it, it really looked out of place.
Reply With Quote
  #4  
Old 12-30-2009, 09:31 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed
________
Justin Bieber
Reply With Quote
  #5  
Old 01-01-2010, 08:05 AM
Brother Malachi Brother Malachi is offline
 
Join Date: Jun 2008
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337 View Post
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.
Reply With Quote
  #6  
Old 01-02-2010, 07:17 PM
BSMedia BSMedia is offline
 
Join Date: Feb 2009
Posts: 454
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not really because no one looks there for threads or annoucements.
Reply With Quote
  #7  
Old 01-07-2010, 11:33 AM
Sador's Avatar
Sador Sador is offline
 
Join Date: Mar 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:

Thanks.
Attached Images
File Type: jpg announcement.jpg (16.2 KB, 0 views)
Reply With Quote
  #8  
Old 01-22-2010, 05:08 PM
BSMedia BSMedia is offline
 
Join Date: Feb 2009
Posts: 454
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 01-22-2010, 05:36 PM
Sador's Avatar
Sador Sador is offline
 
Join Date: Mar 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm, I wouldn't know either.. I'll wait. Thanks for the reply, anyway.
Reply With Quote
  #10  
Old 02-28-2010, 12:09 PM
Bram H Bram H is offline
 
Join Date: Jul 2007
Location: The Netherlands
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sometimes the most simply modifications have the best result. This is one of them! Great stuff thanks!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:08 AM.


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.04401 seconds
  • Memory Usage 2,315KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete