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)

dotagious 10-21-2002 04:38 AM

Bah... I noticed now my mouse pointer arrow "hour glasses" every time it blinks. I know it's kind of running a script, but (a) being on a cable modem, and (b) being on a site with VERY low traffic... should this be happening?

Deimos 10-23-2002 01:49 PM

Nice hack :)
Is there anyway to MOVE the whole PM bit to the top of the main page? If so....can someone tell me how?
I don't wanna bugger up my forums.

waddy 10-24-2002 02:07 AM

Has anyone got this working properly with background images?

BeatDown 10-24-2002 02:13 AM

Quote:

Originally posted by waddy
Has anyone got this working properly with background images?
Kinda depends on what you mean "properly". I use background images for all of my tables, and I do have this hack installed. The background image blinks with a "color" (red on my site). The only thing I don't care for is that for every blink, the image reloads from the server. I believe it's because vB is not allowing the client to cache anything (which makes sense).

I did have to increase the timing factor, though. It was way too fast for me otherwise.

Littlebit 10-26-2002 05:03 AM

I have it working great with 2.2.8 on IE, but I'm getting a javascript error (pmBox is not defined) on Netscape. Any quick fixes for this?

Fiyah 11-08-2002 12:50 AM

OK, I'm gonna show you how fresh I really am.......My mind is going blank and I don't know where to start to add this hack. I found "the template forumhome_pmloggedin" and can change taht but where do I start to find the "index.php"? to add the changes there.

Don't laugh too loudly......

Jesus Chio 11-08-2002 04:11 AM

it rocks! :) took me 3 minutes, thanks

!!!cyr0n_k0r 11-10-2002 02:33 AM

I installed this hack and even when I dont have any unread PM's it still blinks.

Quote:

<tr id="cat">
<td id="pmBox" bgcolor="#B2B0A3" colspan="3"><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="{firstaltcolor}" align="center" valign="top">
<a href="private.php?s=$session[sessionhash]"><img src="{imagesfolder}/sendpm.gif" alt="" border="0">
</td>
<td bgcolor="{firstaltcolor}" colspan="5"><smallfont>
<b>$bbuserinfo[username]</b> - You have $newpm[messages] new message(s) since your last visit.<br>
(You have $unreadpm[messages] unread messages and $allpm[messages] total messages in all your folders.)</smallfont></td>
</tr>

<script language="JavaScript">
<!-- Begin
$pmblink pmBox.bgColor='#B2B0A3';
$pmblink setInterval("Timer()", 500);
$pmblink x=1;
function Timer() {
set=1;
if(x==0 && set==1) {
pmBox.bgColor='#FF0000';
x=1;
set=0;
}
if(x==1 && set==1) {
pmBox.bgColor='B2B0A3';
x=0;
set=0;
}
}
// End -->
</script>

Cyberhouse 11-10-2002 08:05 AM

Works great on 2.2.7 ;)
thanks :D

TheEDIGuy 11-10-2002 11:53 AM

Just installed on 2.2.8, works great, took about 3 minutes total.

Excellent hack, as usual, FireFly!


All times are GMT. The time now is 04:02 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.01395 seconds
  • Memory Usage 1,736KB
  • 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
  • (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