Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Blinking PM notification bar for vB3.0.3 Details »»
Blinking PM notification bar for vB3.0.3
Version: 1.00, by Steve St.Lauren Steve St.Lauren is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Version: 3.0.8 Rating:
Released: 08-08-2004 Last Update: Never Installs: 24
Is in Beta Stage  
No support by the author.

*** PM Notify Blink R.9

I based this off of Chen's Vb2 PM Notify Hack. I had released this for 2.0 as well - mine was a bit different from his. I rewrote it for vB3 and wasn't going to release it but have seen a couple requests for something like it so here it is. I do not have stock templates on my forums (and didn't keep a copy of them on there) so I'm not sure that the template lines I am having you look for are exactly what I have in this file. Please let me know what you find and I'll change the text. The screen shots show the two colors that it blinks between by default.

Show Your Support

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

Comments
  #2  
Old 08-09-2004, 04:35 AM
shadiguy1 shadiguy1 is offline
 
Join Date: Jul 2004
Location: Delco,Pa
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works awsome took like a whole 5 mins to install
Reply With Quote
  #3  
Old 08-09-2004, 06:09 AM
integra99's Avatar
integra99 integra99 is offline
 
Join Date: Jun 2003
Location: Indiana
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed a slightly modified version of the hack.

All work is (c) of original poster.

Open template navbar and find:
Code:
	<if condition="$bbuserinfo['userid']">
 
		<td class="alt2" valign="top" nowrap="nowrap">
		<div class="smallfont">
and replace with:
Code:
	<if condition="$bbuserinfo['userid']">
 
		<td id="pmNotifybox" bgcolor="#F8F8F8" valign="top" nowrap="nowrap"><font color="#000000">
		<div class="smallfont">
then find:
Code:
<!-- / breadcrumb, login, pm info -->
and add below it:
Code:
<if condition="$bbuserinfo['pmunread']">
<script language="JavaScript">
<!-- Begin
$pmblink pmNotifybox.bgColor='#f8f8f8';
$pmblink setInterval("Timer()", 500);
$pmblink x=1;
function Timer() {
	set=1;
	if(x==0 && set==1) {
		pmNotifybox.bgColor='#f8f8f8';
		x=1;
		set=0;
	}
	if(x==1 && set==1) {
		pmNotifybox.bgColor='#999999';
		x=0;
		set=0;
	}
}
// End -->
</script>
</if>
Voila! The table cell that contains your user info and pm count will blink the color you specify. It is set now to exactly as I have it on my forum.
Reply With Quote
  #4  
Old 08-09-2004, 11:24 AM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This can be done with condtions, no need to hack.
Reply With Quote
  #5  
Old 08-09-2004, 12:40 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Live Wire
This can be done with condtions, no need to hack.
i been trying to do it that way... any hints?
Reply With Quote
  #6  
Old 08-09-2004, 01:16 PM
Beermonster Beermonster is offline
 
Join Date: Dec 2003
Location: England
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks works fine

[high]* Beermonster clicks install[/high]
Reply With Quote
  #7  
Old 08-09-2004, 01:53 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Polo
i been trying to do it that way... any hints?
Sure. Use something like this.

PHP Code:
<if condition="$bbuserinfo['pmunread']"w/e you want here </if> 
The things you can do with conditions are wonderful.

This is what im doing. See attachment. And if you don't want gues to see it, then simply use.

PHP Code:
<if condition="$bbuserinfo['userid']"blah </if> 
Reply With Quote
  #8  
Old 08-09-2004, 06:42 PM
integra99's Avatar
integra99 integra99 is offline
 
Join Date: Jun 2003
Location: Indiana
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Livewire and Polo: I posted the hack above using only conditionals.
Reply With Quote
  #9  
Old 08-09-2004, 07:24 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't even see your post, i got my info from, https://vborg.vbsupport.ru/showthread.php?t=62903
Reply With Quote
  #10  
Old 08-10-2004, 12:45 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by integra99
Livewire and Polo: I posted the hack above using only conditionals.
this only works on ie? or is supported by most browsers?
Reply With Quote
Reply


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 03:22 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05874 seconds
  • Memory Usage 2,299KB
  • Queries Executed 23 (?)
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
  • (4)bbcode_code
  • (2)bbcode_php
  • (3)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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