PDA

View Full Version : Private Messages Enhancements - pm popup


ragtek
01-18-2008, 10:00 PM
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

ATM THIS is a BETAVERSION!


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;}
</style>
<script type="text/javascript">
<!--
vbphrase["send"]="$vbphrase[send]";
vbphrase["cancel"]="$vbphrase[cancel]";
vbphrase["rec"]="$vbphrase[rag_invalidrec]";
-->
</script>
<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;
//-->
</script>
</div>
<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>
</form>
</div>
<div class="ft">&copy ragtek.org</div>
</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)

Alfa1
01-19-2008, 05:48 PM
Übercool!

iogames
01-19-2008, 07:19 PM
ScreenShots are standard to understand the magnitude of the Mod ;)

ragtek
01-19-2008, 07:21 PM
because screenshots are boring, i added a video

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

ragtek
01-19-2008, 08:03 PM
Edit: but for all the people who NEED some screenshots, now i added one;)

rowlandc
01-19-2008, 09:04 PM
Very nice mod, I'll probably be adding it soon :)

ragtek
01-19-2008, 09:15 PM
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^^

Alfa1
01-20-2008, 01:08 AM
I'll be awaiting your quick edit for prefixes with interest.

KURTZ
01-20-2008, 05:31 AM
this hack is really interesting, but i hate the template editing ... :)

ragtek
01-20-2008, 08:29 AM
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

Alfa1
01-20-2008, 03:03 PM
Ah, I see. I'll be awaiting that then. Note that your signature link does not work.

ragtek
01-20-2008, 03:21 PM
thx

Shazz
01-20-2008, 05:23 PM
I like how the whole screen darkens. Very cool, keep up the good work :)

ragtek
01-20-2008, 05:32 PM
thx
i'm very interessted and waiting on feedback of some users with an other style, not standard vb

RokuDaMerlin
01-20-2008, 09:05 PM
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 ?

wolfe
01-20-2008, 10:55 PM
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

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

ragtek
01-22-2008, 09:13 AM
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

RokuDaMerlin
01-23-2008, 03:12 PM
könntest du das empfangen nicht posten ? oder ist das noch in arbeit ?

ragtek
01-23-2008, 03:26 PM
noch in arbeit
ich hab probleme beim style

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

Magnumutz
01-23-2008, 03:33 PM
Listen up, this is an ENGLISH FORUM, ok?
So stick to ENGLISH, or at least translate...

ragtek
01-24-2008, 04:04 PM
i'm posting all my things in english
even someone is asking german, but yes, your right

Evolution06
01-24-2008, 07:13 PM
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?

ragtek
01-24-2008, 07:43 PM
could i check it on your site?

Evolution06
01-24-2008, 08:23 PM
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.

ragtek
01-24-2008, 09:34 PM
ok
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

ragtek
01-24-2008, 09:35 PM
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

Evolution06
01-24-2008, 09:47 PM
ok I fixed the wowhead script code sorry, What else is wrong what do you mean by "down"?

ragtek
01-24-2008, 09:50 PM
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

Evolution06
01-24-2008, 09:58 PM
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.

Brew
02-27-2008, 11:47 PM
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?

RokuDaMerlin
02-28-2008, 01:37 AM
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

TheInsaneManiac
07-13-2008, 02:28 PM
Can't get it to work on 3.7.2.

pspmaster93
07-17-2008, 05:03 PM
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

ErrorLog
07-25-2008, 08:18 AM
Thank You .!

SEW810
08-05-2008, 08:59 PM
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

ragtek
03-23-2009, 10:28 AM
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
08-14-2009, 07:51 AM
The installation instructions aren't in English so it's hard to know what to do.

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