![]() |
ok, here are a couple of add-ons:
1) Cancel 'Away' status when user posts: Open newthread.php Find: Code:
$DB_site->query("UPDATE user SET Code:
$DB_site->query("UPDATE user SET Code:
$DB_site->query("UPDATE user SET Code:
$DB_site->query("UPDATE user SET This change will automatically cancel a user's 'away' status once he/she posts a new thread or a new reply. 2) Send auto-reply to PMs while a user is a way. This add-on will act like the "vacation" auto-reply most e-mail programs have. When you send a PM to a user who is away, you will immediately receive a PM with "Auto Reply:" in the subject line. The PM message body will say 'I'm away and will read your PM when I return', with the reason (if present) and the return date (if present). If you want to add this, open private.php and find: Code:
eval("standardredirect(\"".gettemplate("redirect_pmthanks")."\",\"private.php?s=$session[sessionhash]\");"); PHP Code:
create NEW template called email_pmautoreply and place in it: Quote:
p.s. Meta, I will add what you're asking for (Admin CP) tomorrow. I'm off to sleep now :) |
Awesome!!!
|
I don't have time to do this hack now, but I've saved it and have it queued... One question: Does the ZIP in the original post include the changes or additions from just above?
|
very very sweet.
|
Question:
Will you be incorporating all of the addon code you posted into the script? If so, I will just wait for the final. Looks very impressive. Thank You. |
How about being able to set your own auto PM message.
:) |
Very nice addons, installed all except one (auto-setting away back to 0 when posting, because people often login to check posts out and sometimes post while they're still away). :)
|
Installed and working ... excellent work! :)
Just did some slight modifications to the getinfo template, but it works great. This is the 3rd or 4th straight hack from bira I am using, and all of them are just grrrrrreat ;) |
[QUOTE]Originally posted by Crinos
Just did some slight modifications to the getinfo template, but it works great. |
Great Hack thanks. I installed this with no probs at all except The Icon in the postbit area (away.gif) does not show when a user is away. I didn't see anything in the install instructions about adding anything to the postbit template.
|
All times are GMT. The time now is 09:25 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|