Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Simple global announcement Details »»
Simple global announcement
Version: 1.1.0, by tommykjensen tommykjensen is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.8 Rating:
Released: 11-26-2005 Last Update: 05-27-2007 Installs: 91
Uses Plugins Template Edits
 
No support by the author.

Inspired by the Welcome headers hack I wanted to add a simple global announcement that I could turn on and off via the admin cp and change the announcement from acp.

The Dynamic Announcements hack is a bit more than I require so I wrote my own simple global announcement hack.

To install import the xml file as a product in the Plugin Manager.

Modify template FORUMHOME add

$simple_global_announcement

where You want the announcement to be placed. I have placed it after $navbar and before <!-- main --> like this

Code:
<body>
$header
$navbar
$simple_global_announcement

<!-- main -->

To enable the announcement goto vBulletin options and open settings for "Global annoucement". Here You can enable/disable the announcement and enter the text to display.


Change history.

1.1.0 Made the announcement box collapsable


Future.
I am hoping a new template hook will be added in FORUMHOME just after $navbar so future template edits won't be required to install this.

Show Your Support

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

Comments
  #2  
Old 11-27-2005, 03:48 PM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT: Having some problems, it's not showing up. I did the template modification and turned it online via the admincp and included a message. Any ideas?
Reply With Quote
  #3  
Old 11-27-2005, 04:53 PM
Watson's Avatar
Watson Watson is offline
 
Join Date: May 2004
Location: Scotland
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks pretty cool, however will this interfere with my Geek Banner System?
Reply With Quote
  #4  
Old 11-27-2005, 05:14 PM
MoMan MoMan is offline
 
Join Date: Oct 2005
Location: USA
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome! Nice and simple, yet effective!
Reply With Quote
  #5  
Old 11-27-2005, 05:16 PM
tommykjensen tommykjensen is offline
 
Join Date: Nov 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Daniel
Having some problems, it's not showing up. I did the template modification and turned it online via the admincp and included a message. Any ideas?
Hmm, strange. You loaded the xml file via plugin manager, edited the template FORUMHOME? Can You post a few lines from that template around where You made the change?

If You goto the settings are the global announcement then still enabled and the text still there?


Quote:
Originally Posted by Watson
Looks pretty cool, however will this interfere with my Geek Banner System?
I don't know that banner system so I don't know if it will interfere.
Reply With Quote
  #6  
Old 11-27-2005, 05:41 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Daniel
EDIT: Having some problems, it's not showing up. I did the template modification and turned it online via the admincp and included a message. Any ideas?
also check your template if you have more then one beside the default you have to make changes to each template in nav bar... :ermm:
Reply With Quote
  #7  
Old 11-27-2005, 05:56 PM
-=Sniper=- -=Sniper=- is offline
 
Join Date: May 2002
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

simple will be installing.
Reply With Quote
  #8  
Old 11-27-2005, 09:08 PM
BiReL41r BiReL41r is offline
 
Join Date: Nov 2005
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, but does it interfere if you have the Dynamic Announcement installed aswell?
Reply With Quote
  #9  
Old 11-28-2005, 07:07 AM
tommykjensen tommykjensen is offline
 
Join Date: Nov 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BiReL41r
Great hack, but does it interfere if you have the Dynamic Announcement installed aswell?
I don't know, but I don't think so. I have not installed Dynamic Announcement installed.
Reply With Quote
  #10  
Old 11-29-2005, 07:06 PM
Hexemer's Avatar
Hexemer Hexemer is offline
 
Join Date: Sep 2003
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can i make it colabsable?
Reply With Quote
Reply


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 03:54 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04807 seconds
  • Memory Usage 2,294KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete