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.

Aclikyano 06-30-2007 01:37 PM

Quote:

Originally Posted by ZomgStuff (Post 1279291)
Here's another screenshot with much better settings.



I perferred to have it: UNDERNEATH my navbar
and
I was determined to center the DOG-GONE THING.

.....................
SO AFTER ABOUT a 1/2 hour fooling with it... (IT WORKS PERFECT n HOW I WANT IT TOO)
So maybe you can change this to 1.0.2 (just for me)! :p
--------------------------
ok look.... -> SCREENSHOT :p

-------------------------- HOW TO DO IT:

navbar template (VERY BOTTOM)
THEN...............................
Code:

<center>$UrgentAnnoucement</center>
admin cp / ZomgWTFBBQx42400 Stuff Urgent Announcements
(cudnt resist with BBQ line.. might as well add it LOL :o)

(TYPED IT OUT so ppl can just copy / paste) :rolleyes:
Border: dashed
Postion: static
Font Fam: tahoma
Top Alignment: 2
Box Alignment: left
Border Color: #97bfe1
Font Size: 12px
BG Color: #262626
Disp NEWS: obviously yes if you want it to show
Border Space: 2px
Border Padding: 2px
Font Color: #97bfe1
Announcement Message:

Quote:

Originally Posted by Aclikyanos ZOMG stuff
<font face="fixedsys"><b>-> </b></font><a href="URL TO ANNOUNCEMENT THREAD"><font color="FFFF00"><b><blink>HYPER LINK TEXT</b></blink></a></font> <b>-YOUR FORUM STAFF</b><br>

<font face="fixedsys"><b>-> </b></font><a href="URL TO ANNOUNCEMENT THREAD"><font color="FFFF00"><b><blink>HYPER LINK TEXT</b></blink></a></font> <b>-YOUR FORUM STAFF</b><br>

<font face="fixedsys"><b>-> </b></font><a href="URL TO ANNOUNCEMENT THREAD"><font color="FFFF00"><b><blink>HYPER LINK TEXT</b></blink></a></font> <b>-YOUR FORUM STAFF</b><br>

------------------------------
blue = edit
maroon = optional text
red = spacing if you need to add more then ONE announement
green = BLINKING announement / optional
------------------------------

ZomgStuff 07-02-2007 10:05 PM

I just uploaded v 1.0.2 of the hack which now includes an option for an informative icon to be displayed. Check the screenshot in this post for an example of it.

Next release will include an option to display different messages based on usergroup. I leave tomorrow morning for a 3 week vacation so it might be a while until then. I might be able to add this tonight, but I can't promise anything because I'm extremely busy today.

Akliyo I will include that in the next release.

kollam003 07-03-2007 03:53 PM

installed thanks :)

Aclikyano 07-03-2007 08:30 PM

Quote:

Originally Posted by ZomgStuff (Post 1281558)
I just uploaded v 1.0.2 of the hack which now includes an option for an informative icon to be displayed. Check the screenshot in this post for an example of it.

Next release will include an option to display different messages based on usergroup. I leave tomorrow morning for a 3 week vacation so it might be a while until then. I might be able to add this tonight, but I can't promise anything because I'm extremely busy today.

Akliyo I will include that in the next release.

o man.. please call me AC
(AC-LIK-YA-NO = ACT-LIKE-YOU-KNOW) :)

but thatz cool man... I think the one I custom created on top of yours is almost PERFECT seeing it doesnt need to be WAY the heck on top of the forums. :p

CMGU 07-04-2007 11:32 PM

Quote:

Originally Posted by Aclikyano (Post 1279918)

I perferred to have it: UNDERNEATH my navbar
and
I was determined to center the DOG-GONE THING.

.....................
SO AFTER ABOUT a 1/2 hour fooling with it... (IT WORKS PERFECT n HOW I WANT IT TOO)
So maybe you can change this to 1.0.2 (just for me)! :p
--------------------------
ok look.... -> SCREENSHOT :p

-------------------------- HOW TO DO IT:

navbar template (VERY BOTTOM)
THEN...............................
Code:

<center>$UrgentAnnoucement</center>
admin cp / ZomgWTFBBQx42400 Stuff Urgent Announcements
(cudnt resist with BBQ line.. might as well add it LOL :o)

(TYPED IT OUT so ppl can just copy / paste) :rolleyes:
Border: dashed
Postion: static
Font Fam: tahoma
Top Alignment: 2
Box Alignment: left
Border Color: #97bfe1
Font Size: 12px
BG Color: #262626
Disp NEWS: obviously yes if you want it to show
Border Space: 2px
Border Padding: 2px
Font Color: #97bfe1
Announcement Message:


------------------------------
blue = edit
maroon = optional text
red = spacing if you need to add more then ONE announement
green = BLINKING announement / optional
------------------------------


thanku very much

Derek Chai 09-09-2007 06:10 PM

Installed

viper357 07-15-2008 12:28 PM

Will this run on 3.6.5 ?

zagman76 09-12-2010 02:29 AM

-bump-
Is there a similar modification for vb4?


All times are GMT. The time now is 05:50 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.01405 seconds
  • Memory Usage 1,795KB
  • 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
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)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