What's new
Anonymous

XF 2.2+ Resave posts all 1.4

No permission to download
IF YOU DOWNLOAD ANYTHING, PLEASE MAKE SURE TO WRITE A REVIEW OF THAT FILE. THANK YOU!
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 options which need to be disabled before running add-on)
pic002.jpg


How to use with Browser:
If your forum has fewer than 100K posts use this method.
Add 'resavepostsall' to your forum URL.
How to use with CLI:
If your forum has more than 100K posts use this method.
Log into your server terminal.
Navigate to the directory where you have XenForo installed.
Enter the following command:
php cmd.php xf-rebuild:resavepostsall
Questions and answers:
Q: After I run the add-on, can I re-enable the 'Enable edit log display after' and 'Enable edit history tracking and prune after' options?
A: Yes.
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.
Q: Who can run this add-on?
A: When using from browser, only admins can run this add-on.
  • Like
Reactions: lagrace

Similar resources

Top
Santa's Hat