2.5.0 automatic subscription to topics [message #11671] |
Fri, 11 July 2003 08:44 |
ctbk
Messages: 142 Registered: April 2002 Location: Milan, Italy
Karma: 0
|
Senior Member |
|
|
Even if in the profile "Automatic Notification by default" is selected, when you reply to a thread the relative checkbox isn't selected, and the user isn't subscribed.
With brand new topics the feature works.
~
~
:wq
|
|
|
Re: 2.5.0 automatic subscription to topics [message #11672 is a reply to message #11671] |
Fri, 11 July 2003 09:13 |
ctbk
Messages: 142 Registered: April 2002 Location: Milan, Italy
Karma: 0
|
Senior Member |
|
|
FIX:
Line 137 of file post.php.t (under datadir/src) has to be modified as follows:
$msg_poster_notif = (is_notified(_uid, $msg->thread_id) || $usr->notify == 'Y') ? 'Y' : NULL;
and themes re-generated
~
~
:wq
|
|
|
Re: 2.5.0 automatic subscription to topics [message #11673 is a reply to message #11672] |
Fri, 11 July 2003 09:19 |
ctbk
Messages: 142 Registered: April 2002 Location: Milan, Italy
Karma: 0
|
Senior Member |
|
|
It's better like this:
$msg_poster_notif = ($usr->notify == 'Y' || is_notified(_uid, $msg->thread_id) ? 'Y' : NULL;
in this way in many cases the query can be saved.
~
~
:wq
|
|
|
|