Jump to content

Group promotion and date of last post


kodif
 Share

Recommended Posts

I have member promotion group based on activity of users ( Member last posted > Less than ) If user is active, he is promoted to active members group, otherwise he goes to inactive.
When user post something on forum, in database, in table: core_members > member_last_post date of last post is updated. But... when users write, for example "F*** you" and admin remove his post, date in column member_last_post remains the same, whithout updating. That's mean user can have no post, and be active for years, so promotion rule works wrong. How to fix it?

Link to comment
Share on other sites

Yeas, I have such a rule. Problem is in not updating date of user's last post in table: core_members > member_last_post .

After deleting last post, this date shoud be updated to real date of user's previous last post. Now it is a date of deleted post.

Edited by kodif
Link to comment
Share on other sites

  • 1 month later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...