• Welcome to XF2 Addons

    You can purchase a Premium membership for only $35 per year, and this gives you access to download any or ALL of the over 400 add-ons developed for Xenforo 2.x. In addition, Premium members will get technical support. Once the Premium membership has expired you can continue to use the installed addons on your forum as long as you like.
Resave posts all

Resave posts all 1.4

No permission to download
Note
Compatible XF 2.x versions: 2.0, 2.1, 2.2
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: Dimoks
Author
Andy
Downloads
22
Views
363
First release
Last update
Rating
5.00 star(s) 1 ratings

Latest updates

  1. See description

    Resave posts all v1.4 changes: Now requires the following two Options to be disabled before the...
  2. See description

    Resave posts all v1.3 changes: Added CLI support.
  3. See description

    Resave posts all v1.2 changes: Fixed issue with History link.

Latest reviews

Is it possible to pass a parameter on the command line to continue from message number x?

Similar resources

Approve all posts Andy
Approves all posts in approval queue.
0.00 star(s) 0 ratings
Downloads
22
Updated
Bolt to new posts Andy
Change lightning bolt icon to new posts.
4.00 star(s) 1 ratings
Downloads
133
Updated
Delete posts Andy
Delete posts by username.
5.00 star(s) 2 ratings
Downloads
160
Updated
Delete posts banned Andy
Deletes all posts made by banned users.
0.00 star(s) 0 ratings
Downloads
93
Updated
Delete posts by username Andy
Deletes posts by username where the user account has been deleted.
5.00 star(s) 3 ratings
Downloads
54
Updated
Top