Creating new user

  • Philip Holmes
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago #123544 by Philip Holmes
Creating new user was created by Philip Holmes
I have an issue with adding a new member that I hope you can advise of a workaround.

To explain in a bit more detail. We do not want to show the subscription plans on the website, as the clients business is visiting people in the workplace, undertaking an assessment of them, creating a personalised health plan for them, and adding them as a new member whilst he is there. I really don't want him to use the admin area of the site for doing this.

My idea was, I would create my client as a user in Joomla, with a new Viewing Access Level (members admin) so that when he logs in to the website front end, certain menu items are available to him, one of them being Add New Member. This all works great, however, when he tries to add a new member, the membership system adds a new member in his name, even though I have it set 'use email address to create username' which I thought could be a workaround.

Is there anyway to accomplish this ?

Many thanks, phil

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #123550 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Creating new user
Hi Philip

If I understand your requirement properly, you can use frontend subscriptions management feature to allow users you want to add new members. See membershipprodoc.joomservices.com/fronte...manage-subscriptions

Not sure if this could be the solution for your problem?

Tuan

Please Log in or Create an account to join the conversation.

  • Philip Holmes
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 month ago #123551 by Philip Holmes
Replied by Philip Holmes on topic Creating new user
I have a few issues with doing it that way.

I have a screen with Manage Subscriptions on it. When I click on 'Plans' to select a plan, the screen refreshes and throws to a different url with a different page format, which is very confusing.

When you enter the create member screen, the 'Select User' is displayed, which I don't want, and the 'Username' field is displayed, even thought in Configuration, I have 'Use email as username' set to Yes. Also, the username field can be left blank, and then no Joomla User is created.

I have a screen with the 3 plans, the administrator clicks which plan and the create user screen is displayed, all of this works perfectly, and the Subscription form is perfect as no Username, and No Joomla user. However, using it this way, the New Subscriber does not create a new Joomla user, as it thinks the user logged on is the same as the new subscriber.

Hope that all makes sense ?

Thanks

Please Log in or Create an account to join the conversation.

More
6 years 1 month ago #123560 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Creating new user
Hi Philip

You cannot login and subscribe for a different user. If you want to subscriber for different users like that, you will need to logout and register for each of these users (on behalf of these users)

Use Subscriptions Management still the right way to me.

- I don't know why it's redirected to a different url when you select a plan. Will have to check it directly on your site to see that
- Select user option can be removed easily (one line of code) if you want. The file we can edit to remove it is components/com_osmembership/view/subscriber/tmpl/default.php. Happy to assist with this remove
- Username is displayed sounds like a bug to me. I will check and correct it in next release of the extension (will fix it sometime this week)

Tuan

Please Log in or Create an account to join the conversation.