FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » 2.5.0 automatic subscription to topics
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
2.5.0 automatic subscription to topics [message #11671] Fri, 11 July 2003 08:44 Go to next message
ctbk is currently offline  ctbk   Italy
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 Go to previous messageGo to next message
ctbk is currently offline  ctbk   Italy
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 Go to previous messageGo to next message
ctbk is currently offline  ctbk   Italy
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
Re: 2.5.0 automatic subscription to topics [message #11682 is a reply to message #11673] Fri, 11 July 2003 22:29 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed in CVS.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Data Dumps under 2.5.0 almost 2x bigger?!?
Next Topic: Forum borked after rebuilding theme
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 17:59:06 GMT 2024

Total time taken to generate the page: 0.02500 seconds