vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Blink the Welcome Bar when receiving a new PM! (https://vborg.vbsupport.ru/showthread.php?t=88474)

Gary W 03-06-2004 05:34 PM

Okay then you can just change the colour variables to a specified colour by replacing them with colour codes :)

Alzeimer 03-09-2004 08:11 AM

Great, Installed and working, thanks!!!

Natch 03-10-2004 05:24 AM

Quote:

Originally Posted by Boofo
Can we see yours?

I'll try to mate - my gif animation skillz are a bit rusty ;)

BBL with it hopefully :) :)

Grab the JS file - the chgclass.js file - upload it to forumhome/clientscript and load that in your headinclude template.

Code:

<script type="text/javascript" src="$vboptions[bburl]/clientscript/vbulletin_chgclass.js"></script>
Then in the navbar template, make the following alterations ...

Find the first instance of:
PHP Code:

<script type="text/javascript">
<!-- 

ADD AFTER:
PHP Code:

<if condition="$bbuserinfo['pmunread']">
setInterval("Timer()"1000);
x=1;
function 
Timer()
{
    
set=1;
    if (
x==&& set==1)
    {
        
changeSty('alt1','pmBox');
        
changeSty('alt2','breadBox');
        
x=1;
        
set=0;
    }
    if (
x==&& set==1)
    {
        
changeSty('alt2','pmBox');
        
changeSty('alt1','breadBox');
        
x=0;
        
set=0;
    }
}
</if> 

Example:
http://www.mobileforces.org/pm-bar-blink.gif

It works with whatever colours you have in your style for alt1 and alt2, so translates across your board without trouble :)

Mr. Brian 03-18-2004 09:43 PM

I don't think it works for gamma.

imported_Diana Notacat 03-25-2004 08:11 AM

As spectacularly awesome as this is, it doesn't seem work in Mozilla or Netscape! It's only working on my IE. Anyway to spiff it up to work on other browsers?

wolfgang3 04-10-2004 04:20 PM

nice add on! thx

Gary W 04-10-2004 05:43 PM

Doesn't work for Netscape/Mozilla type browsers; I think the browsers are like that, they don't like the scripting that makes this work.

Natch 04-10-2004 10:28 PM

<a href="http://www.vbulletintemplates.com/mods/showpost.php?p=47441&postcount=23" target="_blank">This one</a> (post #23 in this thread) does work in Mozilla / Netscrape .... the animation was recorded on Firebird ...

Props to Gary for the concept...

Jolten 04-11-2004 05:19 PM

Works like a charm. I had to add an extra id to accomodate an extra table cell in my suctom header, but it works fabulously. Thanks Gary.

Skaterscafe.com 04-15-2004 04:46 AM

Works great for me also, thanks!

My site is in black & white, is there a easy way to change the blink color to red or yellow?


All times are GMT. The time now is 08:35 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.01068 seconds
  • Memory Usage 1,742KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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