Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Urgent Announcement Details »»
Urgent Announcement
Version: 1.01, by ZomgStuff ZomgStuff is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.6.7 Rating:
Released: 06-21-2007 Last Update: 07-02-2007 Installs: 53
Template Edits
 
No support by the author.

*******************************************
| 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

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

Show Your Support

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

Comments
  #2  
Old 06-22-2007, 03:22 PM
713JunctionP 713JunctionP is offline
 
Join Date: Mar 2007
Location: Houston, TX
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack. very handy so you don't have to keep cluttering up forums with global announcements.
Reply With Quote
  #3  
Old 06-22-2007, 06:44 PM
CMGU CMGU is offline
 
Join Date: Mar 2007
Location: Central America
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack thanks
Reply With Quote
  #4  
Old 06-22-2007, 07:14 PM
UgLy-NeRd UgLy-NeRd is offline
 
Join Date: Sep 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice mod
better than announcements
stands out more
Reply With Quote
  #5  
Old 06-24-2007, 01:23 AM
zagman76 zagman76 is offline
 
Join Date: Sep 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very cool! thanks!
Reply With Quote
  #6  
Old 06-26-2007, 01:14 AM
zagman76 zagman76 is offline
 
Join Date: Sep 2005
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 06-26-2007, 11:39 AM
winduff winduff is offline
 
Join Date: Nov 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #8  
Old 06-27-2007, 06:19 PM
malluman malluman is offline
 
Join Date: May 2007
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for sharing this hack
Reply With Quote
  #9  
Old 06-29-2007, 04:21 PM
ZomgStuff ZomgStuff is offline
 
Join Date: Feb 2007
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zagman76 View Post
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 View Post
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.
Reply With Quote
  #10  
Old 06-29-2007, 04:22 PM
ZomgStuff ZomgStuff is offline
 
Join Date: Feb 2007
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's another screenshot with much better settings.
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 11:16 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.06102 seconds
  • Memory Usage 2,286KB
  • 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
  • (2)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
  • (1)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