Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
Notice new message-very effective and interesting Details »»
Notice new message-very effective and interesting
Version: 1.00, by Living in music Living in music is offline
Developer Last Online: Apr 2008 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 11-12-2005 Last Update: Never Installs: 32
 
No support by the author.

Really simple, just copy this code and add at begining of template navbar:

Code:
<if condition="$bbuserinfo['pmunread']">
<!-- Script New PM -->
<OBJECT classid=CLSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F id=ricci width="32" height="32"></OBJECT>
<SCRIPT>
var MerlinID;
var MerlinACS;
ricci.Connected = true;
MerlinLoaded = LoadLocalAgent(MerlinID, MerlinACS);
Merlin = ricci.Characters.Character(MerlinID);
Merlin.Show();
Merlin.Play("congratulate");
Merlin.Speak("You have new message!");
Merlin.Play("domagic1");
Merlin.Hide();
function LoadLocalAgent(CharID, CharACS) {
LoadReq = ricci.Characters.Load(CharID, CharACS);
return(true);
}
</SCRIPT>
<!-- / Script New PM --></if>
You also can be flexible to edit whatever you want. For me,I think it's very effective for members know that they're having new message.

Show Your Support

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

Comments
  #32  
Old 11-14-2005, 05:42 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gldtn
An idea would possibly be SitePal. Even though it's quite expensive to run anything like this IMO.
O my lordy. I think I have seen it all now.

This is soooooooo freaking cheesy I am actually straining my brain to desperately come up with a good reason to go buy it right now. Seriously. I really want it. I just cant think of a reason to get it.

(sorry for hijacking there for a minute!)
Reply With Quote
  #33  
Old 11-14-2005, 06:04 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For you guy/gals about which Windows OS it'll work on, did you go to the MS page?

Lionel: If you go to the MS page under Downloads you'll find a TTS engine to install in your PC to enable the speech.

Geek: Don't do it!
Reply With Quote
  #34  
Old 11-14-2005, 06:17 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hehe... my wife is going to kill me.

I just couldnt resist. Apologies again for going off topic - I couldnt help myself.
Reply With Quote
  #35  
Old 11-14-2005, 06:17 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank KW802. That works now.
Reply With Quote
  #36  
Old 11-14-2005, 11:17 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack like it since i use microsoft office alot...funny though****INSTALLED**** hope you can get it to work for firefox. :ermm:
Reply With Quote
  #37  
Old 11-15-2005, 12:55 AM
TCM TCM is offline
 
Join Date: Dec 2004
Location: 3.6.8
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nievesidenshop
great hack like it since i use microsoft office alot...funny though****INSTALLED**** hope you can get it to work for firefox. :ermm:
They can't. This will only ever work in IE, it's not going to be supported by anything else, nor should it be.
Reply With Quote
  #38  
Old 11-15-2005, 01:47 AM
LincolnForums LincolnForums is offline
 
Join Date: Oct 2005
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EasyTarget
does this work in all browsers and OS?
Only internet explorer i'd imagine
Reply With Quote
  #39  
Old 11-16-2005, 12:28 AM
aciurczak aciurczak is offline
 
Join Date: Jun 2005
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd change the first conditional to:

Code:
<if condition="($bbuserinfo['pmunread']) AND (is_browser('ie'))">
to be safe. Still might behave badly on old versions of ie, but this will make the site run cleanly for any non-ie browsers.
Reply With Quote
  #40  
Old 11-16-2005, 12:50 AM
aciurczak aciurczak is offline
 
Join Date: Jun 2005
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A better change. If you use this conditional, it checks if the browser is IE, and it also checks to confirm that you *aren't* on the private message screen. So Merlin will bug the hell out of you until you click on the PM screen, but once you do he leaves you alone. I also changed the method to Merlin.think instead of Merlin.speak; now he just pops up a thinking box rather than voice.

Code:
<if condition="($bbuserinfo['pmunread']) AND (is_browser('ie')) AND (THIS_SCRIPT != 'private')">
Reply With Quote
  #41  
Old 11-25-2005, 01:23 AM
phonexpo phonexpo is offline
 
Join Date: Sep 2005
Location: Dublin
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I have it installed, working great. But how can I use Robby instead of Merlin?

I've replaced the word Merlin with Robby in the code, but I still have Merlin.

Thanks great code.
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 03:06 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.04963 seconds
  • Memory Usage 2,304KB
  • 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
  • (3)bbcode_code
  • (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
  • (4)pagenav_pagelink
  • (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