Support

  1. rayjbarrett
  2. General
  3. Thursday, June 11 2020, 01:22 PM
Hello. My site uses Joomla, Moodle (a learning management system), Joomdle (connects and maps Joomla and Moodle), and Hikashop (shopping cart). They all use the user fields.
Issue:
1. users often forget their username or think it is their email address
2. users often only input their first name and not last name which does not allow their Joomla registration to map to Moodle

Currently for:
1. Login Type we are using username
2. Name Style we use Only Name and for Display Format Name we use Format Name
The name field is Full Name where the use should type in both their first and last name.

What would be the best solution to our 2 issues?
If I switch Login Type to username or email and Name Style to First Name and Last Name will it solve the issue and will it break the current users' profiles in any of the systems?

If I switch to Name Style to First Name and Last Name do I revise my Full Name field or create two name fields one for first and one for last?

Thank you,
Ray
admin Accepted Answer
Admin
Hi,
unfortunately we have not experience with moodle, anyway:

1) You can try to configure Easy Profile to use "Only email" or "Username and Email" to make a login. The login process is managed by Joomla (not Easy Profile). Easy Profile uses an Authentication plugin, so it is perfectly integrated in Joomla.

2) I think you can configure Format Name as you want. If missing Last name then Easy Profile will show the Joomla name. Also when you fill Firstname and Lastname then Easy Profile will sync the full name with Joomla (so probably also Moodle)
  1. more than a month ago
  2. General
  3. # 1
rayjbarrett Accepted Answer
We have been using "Only Name" for Core Feilds - Name Style.
When we switched to First Name/Last Name (on our staging site) the full name shows in the First Name field in Joomla and there is no last name.
Is there a way to switch from "Only Name" to "First Name/Last Name" and not impact the current user's First and Last name fields in Joomla?
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Sorry but this is not possible. an automatically split of the name can create some problems:
- Users may have entered their first and last name in a different format (last before/after first name)
- Users can have a name with more than one word
- Users can have only a name

Alternative:
If you enable the option "Force compilation of required fields" from Easy Profile options then each users, after the login, is forced to fill Last name
  1. more than a month ago
  2. General
  3. # 3
rayjbarrett Accepted Answer
Content Protected
  1. more than a month ago
  2. General
  3. # 4
admin Accepted Answer
Admin
Hi,
unfortunately we does not have sufficient experience with Joomdle and Moodle, so I’m not really able to help you.

My recommendation is to work with “Only Name” because this is the way how to work Joomla (it have only one core field called Name).
Probably the issue comes because before you had worked with Firstname and Lastname, if it is so then you should resolve your issue with 2 DB queries like these:
1) You need to fill the Easy Profile firstname column with firstname and lastname value for each user
UPDATE #__jsn_users SET firstname = CONCAT(firstname, ' ', lastname)

2) Clean lastname column to avoid unexpected behaviors
UPDATE #__jsn_users SET lastname = ''


VERY VERY IMPORTANT NOTES:
- This operation is irreversible!!! So make a backup of your table (or entire Database) before
- We have not tested these queries, but should works
- Replace “#__” in the table name with the Joomla table prefix
- You can do this with some DB tool like phpMyAdmin, this tool is normally provided by hosting provider
- This operation is irreversible!!!
  1. more than a month ago
  2. General
  3. # 5
rayjbarrett Accepted Answer
I do not want to use "Only Name" because it is causing the two issues that I listed. However, when I switch to using the two fields separately, Joomla loses the last name. Given that this is a Joomla extension, is there a way to make this switch without Joomla losing the last names?
  1. more than a month ago
  2. General
  3. # 6
admin Accepted Answer
Admin
Hi,
sorry but for me the issue is not really clear, if you switch from "Only Name" to "Firstname, Lastname" then you will not lose nothing, normally the Joomla name (Full name) was stored in "Firstname" field and the "Lastname" will be empty.
  1. more than a month ago
  2. General
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.