Notifications
Clear all

[Closed] Replace functionality

3 Posts
3 Users
0 Likes
1,464 Views
Posts: 6
Topic starter
(@iokinpardo)
Active Member
Joined: 6 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: 4233
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago

Hi Iokin Pardo,

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

Robert
Posts: 10499
Admin
(@robert)
Support Team
Joined: 8 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.