Resave posts all

Description:

Allows resaving all posts to update BB code.

This add-on is useful in situation where you need to update BB codes. For example after an import from another forum software and there are raw YouTube URLs, this add-on will go through all your posts and add the appropriate BB codes.

(Example of Options page)

pic001.jpg

(Example of Resave posts all page)

pic002.jpg

(Example of Resave posts all confirm page)

pic003.jpg

(Example of options which need to be temporarily disabled before running this add-on)

pic004.jpg

How to use:
  1. Disable: Admin control panel -> Setup -> Options Logging options -> Enable edit log display after
  2. Disable: Admin control panel -> Setup -> Options Logging options -> Enable edit history tracking and prune after
  3. Go to the Options page and enter a Post ID start and Post ID end.
  4. Add resavepostsall to your forum URL.
  5. Click the Prepare rebuild table link.
  6. From CLI enter the following command php cmd.php xf-rebuild:resavepostsall
  7. Enable: Admin control panel -> Setup -> Options Logging options -> Enable edit log display after
  8. Enable: Admin control panel -> Setup -> Options Logging options -> Enable edit history tracking and prune after
Questions and answers:

Q: Is the 'Last edited by' notice preserved if it already exists?
A: Yes.

Q: Is the Moderator log or Admin log updated?
A: No.

Q: Is the edit history updated?
A: No.