vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Simple global announcement (https://vborg.vbsupport.ru/showthread.php?t=171034)

tommykjensen 02-19-2008 10:00 PM

Simple global announcement
 
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.


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. See here for 3.6.x version.
1.3.0 Now compatible with vB 3.7.0 RC 1. No template edits required.

SEOvB 02-20-2008 05:25 PM

umm, why not use the notice system built into 3.7?

tommykjensen 02-20-2008 05:27 PM

Thats also possible but I did this for the excercise too.

KURTZ 02-20-2008 07:06 PM

Quote:

Originally Posted by FRDS (Post 1447511)
umm, why not use the notice system built into 3.7?

i really don't understand this hack ...

SEOvB 02-20-2008 08:54 PM

Its just another way of displaying annoucements to your forum members.

bxbigt 02-21-2008 01:20 AM

Quote:

Originally Posted by FRDS (Post 1447511)
umm, why not use the notice system built into 3.7?

It kinda sucks thats why:(

Rickeo 02-21-2008 04:26 PM

I like it :)

tommykjensen 03-20-2008 05:26 PM

Confirmed working with 3.7.0 RC 1

KURTZ 03-20-2008 05:47 PM

dude this is a Notice ... not a global announce ... ;)


All times are GMT. The time now is 02:40 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.01027 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete