View Full Version : Private Messages Enhancements - pm popup

19 Jan 2008, 18:55
this is my "little" pm popup window which is available on every page!
you just need to press alt + n to open it(at moment opera isn't supported)
also a link in the footer is available where you can click to open it


Here a little demovideo: http://www.ragtek.org/videos/pmpopupnew.htm
Only the first part includes this add-on, the second part with the new notification is in an other add-on which hasn't been released atm!

If you haven't installed tms you need to add this into your headinclude template:
search for:
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script> and add under it:
<link rel="stylesheet" type="text/css" href="clientscript/yui/container/container.css">
<script type="text/javascript" src="clientscript/yui/container/container-min.js"></script>

and in footer search for: <form action="$vboptions[forumhome].php" method="get"> and add under it:
<style type="text/css">
.label2 { display:block;float:left;width:45%;clear:left; }
.clear { clear:both; }
#dialog1_c.yui-panel-container.shadow .underlay { background-color:$stylevar[page_bgcolor]; }
#dialog1.yui-panel { position:relative; border:none; overflow:visible; background-color:transparent; width:400px; }
#dialog1.yui-panel .hd { padding:0; border:none; height:22px; margin-left:0px; margin-right:0px; text-align:center; overflow:visible; }
#dialog1.yui-panel .bd {height: 150px; overflow:hidden; padding:4px; }
#dialog1.yui-panel .ft { color:#666; padding:2px; overflow:hidden; border:1px solid #aeaeae; border-top:none; background-color:$stylevar[page_bgcolor]; }
.mask { background-color:#000000;opacity:0.7;}
<script type="text/javascript">
<script type="text/javascript" src="clientscript/ragteknewpm.js?ver=1"></script>
<script type="text/javascript" src="clientscript/vbulletin_ajax_namesugg.js"></script>
<a href="private.php?do=newpm" id="ragtek_newpm">$vbphrase[send_new_message]</a>
<div id="dialog1" style="display:none">
<div class="hd thead">$vbphrase[post_new_private_message]</div>
<div class="bd alt1">
<form method="POST" action="ajax.php?do=sendnewpm">
<div id="pmrecips1">
<label for="empaenger" class="label2">$vbphrase[recipients]</label><input type="textbox" id="pmrecips1_txt" name="empfaenger" tabindex="1" /><div class="vbmenu_popup" id="pmrecips1_menu" style="display:none;"></div>
<script type="text/javascript">
vbmenu_register('pmrecips1', true);
recip1_sugg = new vB_AJAX_NameSuggest('recip1_sugg', 'pmrecips1_txt', 'pmrecips1');
recip1_sugg.allow_multiple = true;
<div><label for="title" class="label2">$vbphrase[title]</label><input type="textbox" name="title" /></div>
<label for="message" class="label2">$vbphrase[text]</label><textarea name="message" cols="30" rows="4"></textarea>
<div class="ft">&copy ragtek.org</div>

Known Bugs: In Opera alt + n don't open the popup
in some cases the namesuggestbox don't appear where it should, thats a "bug" in vbulletin.
this little fileedit: http://www.vbulletin-germany.com/forum/showpost.php?p=172546&postcount=2 helps
reported as vb-bug (http://www.vbulletin.com/forum/project.php?issueid=24367)

19 Jan 2008, 19:48

19 Jan 2008, 21:19
ScreenShots are standard to understand the magnitude of the Mod ;)

19 Jan 2008, 21:21
because screenshots are boring, i added a video

Here a little demovideo: http://www.ragtek.org/videos/pmpopupnew.htm

19 Jan 2008, 22:03
Edit: but for all the people who NEED some screenshots, now i added one;)

19 Jan 2008, 23:04
Very nice mod, I'll probably be adding it soon :)

19 Jan 2008, 23:15
pls be aware thats atm just a betaversion:)
btw this is also working on vb < 3.7 if you upload the yui connection manager and yahoo-dom-event yourself.

i must check how to manage the autonamepopup error, then i can release the "real" version i think^^

20 Jan 2008, 03:08
I'll be awaiting your quick edit for prefixes with interest.

20 Jan 2008, 07:31
this hack is really interesting, but i hate the template editing ... :)

20 Jan 2008, 10:29
I'll be awaiting your quick edit for prefixes with interest.thats this one http://www.vbulletin-germany.org/showthread.php?t=685
it's for the prefixadd-on from mystics
but maybe i'll make one for the vb3.7 when gold comes out and the didn't include it

20 Jan 2008, 17:03
Ah, I see. I'll be awaiting that then. Note that your signature link does not work.

20 Jan 2008, 17:21

20 Jan 2008, 19:23
I like how the whole screen darkens. Very cool, keep up the good work :)

20 Jan 2008, 19:32
i'm very interessted and waiting on feedback of some users with an other style, not standard vb

20 Jan 2008, 23:05
hallo, da mein english nicht grad so top ist, versuch ich es mal auf deutsch .. ich hab das komplett installiert und schreiben funktioniert auch nur empfangen funktioniert in keinster weise wie in dem video .. leider .. ich benutze den neuen firefox .. vielleicht nen tip ?

21 Jan 2008, 00:55
well im using vbulletin 3.7.0 B3 and a custom style it loads box. autofills name and then it wont send. the charecter bar not showing you know the line that flickers. also im using Firefox

22 Jan 2008, 11:11
i added a live demo on http://developer-network.org/forum.php
at bottom of the page you'll find now "Send New Message"

22 Jan 2008, 11:13
hallo, da mein english nicht grad so top ist, versuch ich es mal auf deutsch .. ich hab das komplett installiert und schreiben funktioniert auch nur empfangen funktioniert in keinster weise wie in dem video .. leider .. ich benutze den neuen firefox .. vielleicht nen tip ?

Das Empfangen ist in dem Add-on nicht inkludiert.

he's asking why the pm reciving is not so working as shown in the video

23 Jan 2008, 17:12
könntest du das empfangen nicht posten ? oder ist das noch in arbeit ?

23 Jan 2008, 17:26
noch in arbeit
ich hab probleme beim style

translation: the second part is in work
there are some problems with the style

23 Jan 2008, 17:33
Listen up, this is an ENGLISH FORUM, ok?
So stick to ENGLISH, or at least translate...

24 Jan 2008, 18:04
i'm posting all my things in english
even someone is asking german, but yes, your right

24 Jan 2008, 21:13
so far on 3.7 beta 4 I have it installed all template edits are done I press alt+n and the box pops up aligned at bottom right till I scrol screen the it centers and when I finish the message and hit send a box that says errror pops up. Any idea?

24 Jan 2008, 21:43
could i check it on your site?

24 Jan 2008, 22:23
Sure http://www.wow-fanatics.net login with user: test pass: test

also I don't see any of my site like the screen shot shows when the box pops up. Looks like the Forumhome template was the only thing that changed between beta 3 and beta 4 skin wise that is. I'll test it out on the default skin and see how it works.

Edit: Did the edits to default skin and it is still doing the same thing.

24 Jan 2008, 23:34
i'm gotting an error in my js debuger
[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIXMLHttpRequest.open]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: javascript: eval(__firebugTemp__); :: anonymous :: line 1" data: no]
i'll check what it mean

24 Jan 2008, 23:35
and you have an error in your code ;)
<script src="http://www.wowhead.com/widgets/power.js" type="text/javascript"></script the > is missing

now is everything "down" on your board

24 Jan 2008, 23:47
ok I fixed the wowhead script code sorry, What else is wrong what do you mean by "down"?

24 Jan 2008, 23:50
vbmenu_register is not defined
[Break on this error] <td id="usercptools" class="vbmenu_control"><a href="/forums/cmps_index.php?n...
cmps_index.php (line 422)
vbmenu_register is not defined
[Break on this error] <td id="navbar_search" class="vbmenu_control"><a href="search.php" accesskey=...
cmps_index.php (line 419)
vbphrase is not defined
[Break on this error] vbphrase["send"]="Send";
cmps_index.php (line 1263)
YAHOO is not defined
[Break on this error] YAHOO.util.Event.onAvailable("dialog1",newpmwindow.init);
ragteknewpm.js (line 67)
vbmenu_register is not defined
[Break on this error] vbmenu_register('pmrecips1', true);
cmps_index.php (line 1279)
vBulletin_init is not defined
[Break on this error] vBulletin_init();

all your files are being searched in the false directory
http://www.wow-fanatics.net/clientscript/vbulletin_global.js?v=370b4 instead of http://www.wow-fanatics.net/forum/clientscript/vbulletin_global.js?v=370b4

but were getting offtopic

24 Jan 2008, 23:58
ok umm I might just remove the portal.. It was working fine a few minutes ago sorry for getting off topic. Let me know what you find on the pm popup... Hmm it was cause I removed the urls in the vb options for the site now the portal is working correctly I think.

28 Feb 2008, 01:47
I would like to have something like this for most functions in vB. I think it makes it easier.

Do you plan on expanding this to other input forms for vB as well?

28 Feb 2008, 03:37
also auf das empfangen ding bin ich immer noch sehr heiss drauf da ich das noch nirgends gesehen hab (vb) ausser bei dir das IP.Board unterstützt auch so eine nette funktion und allein nur das ankommen der nachricht wär sehr schön wenn wir auch sowas hätten *gg wenn du die funktion nicht kennst kann ich dir mal nen screen schicken wenn du willst vielleicht ist das übernehmen davon einfacher .. das hat auch so kleine tabs in der box ..ist echt ne coole sache .. grüße

13 Jul 2008, 16:28
Can't get it to work on 3.7.2.

17 Jul 2008, 19:03
i installed it did the template edits and uploaded the files nothing happens at all when i hit alt+n on firefox all i see that has changed is there is a link at the bottom of the page saying send new message

25 Jul 2008, 10:18
Thank You .!

05 Aug 2008, 22:59
Uninstalled. Didn't work.

Messages couldn't be sent :(

By the way. I'm Using 3.7.2 and tested using IE 7 & Firefox 3

23 Mar 2009, 12:28
I've seen a modification like this here on vb.org some weeks ago.

anybody have a link to this because i stopped the development on this modifiction, so i'd like to check the other^^

New Joe
14 Aug 2009, 09:51
The installation instructions aren't in English so it's hard to know what to do.

New Joe
14 Aug 2009, 10:15
It all installed fine but it won't send the pm, it just does nothing.
Any ideas?