Hi to all.
Does anyone know how to replicate, clone, users? Is it possible?
I'd like to replicate all of their objects too...
Rick
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- Cash@costelloc
Cash - 0 likes
- Team Webgalli@webgalli
Team Webgalli - 0 likes
- Cash@costelloc
Cash - 0 likes
You must log in to post replies.Replicate the database:) read the elgg docu about replicating site
Regards
Team Webgalli
http://webgalli.com
To clone a user and its objects will take some code. The php clone method will take care of the user and its metadata. You would then have to copy the objects and any other data that you wanted to go go with the new cloned user.
Sorry forgot to mention, as Cash said, you need to copy the data directory too
@Webgalli - I think we are talking about two different things. It sounds like Rick wants to clone a user - meaning have two copies of the same user in a database (with different guids). You are talking about cloning a database.