Notifications
Clear all

export and import phrases

6 Posts
3 Users
0 Likes
2,271 Views
(@theplacetobe)
Active Member
Joined: 8 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: 6 years ago
Posts: 5872
 

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: 8 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 5 years ago by theplacetobe

   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5872
 

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: 5 years ago
Posts: 17
 

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


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5872
 

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