vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Private Messages Enhancements - pm popup (https://vborg.vbsupport.ru/showthread.php?t=168207)

ragtek 01-18-2008 10:00 PM

pm popup
 
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:
Code:

<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:
Code:

<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/for...46&postcount=2 helps
reported as vb-bug

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
Quote:

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

[ot]
Quote:

Originally Posted by Alfa1 (Post 1424832)
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
[/ot]


All times are GMT. The time now is 03:20 AM.

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.02078 seconds
  • Memory Usage 1,746KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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