- Compatible XF Versions
- 2.2
Requirements:
XF 2.2
Description:
Adds rebuild tool that allows to restore post messages from backup table.
Useful in case of unsuccessful bulk text replacement.
CLI command:
Will replace the message of a post in the current forum with a message from the posts backup table (if found with the same ID).
Optionally, the phrase to be found can be specified (on the current forum, not a backup).
XF 2.2
Description:
Adds rebuild tool that allows to restore post messages from backup table.
Useful in case of unsuccessful bulk text replacement.
CLI command:
Code:
xf-rebuild:ozzmodz-pmbr-post-message-replace --table xf_post__backup --phrases "phrasetosearch1" --phrases "phrasetosearch2"
Will replace the message of a post in the current forum with a message from the posts backup table (if found with the same ID).
Optionally, the phrase to be found can be specified (on the current forum, not a backup).