Discussion:
How Best to Import Users via command line script into sub sites on a Multisite Network
The Avanti Group
2013-12-18 16:58:10 UTC
Permalink
Hi - Happy Holidays to all and here is hoping the WP-Hackers Santa
Spirits and Code Elves can help me with the following ...

my question = does anybody know how best to import users via command
line or via php script into sub sites on a Multisite Network ..??..
and/or know how best to go about extending a plugin that does import
users into sub sites like, Cimy User Manager -
http://wordpress.org/plugins/cimy-user-manager/ - e.g., with an api
or other code that runs the plugin at command line ..??..

as fyi, Cimy User Manager seems to do a great job of loading a list
of users via csv file into a sub site but this requires the GUI and a
number of admin clicks ... thus got to thinking if it was possible to
run a plugin at command line so initially i posted this thread ->
http://wordpress.org/support/topic/api-or-method-to-import-users-from-command-line
...

accordingly, any help or pointers that can be shared to add users via
command line scripts is greatly appreciated ... to be continued ...
cordially, chuck scott


------------------------------------------------------------------------------
Chuck Scott -> Information Architect
------------------------------------------------------------------------------
Specialty -> WordPress Multisite Information Design
Jerry Milo Johnson
2013-12-18 17:38:52 UTC
Permalink
wp-cli has this ability baked-in.

http://wp-cli.org/commands/user/

I cannot recommend it highly enough.

(wp-cli is, as you might guess, WordPress Command Line Interface)

hth,
Jerry Milo Johnson
Hi - Happy Holidays to all and here is hoping the WP-Hackers Santa Spirits
and Code Elves can help me with the following ...
my question = does anybody know how best to import users via command line
or via php script into sub sites on a Multisite Network ..??.. and/or know
how best to go about extending a plugin that does import users into sub
sites like, Cimy User Manager - http://wordpress.org/plugins/
cimy-user-manager/ - e.g., with an api or other code that runs the plugin
at command line ..??..
as fyi, Cimy User Manager seems to do a great job of loading a list of
users via csv file into a sub site but this requires the GUI and a number
of admin clicks ... thus got to thinking if it was possible to run a plugin
at command line so initially i posted this thread ->
http://wordpress.org/support/topic/api-or-method-to-import-
users-from-command-line ...
accordingly, any help or pointers that can be shared to add users via
command line scripts is greatly appreciated ... to be continued ...
cordially, chuck scott
------------------------------------------------------------
------------------
Chuck Scott -> Information Architect
------------------------------------------------------------
------------------
Specialty -> WordPress Multisite Information Design
------------------------------------------------------------
------------------
Site -> http://ChuckingIt.com - Reflecting on Life,
Business, Entrepreneurship, Innovation & Technology
------------------------------------------------------------
------------------
------------------------------------------------------------
------------------
------------------------------------------------------------
------------------
------------------------------------------------------------
------------------
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Loading...