Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0.

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question RESOLVED: Assign forum posts from deleted account to new account?

  • thumdar
  • thumdar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Joomla Web Design at JSYMedia.com
More
14 years 6 months ago - 14 years 6 months ago #112152 by thumdar
Recently I made the mistake of deleting a user account and am now trying to sync their old forum posts to a new account I created for them. Has anyone ever achieved this? I have tried a few database changes and can't seem to figure it out.

Any ideas would be greatly appreciated.
Last edit: 14 years 6 months ago by thumdar. Reason: Made note of topic being resolved.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #112154 by sozzled
Thank you for your very good question. Sometimes people have to learn the hard way that, as we have consistently written on this forum, you should never delete a user's account. This is because, if that user has posted anything on the forum, their messages will be orphaned. It's not too difficult, with a reasonable knowledge of SQL and a tool like phpMyAdmin, to reassign the messages from the old user-id to the new user-id. As far as I know, this is the only way of reassigning ownership of forum messages.

As it is the more-or-less the policy of this website to not provide specific instructions about what changes to make in SQL - because, in the hands of inexperienced users, there's a very real danger of totally messing up your website - I don't propose to go any further at this time than to give you general advice. I hope that helps.
The following user(s) said Thank You: thumdar

Please Log in or Create an account to join the conversation.

  • thumdar
  • thumdar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Joomla Web Design at JSYMedia.com
More
14 years 6 months ago #112157 by thumdar
Thanks for the reply. You can be assured I learned the hard way not to make the mistake of deleting accounts, but it was accidental. Also I understand this sites policy about not getting too specific about working within the MySQL database but, I've been creating websites since 1995 and working with Joomla since 2003. Any chance you might send me a PM?

Please Log in or Create an account to join the conversation.

  • thumdar
  • thumdar's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Joomla Web Design at JSYMedia.com
More
14 years 6 months ago - 14 years 6 months ago #112166 by thumdar
I resolved this issue.

If you delete a user account and then want to assign user posts to a different account, do this:

BACKUP YOUR DATABASE!

1. Open your forum (front end)
2. Locate the orphaned post and note the ID number
3. Locate the user account ID you want to assign the orphaned posts to
3. Log into phpmyadmin
4. Click on jos_kunena_messages
5. Sort this table by "id"
6. Locate the orphaned post ID number and click "Edit"
7. Look for "userid" and change this to the user account ID you want to associate it with
8. Save

Done. B)
Last edit: 14 years 6 months ago by thumdar.

Please Log in or Create an account to join the conversation.

More
14 years 6 months ago #112167 by sozzled
And be very, very careful. Yes, backup your database and be sure that you know how to restore it! ;)
The following user(s) said Thank You: thumdar

Please Log in or Create an account to join the conversation.

Time to create page: 0.319 seconds