Notifications
Clear all

wpForo 1.x.x [Closed] Last modified date of topic in sitemap and database

4 Posts
2 Users
0 Reactions
1,092 Views
tayo
Posts: 42
 tayo
Topic starter
(@tayo)
Trusted Member
Joined: 4 years ago

Hi,

1. If I modify the title or content of the topic, will the modified date not be saved in the site map or database?
I recently checked that the revised topic as above did not update the modification date of the site map and database.

Is this normal? Or is there anything I don't know?

2. Is the date updated only when adding a post?

3. What happens if I modify the contents of the post?

I want to know what situation the update date in the database and site map of the topic will be updated.

Thank you.

3 Replies
Chris
Posts: 3627
(@chris)
Famed Member
Joined: 3 years ago

Hi @tayo,

There are two date columns (created and modified) in the database for the topic, after creating the topic both of them have the same topic creation date, after the topic modification the modified date changes.

You can see the column in your database (your website prefix)_wpforo_topics

tayo
Posts: 42
 tayo
Topic starter
(@tayo)
Trusted Member
Joined: 4 years ago
Posted by: @chris

after the topic modification the modified date changes.

Hi @chris ,

This is not working.
As mentioned above, if I modify the content of the topic, it will not be updated to the modified date. Only the created date is always displayed and does not change to the modified date.

Only when a new post is added to the reply of the topic, the date of the topic is changed to the modified date of the sitemap and database.

So I recommend you to create a new topic yourself and modify it. However, you will see that the date always does not change from the date it was created. You can check it all on the sitemap and database.

If there is anything I don't know, please let me know.

Thank you.

 

1 Reply
Chris
(@chris)
Joined: 3 years ago

Famed Member
Posts: 3627

@tayo,

Let me explain how does the topic modified date work in the database.

Topic Modified date changes`

1. New Reply

2. Deleting the last reply, which changes the modified date to the old one.

3. Merging the topic

4. Splitting the topic

5. moving topic,

6. moving reply, which changes the modified date to the old one.

If you edit the first post of the topic, modified date would change for the first post which is in (your website prefix)_wpforo_posts.

Editing the topic Title won't change the modified date.