RSS Feed/News How to save date, when custom_fields are changed?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,676
Points
823

Reputation:

I don't want to bump threads, but I also don't want to add a new field to xf_thread.
But I have to know when custom_fields are changed. And I need this information in thread and not in post only.

The deal is update
thread->last_post
post->post_date
(and forum->last_)

but what I do with
post->last_edit_date?

Could there be any problem, if the last edit_date is before the post->post_date?

Is it the best solution to do?
post->post_date to now;
then post_last_edit_date to now, if not 0...

Read more

Continue reading...
 
Status
Not open for further replies.
Top