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
  #32  
Old 05-13-2007, 06:26 PM
tommykjensen tommykjensen is offline
 
Join Date: Nov 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for the long wait. I have just upgraded my test forum to 3.6.6 and tested simple global annoncement at the same time and it works with no changes.

(I have asked a moderator to move the thread to 3.6.x forum so I can update the thread with the correct version number).
Reply With Quote
  #33  
Old 05-14-2007, 04:13 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Moved.
Reply With Quote
  #34  
Old 05-16-2007, 05:53 AM
tommykjensen tommykjensen is offline
 
Join Date: Nov 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Paul.

Now also tested to work with 3.6.7.
Reply With Quote
  #35  
Old 05-16-2007, 10:26 AM
Eagle Creek's Avatar
Eagle Creek Eagle Creek is offline
 
Join Date: Jan 2004
Location: Netherlands
Posts: 742
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!
Reply With Quote
  #36  
Old 05-25-2007, 11:50 PM
marlena marlena is offline
 
Join Date: Jun 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question : I installed this, it's working fine, however when I try to use bbcode to make a url link that says (for example) click here it wont create a link and the bbcode shows up,. What am I doing wrong?
Reply With Quote
  #37  
Old 05-25-2007, 11:57 PM
scan-pa scan-pa is offline
 
Join Date: May 2006
Location: Lebanon Co. Pa. USA
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by marlena View Post
Question : I installed this, it's working fine, however when I try to use bbcode to make a url link that says (for example) click here it wont create a link and the bbcode shows up,. What am I doing wrong?

use an anchor tag, and it works fine for a link.

<A href="URL here">Text msg to show</A>
Reply With Quote
  #38  
Old 05-26-2007, 12:12 AM
marlena marlena is offline
 
Join Date: Jun 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome thanks!
Reply With Quote
  #39  
Old 05-26-2007, 12:15 AM
marlena marlena is offline
 
Join Date: Jun 2006
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm when i used that tag the box where it should show up is extremely narrow and about a millimeter tall

***edited nevermind i was just being an airhead lol i got it...
Reply With Quote
  #40  
Old 05-28-2007, 03:28 PM
tommykjensen tommykjensen is offline
 
Join Date: Nov 2005
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hexemer View Post
How can i make it colabsable?
Quote:
Originally Posted by silurius View Post
How can I control visibility by user group? This approach does not appear to work:
Code:
<if condition="$bbuserinfo['usergroupid'] == '23'">Testing permissions</if>
Collapsibility would also be awesome.
Quote:
Originally Posted by Julie View Post
Take a look at this thread:

Linky


Thanks for the link I finnally got around to do this so in version 1.1.0 it is now possible to collapse the announcement.
Reply With Quote
  #41  
Old 06-04-2007, 05:13 PM
4x4 Mecca 4x4 Mecca is offline
 
Join Date: Feb 2007
Posts: 396
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this
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 08:18 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.04828 seconds
  • Memory Usage 2,307KB
  • 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
  • (2)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
  • (4)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