CMS MADE SIMPLE FORGE

CGFeedback

 

[#6853] No users notifications when moderating in admin

avatar
Created By: Mathieu Muths (airelibre) (airelibre)
Date Submitted: Tue Sep 06 04:19:38 -0400 2011

Assigned To: Robert Campbell (calguy1000)
Version: 1.3.5
CMSMS Version: 1.9.4.2
Severity: Major
Resolution: Fixed
State: Closed
Summary:
No users notifications when moderating in admin
Detailed Description:
CMSMS version : 1.9.4.3 (but same problem in 1.9.4.2)

When the posts are moderated (so an admin has to publish them before displaying
on the website), there are no notifications to the users who checked the
notification checkbox when the admin changes from "draft" to "published".

It made a quick change in the action.admin_editcomment.php file, line 162 :

From :
if( empty($error) )
      {
			$comment->save();
      }

To :
if( empty($error) )
      {
			$comment->save();
			// Notify the users
			if ($comment->status == CGFEEDBACK_STATUS_PUBLISHED)
			{
				// user notifications
				cgfb_comment_notifier::notify_users($comment);
			}
      }

To add that function, but I think it can be improved.

I don't know if this is really a bug or a choice ?

Thanks


History

Comments
avatar
Date: 2011-09-06 23:14
Posted By: Robert Campbell (calguy1000)

fixed in svn
      
Updates

Updated: 2012-06-22 10:36
state: Open => Closed

Updated: 2011-09-06 23:14
resolution_id: => 7