Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by Admin (Coder) Admin is offline
Developer Last Online: Nov 2024 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-09-2001 Last Update: Never Installs: 281
 
No support by the author.

This is a very simple hack, yet I kinda like it.
Don't you just hate it when you write a long PM to someone, send it, and he doesn't even notice it?!

NO MORE!

Install this very easy hack and no one will be able to ignore the PM again.

This is almost just a template hack, but since it does involve editing a file and adding 4 lines of PHP code, it qualifies as a hack.
Sue me.

Anyway, what does this hack do?
Whenever you come to the forum main page, and you have any unread messages (even if they aren't new), the category strip that says "Private Messages" will blink.
Simple, but effective.

To see a demo of this, just send yourself a PM and see what happens. I'm sure you'll like it.

Installing this will take you 2 minutes if not less, it's very very simple.
I also don't expect too many support requests.

Anyway, have fun!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #192  
Old 10-21-2002, 04:38 AM
dotagious dotagious is offline
 
Join Date: Oct 2001
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #193  
Old 10-23-2002, 01:49 PM
Deimos Deimos is offline
 
Join Date: Oct 2002
Posts: 529
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #194  
Old 10-24-2002, 02:07 AM
waddy's Avatar
waddy waddy is offline
 
Join Date: Nov 2001
Location: UK
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone got this working properly with background images?
Reply With Quote
  #195  
Old 10-24-2002, 02:13 AM
BeatDown BeatDown is offline
 
Join Date: Oct 2002
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #196  
Old 10-26-2002, 05:03 AM
Littlebit's Avatar
Littlebit Littlebit is offline
 
Join Date: Nov 2001
Posts: 313
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #197  
Old 11-08-2002, 12:50 AM
Fiyah Fiyah is offline
 
Join Date: Nov 2001
Location: Texas
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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......
Reply With Quote
  #198  
Old 11-08-2002, 04:11 AM
Jesus Chio Jesus Chio is offline
 
Join Date: Oct 2002
Location: Near Hell, TX
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it rocks! took me 3 minutes, thanks
Reply With Quote
  #199  
Old 11-10-2002, 02:33 AM
!!!cyr0n_k0r !!!cyr0n_k0r is offline
 
Join Date: Apr 2002
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #200  
Old 11-10-2002, 08:05 AM
Cyberhouse Cyberhouse is offline
 
Join Date: Jun 2002
Location: Sweden
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great on 2.2.7
thanks
Reply With Quote
  #201  
Old 11-10-2002, 11:53 AM
TheEDIGuy TheEDIGuy is offline
 
Join Date: Jul 2002
Location: Buffalo, NY
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Excellent hack, as usual, FireFly!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:41 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.04747 seconds
  • Memory Usage 2,301KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete