vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Mini Mods - Urgent Announcement (https://vborg.vbsupport.ru/showthread.php?t=150345)

ZomgStuff 06-21-2007 10:00 PM

Urgent Announcement
 
*******************************************
| Mod: Urgent Announcements v1.0.2
| Author: ZomgStuff
| vBUlletin Version: 3.6.7 PL1
| URL: www.zomgstuff.net
*******************************************

What does this mod do?
This mod allows you to create a message at the very top. It is great for quick little news that need to be seen ASAP (ie: forum downtime, help needed, etc). Please refer for the screenshots below to fully understand what this does as I'm not too great with explinations:rolleyes:

There are many many options for it and I couldn't fit all of them in one screenshot. Help will only be given to those that click install. https://vborg.vbsupport.ru/vborg_mis...hreadid=150345

Instructions:
1) Go to Admin CP -> Plugins & Products -> Manage Products -> Add / Import Product

2) Go to Admin CP -> Styles & Templates -> Style Manager -> Edit Template -> Open 'header'

3) At the very top of the 'header' template, please place this,
Code:

$UrgentAnnoucement
4) Upload informative.png to /yourforumsdirectory/images/misc/informative.png

**If you are upgrading, you must remove / delete this hack from Add/ Import Products before uploading the new XML.
**Be sure to write down your current settings as they will be put back to default!


Next version will include an option to display different messages based on usergroup.

To see a live example, please visit: http://www.zomgstuff.net/forum/forum_index.php The box in the top left corner would be the mod.

If you like this mod, please come visit and be active on my forum ;) http://www.zomgstuff.net/forum

713JunctionP 06-22-2007 03:22 PM

nice hack. very handy so you don't have to keep cluttering up forums with global announcements.

CMGU 06-22-2007 06:44 PM

nice hack thanks

UgLy-NeRd 06-22-2007 07:14 PM

nice mod
better than announcements
stands out more

zagman76 06-24-2007 01:23 AM

very cool! thanks!

zagman76 06-26-2007 01:14 AM

Oh yeah - there's an extra '>' at the beginning of the 'zs_announcement' template - right after '$stylevar[htmldoctype]'

It was putting that character onto the top of all of the pages.

winduff 06-26-2007 11:39 AM

prob. is, if you remove it, the box covers the actual forum template (design).... but when you turn off the announcements, the > gets visible. any work-around?

malluman 06-27-2007 06:19 PM

thanks for sharing this hack

ZomgStuff 06-29-2007 04:21 PM

Quote:

Originally Posted by zagman76 (Post 1276592)
Oh yeah - there's an extra '>' at the beginning of the 'zs_announcement' template - right after '$stylevar[htmldoctype]'

It was putting that character onto the top of all of the pages.

Fixed it and updated it, thanks for brining that to my attention.

Quote:

Originally Posted by winduff (Post 1276867)
prob. is, if you remove it, the box covers the actual forum template (design).... but when you turn off the announcements, the > gets visible. any work-around?

That is the whole point that it kind of makes it float over the template.
Maybe there's a div style that can change that around, change "The box position" from absolute to something else.

ZomgStuff 06-29-2007 04:22 PM

Here's another screenshot with much better settings.


All times are GMT. The time now is 02:42 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.01038 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete