Forum notification subscriptions with no forum read reset

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
jrobbio
Registered User
Posts: 11
Joined: Sun May 04, 2003 7:52 pm

Forum notification subscriptions with no forum read reset

Post by jrobbio » Mon Jun 02, 2008 11:06 am

I have a low traffic business forum which we use for internal affairs and in version 2 of phpBB I used a very configurable mod called "Email digests" that always sent notifications of new topics to the forums that they had subscribed to regardless if they had been read or not by the user (you could configure it to not send read topics too).

Users tend only visit the forum after a notification that applies to them comes in and so are ignoring ones that don't. The flag means that they won't receive any more notifications until they next login to the forum and are complaining that they didn't receive a notification.

Is it possible to force the system to ignore the switch checking whether a user has or hasn't visit the forum recently and send the notification anyway?

Thanks in advance for your help.

Rob

cdeniro
Registered User
Posts: 5
Joined: Thu Jun 12, 2008 8:19 pm

Re: Forum notification subscriptions with no forum read reset

Post by cdeniro » Thu Jun 12, 2008 8:27 pm

I am looking for the same thing. Did you ever find an answer?

namespace
Registered User
Posts: 2
Joined: Sat Jun 14, 2008 2:06 pm

Re: Forum notification subscriptions with no forum read reset

Post by namespace » Sat Jun 14, 2008 2:22 pm

Hello, i removed the "AND w.notify_status = 0" clause in the sql queries on lines 1138 and 1171 in file includes/functions_posting.php.
viola, every new Topic or Post, that you watching,
will trigger an new notification mail.

cdeniro
Registered User
Posts: 5
Joined: Thu Jun 12, 2008 8:19 pm

Re: Forum notification subscriptions with no forum read reset

Post by cdeniro » Mon Jun 16, 2008 3:41 pm

That worked like a charm. Thanks for the solution.

jrobbio
Registered User
Posts: 11
Joined: Sun May 04, 2003 7:52 pm

Re: Forum notification subscriptions with no forum read reset

Post by jrobbio » Thu Jun 19, 2008 11:32 am

namespace wrote:Hello, i removed the "AND w.notify_status = 0" clause in the sql queries on lines 1138 and 1171 in file includes/functions_posting.php.
viola, every new Topic or Post, that you watching,
will trigger an new notification mail.
Thank you this worked exactly as desired. Just one thing for anyone else wanting this feature, the code on line 1171 actually says "AND fw.notify_status = 0"

Thank you for your assistance.

Rob

liao1k
Registered User
Posts: 17
Joined: Wed Feb 27, 2008 5:12 pm

Re: Forum notification subscriptions with no forum read reset

Post by liao1k » Wed Jul 02, 2008 2:33 pm

namespace wrote:Hello, i removed the "AND w.notify_status = 0" clause in the sql queries on lines 1138 and 1171 in file includes/functions_posting.php.
viola, every new Topic or Post, that you watching,
will trigger an new notification mail.
Does that work well for phpBB3 if we remove AND w.notify_status = 0 in the sql queries on lines 1138 and 1171?

liao1k
Registered User
Posts: 17
Joined: Wed Feb 27, 2008 5:12 pm

Re: Forum notification subscriptions with no forum read reset

Post by liao1k » Wed Jul 02, 2008 3:06 pm

my current phpBB is phpBB3.0, After I remove the two lines for the AND w.notify_status = 0. The notification does not work at all.

liao1k
Registered User
Posts: 17
Joined: Wed Feb 27, 2008 5:12 pm

Re: Forum notification subscriptions with no forum read reset

Post by liao1k » Thu Jul 03, 2008 2:52 pm

Anyone can give some suggestion for this issue?

net83it
Registered User
Posts: 500
Joined: Sun Jan 15, 2006 2:42 pm
Location: Sicily
Contact:

Re: Forum notification subscriptions with no forum read reset

Post by net83it » Tue Aug 12, 2008 5:25 pm

namespace wrote:Hello, i removed the "AND w.notify_status = 0" clause in the sql queries on lines 1138 and 1171 in file includes/functions_posting.php.
viola, every new Topic or Post, that you watching,
will trigger an new notification mail.
does this apply to notifications of watched forums or also to notifications of watched topics?

i want that notify email is sent always only for forum subscriptions and not for topic subscriptions


thank you

marg_jakob
Registered User
Posts: 2
Joined: Thu Aug 14, 2008 11:35 am

Re: Forum notification subscriptions with no forum read reset

Post by marg_jakob » Thu Aug 14, 2008 11:39 am

No solution yet for phpBB 3.0.2 ??

namespace
Registered User
Posts: 2
Joined: Sat Jun 14, 2008 2:06 pm

Re: Forum notification subscriptions with no forum read reset

Post by namespace » Tue Sep 16, 2008 8:08 am

marg_jakob wrote:No solution yet for phpBB 3.0.2 ??
Hello marg_jakob,

i have recently upgraded to phpBB 3.0.2, and this solution works for that release to,
at least in my case.

remove in ...
file: includes/functions_posting.php
line: 1149 ("AND w.notify_status = 0")
line: 1182 ("AND fw.notify_status = 0")

and it should do what you want.

If it doesn't, if have actually no Idea why.

Locked

Return to “[3.0.x] Support Forum”