View Full Version : Instant Email Notification - Client Side
Wizzy
03-17-2004, 08:20 PM
Hi,
I would like to know if its possible to set a forum up so that people can subscribe to it and receive instant email notifications. Currently the only options available are daily or weekly, which is no good for the announcements forum I have where I would like users notified immediately.
Anyone come across this before or know how it can be achieved?
many thanks
Karthick
03-17-2004, 09:19 PM
Im guessing if its being done daily or weekly, then it is a cron job. If it IS a cron job (which I suspect it is), then you can reduce the time to anything you like..
Wizzy
03-18-2004, 05:01 PM
Thanks for the reply Karthick.
I would like to have all 3 options available to the client... and I am sure I have seen this hack in operation on someone elses VB, but I cant for the life of me think where now.
Anyone else come across this or know how it can be achieved?
Thanks
SVTBlackLight01
03-18-2004, 07:05 PM
Instant e-mail notification is one of three options in the userCP.
Wizzy
03-21-2004, 05:38 PM
Instant e-mail notification is one of three options in the userCP.
I think you must be thinking of instant mail notification for subscriptions to topics... I am on about subscription to a forum.
brandy
04-24-2004, 07:40 PM
I also would like an instant email notification when subscribing to a FORUM (as opposed to a thread). Did anyone figure out how to do it yet?
Brandy
Wizzy
04-28-2004, 04:54 PM
I also would like an instant email notification when subscribing to a FORUM (as opposed to a thread). Did anyone figure out how to do it yet?
Brandy
Hi Brandy,
Sorry for the delay in responding.
No, I never did get to find a way around this problem. Its a real shame as it would be a big plus for me to find a method of subscribing to forums.
Can anyone else shed any light on how to do this?
thedavid
04-28-2004, 05:18 PM
Looks like it's being addressed in the next version of vbulletin official to me - so we're waiting on that to be released before going to the 3.x series:
http://www.vbulletin.com/forum/showthread.php?t=102908
Wizzy
04-28-2004, 06:04 PM
Thanks for that thedavid... awaiting with real anticipation. :)
cjoh44
07-07-2004, 03:10 PM
does anyone know if a hack will allow this feature today? I need to be able to allow users to get emails with each new post to a forum. This is a must have thing for us right now!
Thanks,
Chris
sarahk
07-07-2004, 07:43 PM
We've got ezmlm on our site so I put a mod into the control panel to assist people to sign up to a mailer. Then I added that mailer to the forum settings to receive notification whenever someone posts or starts a thread. The VB side is easy, the mailer may not be.
sarahk, we've got ezmlm too, though we've never used it, but this sounds like an interesting approach to enabling members to receive all posts of a forum.
Are you doing this as per forum or per group of forums?
If you have any tips on setting this up, let me know!
I would have to pass this job over to my partner.
Thanks, Mark
sarahk
07-12-2004, 04:38 AM
It was already setup so I can't shed any light on that process. Because we store the names in a database I was able to check if the email was there, and if not allow them to send the subscribe/unsubscribe email. Here is the addition to profile.php
// ## SK: Start Extra Profile Page - by Sarah King ##
if ($_REQUEST['do'] == 'editmaillist')
{
// makes the user cp nav look correct
construct_usercp_nav('editmaillist');
// sets the area discription, feel free to change
$navbits[''] = "Manage Automatic Emails";
// sets template name to be called when the action is preformed
$templatename = 'MAILLIST';
// sets shell template
$shelltemplatename = 'USERCP_SHELL';
$emailaddressq = mysql_escape_string($bbuserinfo['email']);
$mlsql = "SELECT `address` FROM ezmlm.tablelist WHERE `address`='$emailaddressq' limit 0,1";
$result = mysql_query($mlsql) or die(mysql_error().'<br>'. $mlsql);
$subscribed = ($result && mysql_fetch_row($result));
if ($subscribed) {
$emailliststatus ='Subscribed';
$emailnewstatus = 'unsubscribe';
$emaillistnexturl = 'removemaillist';
}
else
{
$emailliststatus ='Unsubscribed';
$emailnewstatus = 'subscribe';
$emaillistnexturl = 'addmaillist';
}
}
// this is so that when a user saves their info it does get saved
if ($_REQUEST['do'] == 'addmaillist')
{
mail('listname-subscribe@mysite.com', '', '',
"From: {$bbuserinfo['email']}\nReturn-path: {$bbuserinfo['email']}");
// makes the user cp nav look correct
construct_usercp_nav('addmaillist');
// sets the area discription, feel free to change
$navbits[''] = "Manage Automatic Emails";
// sets template name to be called when the action is preformed
$templatename = 'MAILLISTCHANGE';
// sets shell template
$shelltemplatename = 'USERCP_SHELL';
$emailnewstatus = 'subscribe to';
$emailextra = "<b>A confirmation message has now been sent to {$bbuserinfo['email']}.</b><br><br>
To confirm your subscription, simply reply to that email.<p>"
}//if ($_REQUEST['do'] == 'addmaillist')
if ($_REQUEST['do'] == 'removemaillist')
{
mail('listname-unsubscribe@mysite.com', '', '',
"From: {$bbuserinfo['email']}\nReturn-path: {$bbuserinfo['email']}");
// makes the user cp nav look correct
construct_usercp_nav('removemaillist');
// sets the area discription, feel free to change
$navbits[''] = "Manage Automatic Emails";
// sets template name to be called when the action is preformed
$templatename = 'MAILLISTCHANGE';
// sets shell template
$shelltemplatename = 'USERCP_SHELL';
$emailnewstatus = 'unsubscribe from';
}//if ($_REQUEST['do'] == 'removemaillist')
// ## SK: End Extra Profile Page - by Sarah King ##
// ## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ##
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.