Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

[Closed] Replace functionality

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

Hi Iokin Pardo,

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

Robert
Posts: 10616
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.