Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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
  #42  
Old 06-06-2007, 07:03 AM
mrahul mrahul is offline
 
Join Date: Nov 2005
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will this work on 3.6.5 or 3.6.4
Reply With Quote
  #43  
Old 06-07-2007, 06:12 PM
tommykjensen tommykjensen is offline
 
Join Date: Nov 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes this version should.
Reply With Quote
  #44  
Old 07-26-2007, 04:50 PM
tommykjensen tommykjensen is offline
 
Join Date: Nov 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have tested the mod with 3.6.8 and it works
Reply With Quote
  #45  
Old 07-27-2007, 02:19 AM
brfrankl's Avatar
brfrankl brfrankl is offline
 
Join Date: Jul 2007
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, stupid question, but where can I go to actually change the template for the announcement itself (I want to put graphics around it so it matches my forum)
Reply With Quote
  #46  
Old 07-27-2007, 05:40 AM
tommykjensen tommykjensen is offline
 
Join Date: Nov 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Styles & Templates->Style Manager->Edit Templates->Global Announcement Templates->simple_global_announcement->Customize
Reply With Quote
  #47  
Old 07-28-2007, 08:07 PM
Dannyloski Dannyloski is offline
 
Join Date: Jun 2006
Location: FL
Posts: 401
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Simple, but just what I needed (I dont need any of the other stuff the Dynamic Announcements Hack has) ... Glad to see it working on vB 3.6.8 ...
Reply With Quote
  #48  
Old 02-19-2008, 08:01 AM
tommykjensen tommykjensen is offline
 
Join Date: Nov 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question for those that have this installed. Would you still like to use this once 3.7.0 is released ?

3.7.0 has the new highly customizeable Notices so there might not even be a point in having this mod around any longer.
Reply With Quote
  #49  
Old 02-20-2008, 05:00 PM
tommykjensen tommykjensen is offline
 
Join Date: Nov 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New version for 3.7.0 beta 5 for those that are interested

https://vborg.vbsupport.ru/showthread.php?t=171034

Template edits no longer necesary :-)
Reply With Quote
  #50  
Old 03-11-2008, 03:32 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok - I must be blind...because I'm not able to find the Global Announcement area where I can set this to active.

The only place where I see this is under the adminCP: Announcements -> Announcement Manager -> Global Announcements -> New

But it doesn't show up on our forum.

Apparently I'm overlooking something here.

Any help?
Reply With Quote
  #51  
Old 03-15-2008, 08:19 PM
tommykjensen tommykjensen is offline
 
Join Date: Nov 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you make the template edit ?
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 04:06 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.05135 seconds
  • Memory Usage 2,294KB
  • Queries Executed 25 (?)
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
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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