Wordpress User Management - wordpress

I need a little bit help with user management.
I have an education site (not ready yet), i need two registration:
First for students, they can register to courses with name, email, phone number etc.
Second for teachers, who can register with name, email, year of birth etc., but teachers can register for courses too.
But when a teacher wants to register for courses too, i want that she/he can use same email address, name etc. too. And i want it, after a teacher register both place, on the wp-admin/users i see just one registration.
There is any plugin which is easy to do it?
Thanks for your help!

The answer is 'no' there is no easy plugin for this. I'm DV the question though.

I'm going to go out on a limb here and suggest that you not use Wordpress for this website and you consider building everything yourself. You are already hitting the constraints of Wordpress in that it is difficult to assign multiple roles and manage them consistently. I'm going to take another guess and say that even if you launch using Wordpress, you'll quickly outgrow it and need to rewrite your entire application.
If you build the application yourself, you can design the user database however you want and allow users to have one or more roles (i.e. student and/or teacher). Then your application can use the roles a user has to determine what to display to them.
If you want to reduce your overall dev time, piece together third-party APIs and tools. If you are using Node.js, check out Keystone.js (http://keystonejs.com), Hatch (http://hatchjs.com), and other CMS tools. You can also look for a user database like Passport (https://www.inversoft.com/products/user-database-sso) that give you a bunch of user management features. There are tons of free or open-source tools out there that can help you build this application quickly.

Related

WordPress Permissions Roles Manager?

I´m currently developing the Intranet for the company I am working for. The site is currently based on SharePoint, but I have to migrate it to Wordpress. And that´s my first developer experience with Wordpress, you just should know. Creating the theme, content and working with the WP Admin area works very well, but where I´m feeling defenseless is the permissions topic.
Generally, the whole page content is managed by the Marketing department. So, for me it is ok that they have access to WP Admin and I would use one of the predefined roles available.
But there will be also an area for the departments where specified users per department should be able to
edit the pre created page content
add subpages and edit its content (it would be nice if it can be defined which page templates can be selected by the user)
add posts for a pre created category (that should not be changeable by the user)
edit its profile and password
A whole access to WP Admin should be therefore prevented.
I read much information about roles, capabilities and reviewed forums and blogs presenting potential plugins. But to be honest, I´ve lost the overview and I´m totally scared about what´s the right way to do such like this the professional way.
Is there anybody who was already in such a situation or knows a good resource where to read more?
Thanks a lot.
John
PressPermit is the tool I choosed. It covers all needs described in my question.
Note: To use all features, you need to buy a support subscription currently available for $55 a year for one site.
However, a very powerful tool and in comparison to Advanced Access Manager I tried before, it really supports permissions also for multiple roles.
If you are thinking about, use the screencasts to see if the tool cover your needs. Unfortunately, there is no trial available, but you can request an evolution wordpress installation which was setup within one day in my case. This service costs $5.

With Wordpress, can users register on the site and use a single account for all features?

I'm trying to get an idea of what Wordpress can do. I know there are tons of plugins out there, so the functionality of Wordpress is extremely extendable. But basically I just want to know if Wordpress can do what I want it to do before I invest a ton of effort into it.
I want to build a website where visitors can create an account. With this single account, they should be able to:
Shop in the store (perhaps WooCommerce) and view orders/etc.
Interact in the forums (perhaps bbPress) and view their posts, manage their forum profile, etc.
Subscribe to some "subscription-only" areas on the site
If this is possible, what's the best way to do it? Are there plugins for each of these things already interact with each other well? I'm open to any and all recommendations.
Yes , Wordpress can do all of the above with ease .
It has a quit powerful user-management system with user levels, roles and capabilities.
All of the functionality you have described above can be done with this system, and most of theplugins you have listed take advantage of that in some way or another. ( for example, adding custom user roles )
However, although it is possible to achieve with only plugins , Since roles and capabilities must be fine-tuned - in all likelihood you will have to do some adjustments or custom coding .

Drupal Ubercart Advice

I need to borrow some wisdom from a Drupal expert.
We are hiring a marketing firm to build our website. They are building the front end using Drupal 7, and hiring yet another firm to do the programming. Once the front is complete, they will be handing it to me to implement the shopping cart and eCommerce, along with integrating into our CRM and ERP
From what little I've worked with Drupal, I know that it generally manages everything as a chunk of content. I am also aware that you can create a custom content type which we could build to make a product model. And I have read in a few places that Ubercart can use this to build the product catalog essentially.
So, if I allow them to continue in this way, will there be a way for me to pull or update information about products through an API (SOAP or otherwise)? Is there a better alternative?
My concern is that handling products as content seems a bit flimsy, and I fear that when it comes time to link together our CRM and ERP, that I won't have any way (short of working with the database directly), to update or pull information. Ultimately, the goal is to have Drupal only deal with layout and actual content, and our ERP/CRM duo will handle maintaining product information. Is there an established method or best practice for what we are looking to do?
++ I'm more interested in the database structure than anything else.
I think it depends on what type of products are you going to sell, are you going to sell them online and regarding to this realize which software will be primary(master) and which one will be secondary(slave).
If you plan just to tell people you have several products you can store these products inside ERP and then export ERP/CRM products data and import them into Drupal on a daily basis. ERP/CRM will be your master storage then.
If you plan to sell something online and you have to manage stock levels then you can follow one of these solutions (or make up another one):
ERP/CRM is a master storage for everything (products, clients, stock levels). Drupal is used only for authentication process and for your products storage "gateway" so your site visitors will browse through your site and that browsing won't affect your ERP/CRM but if one will buy something you will let Drupal get all information abuot logged customer and let him boy something regarding to your stock levels.
Drupal is a master storage for everything. I think this is not a good idea because you already have ERP/CRM, products, descriptions and so on so you will need to make them synchronized and that's always lots of hard work.
ERP+CRM are for products and clients offline, Drupal is for e-commerce only. You just need to export your products from your ERP system and import them into your Drupal site on a daily basis. Then if someone will want to buy something online he will interact with Drupal site (cart, checkout etc).
Technically importing/exporting nodes is not as difficult as it could be. For instance you just create a stdClass() object, fill its values ($node->title, $node->body, etc) then call node_prepare(), node_save() and that's all.
If you could provide more information about your business and what are you going to do with your Drupal site, maybe, you will get more answers. Also sorry for my English, I'm not native.

Drupal unique login

I have two instances of Drupal on same server instance 1 and instance 2 with different databases. I want to do following functionality so I will go ahead for my work.
Unique login for both instances. When I login to instance 1 then if I open url of instance 2 on same browser then it should not ask for me login.
While any add/update operation perform on instance 1 or instance 2 then user table should be updated in both databases.
Please let me know so I will go ahead.
Thanks in advance.
If there you I would utilize Drupal`s openid (oAuth) technologies. That could be done with some minor coding or even a couple of modules.
That would allow you to create linked accounts but different profiles for each site. You would have a setup like it is here at stackexchange network and some additional functionality.
EDIT: There is a module called OpenID URL.It will give your users ability to use their profile pages as OpenID URLs. You could do it with a just a tad of coding.
Then you could simply copy "Loin with OpenID" URL form your other site and name it "Create joined account..." or something like that.
You could use oAuth technology if you want more advanced connections.
There is also a possibility to create a multisite website.
I have not tried this module yet, but it sounds promising, to solving your first part of the problem: project bakery.
Bakery provides a "single sign on" feature for Drupal based sites that
are on the same second-level domain (i.e. example.com,
subsite.example.com, subsite2.example.com). It could also provide
support for any other website that implements the same web cookie,
xmlrpc, and POST methods.
For the second part I'm very interested in a solution. The only thing I can come up with at the moment, is some kind of RSS feeds. I know you can create nodes based on that.

Combine and secure a dual Wordpress installation

I've been assigned to add some features to an existing newspaper. This newspaper is based on Wordpress. They want to add a subscription feature for subscribed users to receive email with the latest news and some other stuff.
They also want a coupon system, which I'm planning to implement using CouponPress (http://www.couponpress.com/) which is a separate Wordpress installation for coupons.
They want to keep the subscribers functionality completely separated from the main blog to avoid opening security holes for attackers to gain admin or editor roles and mess with the newspaper.
What do you recommend for this?
If I keep the subscription feature attached to the second blog, is there a plugin or something to automatically email the subscriptors of the second blog with latest entries, a daily or weekly? I want the second blog to look as part of the first one for users. Maybe replicating the user list somehow in the main blog, but avoiding sign in on it.
What do you think?
Thanks for your help
just throwing an idea for the subscription feature, if you do go the path of subscription to the other blog you can write some quick and dirty function to query the new or even an sql trigger to copy new user recordds to the other db (I don't know if mysql allows for inter db copy triggers)
but - I don't really know what'll you'll achieve that way. if the data isn't secure and sanitized someone could try to run an sql injection. and then copying the record to the other db would contaminate it either.
better use on of wordpress good security plugins, harden server access etc

Resources