- Compatible XF 2.x versions
- 2.0
- 2.1
- 2.2
- 2.3
Premium upgrade:
This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:
https://www.xf2addons.com/
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)
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:
This XF2 add-on along with the entire collection can be purchased for $35.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:
https://www.xf2addons.com/
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)
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