vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Blink PM bar on new PM! (https://vborg.vbsupport.ru/showthread.php?t=32299)

FWC 03-15-2002 04:47 AM

Quote:

Originally posted by Birdie501
Hi,

can somebody tell me how to change the code that when the table is blinking and you go over this field it will be linked to the privat messages in user cp?

Sorry for my english :)

Birdie501

Add:

onclick="window.location.href='private.php?s=$sess ion[sessionhash]'

to the <td> at the beginning of forumhome_pmloggedin.

jjj0923 03-18-2002 12:33 AM

I just love simple and highly functional hacks and this one sure qualifies...

thanks!

- jeff

Webmasta XT 03-20-2002 09:43 AM

ok, mine never flashes, everytime there is a new PM, it just goes to a different color then the rest but doesn't flash, why?
This is what I have in my Template:
PHP Code:

<tr id="cat">
    <
td id="pmBox" bgcolor="{categorybackcolor}" colspan="6"><a href="private.php?s=$session[sessionhash]title="Click Here to Open Your Private Messages $inboxname"><normalfont color="{categoryfontcolor}"><b>Private Messages</normalfont></b></a></td>
</
tr>
<
tr>
    <
td bgcolor="{secondaltcolor}" align="center" valign="top"><img src="{imagesfolder}/$lightbulb.gif" alt=""></td>
    <
td bgcolor="{firstaltcolor}" colspan="5"><smallfont>
    <
b>$bbuserinfo[username]</b> - You have $newpm[messages] new message(ssince your last visit.<br>
    (
You have $unreadpm[messagesunread messages and $allpm[messagestotal messages in all your folders.)</smallfont></td>
</
tr>
<
script language="JavaScript">
<!-- 
Begin
$pmblink pmBox
.bgColor='#1D6AA0';
$pmblink setInterval("Timer()"500);
$pmblink x=1;
 function 
Timer() {        x=1;
        
set=0;
    }
    if(
x==&& set==1) {
        
pmBox.bgColor='{categorybackcolor}';
    
set=1;
    if(
x==&& set==1) {
        
pmBox.bgColor='#336D95';

        
x=0;
        
set=0;
    }
}
// End -->
</script


FWC 03-21-2002 01:24 AM

Quote:

Originally posted by Webmasta XT
ok, mine never flashes, everytime there is a new PM, it just goes to a different color then the rest but doesn't flash, why?

You have a category background image. You can't blink that. I made a modifed version that will enable you to get the bar to blink:

http://www.vbulletin.org/hacks/index...ack&hackid=161

google54 03-24-2002 12:27 PM

can somone past a working template that works

GeOrGe 03-26-2002 11:29 AM

Very nice Hack, thankĀ“s

Kevlar 03-28-2002 12:43 PM

Nice hack... I installed it on v2.2.4.

One question tho... is there any code that can get the PM box to blink in the User Control Panel?

Visionray 03-30-2002 04:48 AM

Hello guys I have read through the entire thread and I STILL cannot get this hack to work. :(

code removed :)

Even if I change all the colors for the categorybackground color and tablehead background color...it does not blink. The color changes but it doesnt blink.

Any suggestions?

Oh and yes I am using IE and Ive uploaded the index.php file, and sent myself a pm etc.....

Visionray 03-30-2002 04:55 AM

Oiy Vey!!! Nevermind folks. Got it too work. I forgot to change both tablehead colors.

Nice hack firefly

jarvis 04-02-2002 03:36 AM

Ok, I just upgraded to 2.2.5 and my PM bar now blinks all the time. I did a quick search for this problem, but did not find anything. Have I overlooked it, or any ideas as to what may cause this. It worked fine with 2.0.3.

Thanks!


All times are GMT. The time now is 11:07 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.01483 seconds
  • Memory Usage 1,752KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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