latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

copying user setting

Home Forums Community Forum copying user setting

This topic contains 7 replies, has 2 voices. Last updated by  Cristián Lávaque 4 years, 8 months ago.

Topic Author Topic
Posted: Wednesday May 9th, 2012 at 6:04 pm #13088
Mike
Username: s1r0n

i run a network I need to copy all the s2 user settings from one blog (blog id 11) to another (blog id 7). is there a way to do this. better question, what do I need to do to do this

List Of Topic Replies

Viewing 7 replies - 1 through 7 (of 7 total)
Author Replies
Author Replies
Posted: Wednesday May 9th, 2012 at 6:52 pm #13095

Hi Mike.

What do you mean by user settings? The userbase, s2Member’s options or clone the site?

Posted: Wednesday May 9th, 2012 at 8:28 pm #13099
Mike
Username: s1r0n

i mean the user settings. LIke subscribed users have data that associates their user data with paypal subscriptions, and s2 levels. i need to move those settings from blog 11 to blog 7. i imagine this involves simply fiddling with some of the data in the database, but I need to know where that data is stored, and how its represented, so i can do the modifications.

does this help?

Posted: Wednesday May 9th, 2012 at 8:51 pm #13101

Ah, got ya. Yeah, that’s in the usermeta table.

A simple way to migrate that would be, if you have s2Member Pro in both blogs, to export the users in one and then import/update them in the other. [hilite path]Dashboard -› s2Member® -› Import/Export -› User/Member[/hilite]

I hope that helps. :)

Posted: Wednesday May 9th, 2012 at 9:59 pm #13109
Mike
Username: s1r0n

i do have pro installed. the export function however exports 250 lines, but the import functin only imports 100. so they don’t work that well. can you tell me how the data is represented in the database. maybe I can just go in there and make the changes.

Posted: Wednesday May 9th, 2012 at 11:11 pm #13112

I don’t know the exact format for that data, but it’d be in the usermeta table. Look for entries that s2Member made. Some will be serialized arrays too.

If you don’t need them in the first blog anymore, you could just update those users’ blog ID to the other one.

Posted: Thursday May 10th, 2012 at 5:53 pm #13157
Mike
Username: s1r0n

If you don’t need them in the first blog anymore, you could just update those users’ blog ID to the other one.

how do I do that?

Posted: Thursday May 10th, 2012 at 6:55 pm #13162

With a MySQL query. I’m not very familiar with multisite. As far as I know, all the network users are in the same table, and they have a blog ID to know to which one they belong. If that’s correct, then do a query in phpMyAdmin to udpate those with blog ID __ to blog ID __.

Viewing 7 replies - 1 through 7 (of 7 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.