The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Hello,
If I subscribe to a thread, then I receive an email. Contained within this email is the link to that thread and the message: "There may be other replies also, but you will not receive any more notifications until you visit the board again." So, in other words if there are replies to the thread I have subscribed to, unless I go to the board (via the link), I will NOT receive any more emails. Question: Is there a way of receiving emails on ALL replies to that subscribed thread even if I do not visit the board on some occasions ?? I would imagine there is an email check flag I can disable for this ? |
#2
|
||||
|
||||
Hi again.
In functions.php, replace this huge thing: Code:
// get last reply time if ($postid) { $dateline=$DB_site->query_first("SELECT dateline FROM post WHERE postid='$postid'"); $lastposttime=$DB_site->query_first("SELECT dateline FROM post WHERE threadid = '$threadid' AND dateline < $dateline[dateline] AND visible = 1 ORDER BY dateline DESC LIMIT 1"); } else { $lastposttime=$DB_site->query_first("SELECT dateline FROM post WHERE threadid='$threadid' ORDER BY dateline DESC LIMIT 1"); } $useremails=$DB_site->query("SELECT user.* FROM subscribethread,user WHERE subscribethread.threadid='$threadid' AND subscribethread.userid=user.userid AND user.userid<>'$userid' AND user.lastactivity>'$lastposttime[dateline]'"); Code:
$useremails=$DB_site->query("SELECT user.* FROM subscribethread,user WHERE subscribethread.threadid='$threadid' AND subscribethread.userid=user.userid AND user.userid<>'$userid'"); |
#3
|
|||
|
|||
Hello Firefly,
Many thanks for your reply. A while back, I also asked if there was a hack available at forum level, ie. If I subscribe to a forum and requested email notification - whatever new threads or post replies were added to this forum, it would automatically be emailed to that list. Is this a MAJOR hack ? If it is, then I'll have to stick with the thread subscription level. Apologies if this has been asked before. |
#4
|
||||
|
||||
There is not feature currently to allow getting e-mail notifications for subscribed forums.
But, I think there is a hack for this in the releases forum, by chrispadfield IIRC. |
#5
|
|||
|
|||
Hi Firefly the hack to which you refer we have implemented but it suffers from the same problem as the Thread subscription, ie. you if you subscribe to a Forum you get an email for new posts but if you do not go and read the post you will not get further emails.
So what we want is for users who subscribe to a Forum to get an email for every new thread & reply to a thread posted in that Forum regardless of whether they actually bother to go to the Forum. I guess that means modifying the Forum hack in light of the hack you posted. |
#7
|
|||
|
|||
As requested
|
#8
|
||||
|
||||
Thanks.
Looking at this code: https://vborg.vbsupport.ru/showthrea...threadid=18718 it looks like it doesn't work like the threads, it sends you an e-mail every time there is a new thread. I don't understand. |
#9
|
|||
|
|||
Hello Firefly,
I have checked the file functions.php and I cannot locate the piece of code you kindly supplied in this thread... Am I doing something wrong ?? Or could you tell me where this piece of code is in the file. The file I checked was \admin\functions.php |
#10
|
||||
|
||||
The code I posted was added in version 2.2.0, are you still running an earlier version?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|