vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Notice new message-very effective and interesting (https://vborg.vbsupport.ru/showthread.php?t=100705)

The Geek 11-13-2005 05:06 PM

hehe. As much as I hate those office helpers - I do find the idea of this kind of amusing in a bizarre way. Dont think ill install however I still think well done on the idea!

???`S?LV?R???` 11-13-2005 05:13 PM

Quote:

Originally Posted by Injektilo
this will make him fly at the top right of your page and announce the pm and the username :

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.MoveTo(750,200);
Merlin.Play("congratulate");
Merlin.Speak("$bbuserinfo[username]- 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>


Awesome... Installs this one.

Injektilo 11-13-2005 05:28 PM

Quote:

Originally Posted by ???`S?LV?R???`
Awesome... Installs this one.

i've updated the code and removed some greek phrases... :)

EasyTarget 11-13-2005 06:03 PM

does this work in all browsers and OS?

tamarian 11-13-2005 06:06 PM

This is cute :up:

I think admins can make it more interesting as random surprises, not just for PM's :)

KW802 11-13-2005 06:06 PM

Quote:

Originally Posted by EasyTarget
does this work in all browsers and OS?

No. The "Agent" technology is for Windows platforms only and the person implementing the code has to be careful if they do it via JS or VBS.


EDIT: For those wanting more information on MS Agents.... http://www.microsoft.com/msagent/default.asp

thedvs 11-13-2005 09:22 PM

Need to find a way to show it only once, and not again & again when you got to read the messages.

NuclioN 11-13-2005 09:51 PM

It's very nice but when MS agent is not installed there's an error. Can you make it so that when MS agent is not installed this script will be ignored? :)

Talisman 11-13-2005 10:47 PM

It's a nice idea, but yes... would be so much more fun used for something else than private messages. Maybe we <meaning: someone who can code, unlike myself> might be willing to adapt this for another purpose?

Aren't there also other characters we can use instead of Merlin? I kinda remember seeing some old English butler and I think there was a hot, sexy woman.

Thanks for releasing the cute hack ... I'll keep watch on this one to see how it expands.

KW802 11-13-2005 11:00 PM

Talisman, there are other characters but they have to be pre-installed. If they aren't already installed then the user either gets an error message or is prompted for a download (which may freak some visitors out a bit) depending upon how the coding was done to present the agent.


All times are GMT. The time now is 03:25 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.01170 seconds
  • Memory Usage 1,739KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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