[Andy] Update guest

[Andy] Update guest 1.1

Homicide

Administrator

Staff member
Reputation: 50%
Joined
Oct 27, 2025
Messages
352
Description:

Updates guest username to specified user ID.

This add-on is used when a member has been deleted, but then later you want to re-assign the posts back to a valid user.

(Example of Options page)

Andy pdate guest-1.webp


Step 1:

Update the Options page with the Guest username and User ID. The User ID will be the valid user you created and it must have the same username as the guest username you want to update.

Step 2:

Go to the Rebuild caches page:

Admin control panel -> Tools -> Rebuild caches -> Update guest

Clicking the Rebuild now button will update guest posts defined in the options page.

Step 3:

Rebuild threads:

Admin control panel -> Tools -> Rebuild caches -> Rebuild threads

Be sure to check the "Rebuild post position and post counters" option.

Step 4:

Rebuild search index:

Admin control panel -> Tools -> Rebuild caches -> Rebuild search index

Questions and answers:

Q: Can I run this from CLI?
A: Yes. Log into the server and navigate to the directory where XenForo is installed. Enter the following command:

php cmd.php xf-rebuild:updateguest
 

Attachments

Similar threads

Description: Updates quoted username in posts. This add-on is used after a user has been renamed. The add-on will update quotes in posts to change the old username to the new username. (Example of...
Replies
0
Views
126
Homicide
Allows users with permission to add new update to any resource Requirements PHP 7.3+ XenForo Resource Manager 2.1.4+ Standard Library by Xon v1.10.0+ Options XenForo Resource Manager Name...
Replies
0
Views
30
Nitro
Description: Removes 'Update your status...' in the visitor menu. (Before add-on is installed) (After add-on is installed)
Replies
0
Views
146
Homicide
Description: Easily update your profile status on What's new page. Screenshot: < when you click in the field it will show the whole editor >
Replies
0
Views
45
Homicide
Description: Adds message numbers to direct messages. (Example of message numbers in direct messages) (Example of Rebuild caches) Setup: After installing the add-on, go to Rebuild caches and click...
Replies
0
Views
26
Homicide
Back
Top Bottom