I was just thinking we have a lot of members away on holiday at the moment and it would be a nice idea that when someone PM's them they get a PM back saying something like:
"Hi I am on Holiday right now but I will answer your PM when I get back"
or even when they have gone to bed or something so the other knows not to expect a response straight away?
Is this possible?
mcyates
07-07-2003, 06:47 PM
would be a great hack, anyone doen it yet?
MetroSports82
07-07-2003, 07:22 PM
uh, wasn't this something that was built in, bira's "away" message hack?
https://vborg.vbsupport.ru/showthread.php?s=&threadid=33099&highlight=away+message
actually, here is part of the code, in the .txt file...
================================================== ================================================== ===
############################################# private.php #############################################
================================================== ================================================== ===
Note: this change is optional. When a user is away, this change will send an automatic reply to anyone
who PMs the away user, letting him know the user is away and that he will read the message only when he
returns. If you don't want to use this option, skip this specific change.
Step 1/1.
========
||FIND||
========
eval("standardredirect(\"".gettemplate("redirect_pmthanks")."\",\"private.php?s=$session[sessionhash]\");");
==================
||ABOVE that ADD||
==================
// Leave Away Message in Profile (v1.2a)
if ($touserinfo[away]=="1") {
$sincedate = vbdate($dateformat, $touserinfo[awaydate]);
if ($touserinfo[returndate]=="0000-00-00") {
$returndate = "(date unknown)";
} else {
$returnaway = explode("-", $touserinfo[returndate]);
$returndate = "on ".vbdate($dateformat, mktime(0,0,0,$returnaway[1],$returnaway[2],$returnaway[0]));
}
if (!$touserinfo[awayreason]) {
$awayreason = "No reason specified";
} else {
$awayreason = "$touserinfo[awayreason]";
}
eval("\$autoreply = \"".gettemplate("priv_autoreply",1,0)."\";");
$autotitle = "Auto Reply: ".addslashes(htmlspecialchars($title));
$DB_site->query("INSERT INTO privatemessage (privatemessageid,userid,touserid,fromuserid,title ,message,dateline,showsignature,iconid,messageread ,folderid,receipt) VALUES (NULL,$bbuserinfo[userid],$bbuserinfo[userid],$touserinfo[userid],'".addslashes(htmlspecialchars($autotitle))."','".addslashes(htmlspecialchars($autoreply))."','".time()."',0,0,0,0,0)");
if ($bbuserinfo[emailonpm]) {
eval("\$emailmsg = \"".gettemplate("email_pmautoreply",1,0)."\";");
eval("\$emailsubject = \"".gettemplate("emailsubject_pmreceived",1,0)."\";");
mail($bbuserinfo[email],$emailsubject,$emailmsg,"From: \"$bbtitle Mailer\" <$webmasteremail>");
}
}
// Leave Away Message in Profile (v1.2a)
-------------------------------------------------------------------------------------------------------
if you want to see the entire .txt, you should check out that hack. it should probably do the trick.
Logician
07-08-2003, 06:15 AM
yes.. this is a built in feature in bira's hack..
Sir_Yaro
06-14-2005, 08:44 AM
any chance for something for vB 3.0.7 ???
I find it:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=67250
Is there anything like this for 3.6?
Vossi
08-06-2008, 08:57 AM
Maybe this might help:
https://vborg.vbsupport.ru/showthread.php?t=187320
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.