Notifications
Clear all

wpForo 1.x.x [Closed] How to transfer ownership

5 Posts
3 Users
1 Reactions
754 Views
Posts: 22
 msr
Topic starter
(@msr)
Eminent Member
Joined: 5 years ago

How to transfer ownership of a topic to another user?

4 Replies
Posts: 22
 msr
Topic starter
(@msr)
Eminent Member
Joined: 5 years ago

Changing the userid in db table wpforo_posts only makes the ownership appear to have transferred.

  1. The forum still shows the previous owner created the topic.
  2. If the post is private, it is not viewable by the new owner.

How to fix issue 1 and 2? Especially 2.

1 Reply
Alvina
Moderator
(@alvina)
Joined: 5 years ago

Member
Posts: 1862

@msr,

It seems there is a cache issue.

Please navigate to the Dashboard > Forums >Dashboard find and click on "Delete User Cache" and the "Delete All Caches" button.

Then go to the forum frontend press CTRL+F5(twice) on the frontend and check again.

Posts: 22
 msr
Topic starter
(@msr)
Eminent Member
Joined: 5 years ago

I asked how to transfer the ownership of a topic, and wrote I tried changing the userid of a post. I needed of course to change the userid of the topic instead. Along with deleting the caches, that worked. Thanks. Is there a way to automatically/programmatically delete the caches?

1 Reply
Moderator
(@martin)
Joined: 8 years ago

Support Team
Posts: 992

@msr,

The cache is automatically deleted when you do some action in forum not directly in MySQL database. So, please remember to delete wpForo cache after each  database manipulation.

BTW, the topic userID should be changed in wp_wpforo_topics and in wp_wpforo_posts (topic first post) tables.