Notifications
Clear all

[Closed] Replace functionality

3 Posts
3 Users
0 Reactions
1,598 Views
Posts: 6
Topic starter
(@iokinpardo)
Active Member
Joined: 7 years ago

Is possible to add the "Replace" functionality to the current existing " Search Phrase" option?

It could be very interesting to have a possible word replacement for the whole Forum.

Thank you very much

Topic Tags
2 Replies
Sofy
Posts: 4772
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi Iokin Pardo,

I'm sorry, but I don't follow you. Could you please clarify a bit? 

Robert
Posts: 10587
Admin
(@robert)
Support Team
Joined: 9 years ago

If you want to change X phrase located in all posts content to Y you should execute this SQL query in phpMyAdmin database manager of your cPanel or in other places for SQL queries:

UPDATE `wp_wpforo_posts` SET `body` = REPLACE (`body`, 'X', 'Y'); 

IMPORTANT:

  • Please backup wp_wpforo_posts table before this manipulation.
  • If your database table prefix is not wp_ , please change it in SQL query.
  • After this SQl you should delete website caches, then delete wpForo all caches in Dashboard > Forums > Dashboard admin page.