REQ : pm popup

Desert Cheetah said:

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>
 
Desert Cheetah said:

Updates:
1 Email Only Function:
This function will limit the total emails send to 1. So if this email is send once they will never get a "miss you" email anymore. So people will get less anoyed and won't rate you as spam right away.

Todo:
Edit number of emails send totally
Not only 1 message but multiple messages possible and chosen with a random

If a user has not posted in x number of days, a HTML email will be sent out with a custom message.

Ive updated the mod so all the settings are editable in the AdminCP

Instructions are included.

I must insist that anyone pre 1.1.2 upgrades asap.

Update 1.1.3 (22/5/08)

* Bugfix for New Registers


Update 1.1.2 (21/5/08)

* Added 1 Email only Function


Update 1.1.1

* Edited default templates
* Added daily report


Update 1.1.0

* Changed the way that emails are sent out by adding the emails to vbulletin's mail queue
* Default cron settings now changed to once per day

To upgrade you need to overwrite the remindermail.php file in the cron directory, and ideally import the product again. The new code will work with the old product file, however I have removed one of the settings in the options as it was no longer needed. as i say it will still run with this there but the quantity setting is now no longer used.

Update 1.0.9

* Cron Log Now Working.
Update by uploading remindermail.php


Update 1.0.8

* Updated code to to exclude users who have chose not to receive admin emails.
Upgrade by uploading PHP file only.

Thanks to djbaxter for help with this.


Update 1.0.7

* Fixed "Sending to new users" bug
* Amended installation code


Update 1.0.6 (14/02/07)

* Added option to turn plugin on or off
* Added option to specify inactivity triggered by lastpost or lastactivity
* Added options to show credit to author or not. (due to some ungrateful, complaining bum squirts that have not made the effort to learn to code themselves and lean on others to make plugins for them)


Uninstall / Reinstall w/ overwrite.

Please note - This plugin adds a link in your footer, however it can be disabled via the AdminCP

Please, if you find this useful, don't disable this option.
 
Back
Top