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.

 

export and import phrases

6 Posts
3 Users
0 Reactions
3,484 Views
(@theplacetobe)
Active Member
Joined: 9 years ago
Posts: 17
Topic starter  

I have customized the phrases used by WPDiscuz for notification emails.

Now I would like to use my phrases on all the sites I have on my multisite install?

How can I do that. Do you have an export/import function, or can I do it "manually" by digging in the database with PHPMyAdmin?

Thanks for feedback, I hope a solution exists, it would save me a lot of time.


   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6444
 

Hi @theplacetobe,

I'm sorry, but wpDiscuz allows export/import all option, but not phrases yet. We've already added it in our to-do list. We'll add it in next version releases. 


   
ReplyQuote
(@theplacetobe)
Active Member
Joined: 9 years ago
Posts: 17
Topic starter  

OK fine, any short term solution by digging in the database?

If you tell me where the data is, I can get it done on my own.

I have almost 100 sites to update, so I don't want to edit them 1 by 1...

It looks like all the phrases are in the table wp_N_wc_phrases, where N is the site id of the site in the multisite install.

So export this table and import it in another site would do the trick?

This post was modified 6 years ago by theplacetobe

   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6444
 

yes @theplacetobe you need to export DB _wc_phrases table and import to new websites DB.

I'm leaving articles that should be useful below.

How to backup or export a database or table: https://help.dreamhost.com/hc/en-us/articles/214395738-phpMyAdmin-How-to-backup-or-export-a-database-or-table

How to import and export a MySQL database: https://mediatemple.net/community/products/dv/204403864/export-and-import-mysql-databases


   
ReplyQuote
 itlr
(@itlr)
Active Member
Joined: 6 years ago
Posts: 17
 

Do you have an ETA for phrase export/import to become available?


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6444
 

Hi @itlr,

I'm sorry, but I don't have any ETA yet. We do all our best to update the plugin asap. 


   
ReplyQuote
Share:
Scroll to top