Update guest

Update guest 1.1

No permission to buy ($35.00)
Compatible XF 2.x versions
  1. 2.0
  2. 2.1
  3. 2.2
  4. 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)

pic001.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
  • Like
Reactions: javilonas
Author
AndyB
Views
584
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from AndyB

  • Print manager
    Print manager
    Provides PDF page for posts, direct messages and resource content.
  • Print friendly
    Print friendly
    Provides print friendly page for posts, direct messages and resource content.
  • Default thread content
    Default thread content
    Adds default thread content when creating a new thread.
  • Footer append
    Footer append
    Adds a footer block below the default footer.
  • Register email
    Register email
    Sends email to staff members when there's a new registration.

Latest updates

  1. See description

    Update guest v1.1 changes: Now uses CLI.
Back
Top Bottom