vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Menu Alert (https://vborg.vbsupport.ru/showthread.php?t=105488)

Marky 01-15-2006 10:00 PM

Menu Alert
 
Hey all,

What is Menu Alert?
This modification, installs an alert that is displayed globally across your vBulletin forum.
It is completely admin controllable, and simple to install.

What can I do using Menu Alert?
The features of Menu Alert include:
  • Alert Menu Switch - Ability to turn your alert on/off.
  • Title/Content Change - Ability to change the title and content of your alert.
  • Title/Content Colour Change - Ability to change the colour of both your title and content of your alert.
  • Marquee Switch - Ability to turn on a 'Marquee'. This turns your alert into a 'Marquee'.
  • Marquee Direction - Ability to change the direction in which the marquee turns.
  • Title Prefix - Ability to change the prefix of your title.
  • HTML Ready - You can use HTML in this release!

How long will it take me to install Menu Alert?
Menu Alert is easier to install than any of my previous modifications! Just one product, will install:
1 Template
1 Plugin
1 Admin Controllable Menu
All you must do is insert $menualert into your navbar template and it's fully installed!

Support
For support on this mod, you can go to either:
MgArcade.com

Or

Post in this topic!

Suggestions
Got a suggestion? Post it here, PM me, or email me, I will try my best to include it in a future version.

Credits
Menu Alert was Created By: Marky_

Other
You must not allow this file for download anywhere but vbulletin.org without the consent of Mark Spiers (Marky_)

If you install this modification, please click 'Install' to show your support!

Would you like to donate to me? I'd be extremely grateful, no matter the amount!
https://vborg.vbsupport.ru/external/2010/02/12.gif

Current Version: 1.1

Thanks,

Marky

Marky 01-16-2006 03:34 PM

*Updated Modification to version 1.0.1*
Sorry guys - forgot to Cache the templates ;)

Freezerator 01-16-2006 03:36 PM

Nice hack :)

And isn't there an hook location between navbar and forums? Then it could be a product without template modifications :)

Marky 01-16-2006 03:37 PM

Quote:

Originally Posted by Freezerator
Nice hack :)

And isn't there an hook location between navbar and forums? Then it could be a product without template modifications :)

I'll look into it now and update it if I can ;)
Always looking into ways to make it easier to install ;)

TheProphet 01-16-2006 03:50 PM

Nice mod m8, will install... thx

uae 01-16-2006 04:32 PM

I like it, installed :)

EasyTarget 01-16-2006 05:01 PM

nice hack, installed.

feature suggestions:
ability to use/store several messages
add slot machine type scrolling so that when used in conjunction with the above feature it would rotate between one message and another by flipping up.
ability to point the hack to a forum/s to pull the latest threads from it
ability to turn it off by usergroups

docvader 01-16-2006 05:44 PM

As a devoted follower of Marky, I guess I'll install this too! :)

docvader 01-16-2006 05:53 PM

It's good. But, I have a suggestion.

I think it's hard to read the marquee, especially when you run your screen resolution high as I do. It doesn't scroll across the screen smoothly, and you can't stop it by mousing over it.

Might I suggest some way to stop the scroll when you mouse over it, or, enable some way to adjust the speed? The slot machine effect mentioned above is a good suggestion also.

Nice work.

rich

RaceJunkie 01-16-2006 06:00 PM

How does this hack differ from the Global Anouncement? It's bacicly the same but just in a different location?

Great Hacks by the way

Diana Notacat 01-16-2006 06:05 PM

I like this. XD Simply for the fact I can do cheesy "State of Emergency" messages when I'm updating the site...

docvader 01-16-2006 06:13 PM

Quote:

Originally Posted by RaceJunkie
How does this hack differ from the Global Anouncement? It's bacicly the same but just in a different location?

Great Hacks by the way

I use the Global Announcement as an announcment area for my VBDrupal Blog area, as VBDrupal has no current way of bringing attention to itself on the forum home template. I just manually input the new additions into the GA hack.

I use the Menu Alert hack as a "global announcement" device....

Works great.

Snake 01-16-2006 07:27 PM

/me clicks on install

Thanks bud!

Marky 01-16-2006 07:35 PM

Quote:

Originally Posted by docvader
As a devoted follower of Marky, I guess I'll install this too! :)

lol thanks docvader ;)

Quote:

Originally Posted by EasyTarget
nice hack, installed.

feature suggestions:
ability to use/store several messages
add slot machine type scrolling so that when used in conjunction with the above feature it would rotate between one message and another by flipping up.
ability to point the hack to a forum/s to pull the latest threads from it
ability to turn it off by usergroups

Thanks for the suggestion.
I'm hopefully going to include viewable by selected usergroups.
I like the slot machine suggestion ;)

Quote:

Originally Posted by docvader
I think it's hard to read the marquee, especially when you run your screen resolution high as I do. It doesn't scroll across the screen smoothly, and you can't stop it by mousing over it.

Yup i'm pretty sure this can be done ;)
I'll include it in the update ;)

docvader 01-16-2006 09:21 PM

You know, this really is a good addition. I needed this.
It's clear, why: http://www.russbo.org/vb/index.php?styleid=3
Thanks!

jrofosho 01-16-2006 10:03 PM

How can i slow down the scroll?

Reef 01-16-2006 10:04 PM

Thanks Marky

I stripped it down to the bare necessities. :laugh:

I agree about the scrolling needing some work, it moves about 60mph across my board.

trackpads 01-16-2006 10:15 PM

Any idea how to make it stretch across the screen instead of breaking so early?

Great hack btw!! Thanks!!

Aaron RV 01-17-2006 04:04 AM

feature suggestions:

- add slot machine type scrolling for news by forums.

hotwheels 01-17-2006 12:53 PM

very nice hack marky........... clicks *install*

hotwheels 01-17-2006 01:28 PM

Quote:

How can i slow down the scroll?
go to your admincp, style & templates, style manager,.......then click on the double arrow's.......scroll down to "menualert" and click customize......when the template opens up, delete all of the infromation in the box and add this:
Quote:

<!-- Alert Menu Content -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center"><if condition="$vboptions[alert_menu_switch]">
<td class="vbmenu_control" width="75"><font color="#{$vboptions['alert_menu_title_text_colour']}"><b>{$vboptions['alert_menu_title']}{$vboptions['alert_menu_title_fix']}</b></font></td>
<td class="vbmenu_control" width="535" align="left"><if condition="$vboptions['alert_menu_marquee_switch']">
<marquee direction="{$vboptions['alert_menu_marquee_direction']}" width="820" scrolldelay="120"></if><font color="#{$vboptions['alert_menu_content_text_colour']}"><b>{$vboptions['alert_menu_alert']}</b></font><if condition="$vboptions['alert_menu_marquee_switch']"></marquee></if></td>
</if>
</tr>
</table>
</div>
<!-- / #End Alert Menu Content -->

click save and reload............

the only change that i made was: scrolldelay="120" this is what will control your speed, you can change to your specific need's, but i think 120 is perfect.........Increase the number to slow down the scroll.........try inserting 140.........ect.


I hope it was okay for me to post this, please delete if not...........thanks, hotwheels

Marky 01-17-2006 01:56 PM

Quote:

Originally Posted by hotwheels
go to your admincp, style & templates, style manager,.......then click on the double arrow's.......scroll down to "menualert" and click customize......when the template opens up, delete all of the infromation in the box and add this:


click save and reload............

the only change that i made was: scrolldelay="120" this is what will control your speed, you can change to your specific need's, but i think 120 is perfect.........Increase the number to slow down the scroll.........try inserting 140.........ect.


I hope it was okay for me to post this, please delete if not...........thanks, hotwheels

It's fine :)
Thank you infact, I'll include this in the next release and make it admin controllable ;)

Kihon Kata 01-17-2006 02:28 PM

ok, this is the bomb. INSTALLS! pee pee time

sezmar 01-18-2006 04:24 PM

Great hack! I made a few changes you may want to include.

I added the mouse over, speed control different then above and added height because I use it scrolling up.

This is in the "menualert" Template.

Code:

<!-- Alert Menu Content -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center"><if condition="$vboptions[alert_menu_switch]">
<font color="#{$vboptions['alert_menu_title_text_colour']}"><b>{$vboptions['alert_menu_title']}{$vboptions['alert_menu_title_fix']}</b></font></td>
<td class="vbmenu_control" width="535" align="center"><if condition="$vboptions['alert_menu_marquee_switch']">
<marquee direction="{$vboptions['alert_menu_marquee_direction']}" width="820" scrollAmount="1" height="14" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=1"></if><font color="#{$vboptions['alert_menu_content_text_colour']}"><b>{$vboptions['alert_menu_alert']}</b></font><if condition="$vboptions['alert_menu_marquee_switch']"></marquee></if></td>
</if>
</tr>
</table>
</div>
<!-- / #End Alert Menu Content -->


scottct1 01-18-2006 11:20 PM

Any way to change it so the size of it adjusts depending on what the users resolution is?

bashy 01-21-2006 02:18 PM

Cheers for this...looks cool but,

Its too wide on my forum, how can i make it a little shorter please?

LJR 01-21-2006 02:25 PM

Thanks for this! Nice and neat.

SCRIPT3R 01-21-2006 04:45 PM

Quote:

Originally Posted by sezmar
Great hack! I made a few changes you may want to include.

I added the mouse over, speed control different then above and added height because I use it scrolling up.

This is in the "menualert" Template.

Code:

<!-- Alert Menu Content -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center"><if condition="$vboptions[alert_menu_switch]">
<font color="#{$vboptions['alert_menu_title_text_colour']}"><b>{$vboptions['alert_menu_title']}{$vboptions['alert_menu_title_fix']}</b></font></td>
<td class="vbmenu_control" width="535" align="center"><if condition="$vboptions['alert_menu_marquee_switch']">
<marquee direction="{$vboptions['alert_menu_marquee_direction']}" width="820" scrollAmount="1" height="14" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=1"></if><font color="#{$vboptions['alert_menu_content_text_colour']}"><b>{$vboptions['alert_menu_alert']}</b></font><if condition="$vboptions['alert_menu_marquee_switch']"></marquee></if></td>
</if>
</tr>
</table>
</div>
<!-- / #End Alert Menu Content -->


thnx!

bashy 01-21-2006 04:55 PM

How can we make it scoll up as well please?

Quote:

Great hack! I made a few changes you may want to include.

I added the mouse over, speed control different then above and added height because I use it scrolling up.

bashy 01-21-2006 04:57 PM

Hi m8

You need to edit the text in red (ok so red shows green pmsl) :) me sorted mine

<marquee direction="{$vboptions['alert_menu_marquee_direction']}" width="820" scrollAmount="1" height="14" onMouseover="this.scrollAmount=0"

Quote:

Originally Posted by scottct1
Any way to change it so the size of it adjusts depending on what the users resolution is?


Marky 02-15-2006 05:05 PM

*Menu Alert Updated to 1.1*
In this version you can now edit the width of your marquee and change the speed of it completely Admin Controlled.

Also, there is no need for template edits in the upgrade. Just Upload the new product and edit the new options available in the admin CP.

Thanks,

Marky

bashy 02-15-2006 05:12 PM

Upgraded...working oK thanks...

Marky 02-15-2006 05:15 PM

Quote:

Originally Posted by bashy
Upgraded...working oK thanks...

Good stuff - sorry I haven't included as much as I've intended too, im working on http://www.vBDiscussion.com and it's taking alot of my time ;)
Hope it all works well for you all ;)

bashy 02-15-2006 05:37 PM

So...is this your new site your working on?

Kihon Kata 02-15-2006 05:59 PM

THANKS! W00T! One problem, it didn't completely work. LOL ;) I upgraded mine from 1.0 and tried to fool with the settings etc. HTML did work fine for me, but the speed and/or width not working :(

Marky 02-15-2006 07:19 PM

Quote:

Originally Posted by bashy
So...is this your new site your working on?

Indeed it is ;)

Quote:

Originally Posted by TonysDesigns
THANKS! W00T! One problem, it didn't completely work. LOL ;) I upgraded mine from 1.0 and tried to fool with the settings etc. HTML did work fine for me, but the speed and/or width not working :(

Go to your templates and look in the template menualert, make sure you have the following in the template:

Code:

<!-- Alert Menu Content -->
<div align="center">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
        <tr align="center"><if condition="$vboptions[alert_menu_switch]">
                <td class="vbmenu_control" width="75"><font color="#{$vboptions['alert_menu_title_text_colour']}"><b>{$vboptions['alert_menu_title']}{$vboptions['alert_menu_title_fix']}</b></font></td>
                <td class="vbmenu_control" width="535" align="left"><if condition="$vboptions['alert_menu_marquee_switch']">
        <marquee direction="{$vboptions['alert_menu_marquee_direction']}" width="820"></if><font color="#{$vboptions['alert_menu_content_text_colour']}"><b>{$vboptions['alert_menu_alert']}</b></font><if condition="$vboptions['alert_menu_marquee_switch']"></marquee></if></td>
                </if>
        </tr>
        </table>
</div>
<!-- / #End Alert Menu Content -->

If this doesnt work - try reinstalling the complete modification.

Kihon Kata 02-15-2006 08:37 PM

This is what I have:

Code:

<!-- Alert Menu Content -->
<div align="center">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
        <tr align="center">
                <td class="vbmenu_control" width="75">{$vboptions['alert_menu_title']}{$vboptions['alert_menu_title_fix']}
                <td class="vbmenu_control" width="535" align="left">
                <marquee direction="{$vboptions['alert_menu_marquee_direction']}" width="820">{$vboptions['alert_menu_alert']}
                </if>
        </tr>
        </table>
</div>
<!-- / #End Alert Menu Content -->


bashy 02-15-2006 08:39 PM

Look forward to it Marky:)

Marky 02-15-2006 09:47 PM

Quote:

Originally Posted by TonysDesigns
This is what I have:

Code:

<!-- Alert Menu Content -->
<div align="center">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
        <tr align="center">
                <td class="vbmenu_control" width="75">{$vboptions['alert_menu_title']}{$vboptions['alert_menu_title_fix']}
                <td class="vbmenu_control" width="535" align="left">
                <marquee direction="{$vboptions['alert_menu_marquee_direction']}" width="820">{$vboptions['alert_menu_alert']}
                </if>
        </tr>
        </table>
</div>
<!-- / #End Alert Menu Content -->


Select all the text in that template - delete it - and add:

Code:

<!-- Alert Menu Content -->
<div align="center">
        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
        <tr align="center"><if condition="$vboptions[alert_menu_switch]">
                <td class="vbmenu_control" width="75"><font color="#{$vboptions['alert_menu_title_text_colour']}"><b>{$vboptions['alert_menu_title']}{$vboptions['alert_menu_title_fix']}</b></font></td>
                <td class="vbmenu_control" width="535" align="left"><if condition="$vboptions['alert_menu_marquee_switch']">
        <marquee direction="{$vboptions['alert_menu_marquee_direction']}" width="820"></if><font color="#{$vboptions['alert_menu_content_text_colour']}"><b>{$vboptions['alert_menu_alert']}</b></font><if condition="$vboptions['alert_menu_marquee_switch']"></marquee></if></td>
                </if>
        </tr>
        </table>
</div>
<!-- / #End Alert Menu Content -->

Thanks Bashy :) Should be online in a couple of weeks :)
I'll be keeping information on it on my blog (Link in sig ;))

finn snor 02-15-2006 10:04 PM

I installed and tried all the stuff you have suggested sofar and still have same problems with fast speed and wide width.


All times are GMT. The time now is 08:36 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.01319 seconds
  • Memory Usage 1,851KB
  • 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
  • (6)bbcode_code_printable
  • (15)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
  • (40)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