Skip to Content Skip to Menu

use the name instead of the username in the url

  • lousyfool
  • lousyfool
  • OFFLINE
  • Posts: 141
  • Thanks: 46
  • Karma: 5
8 years 7 months ago - 8 years 7 months ago #280880 by lousyfool
Replied by lousyfool on topic use the name instead of the username in the url

francosita wrote: When you said "emails as usernames" that means you use email for the access right??


I mean not using usernames at all but email addresses only, so the email address gets stored in the username field as well, and users log in with email and password. As described e.g. in this post .
Last edit: 8 years 7 months ago by lousyfool.

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

8 years 7 months ago #280881 by francosita
Replied by francosita on topic use the name instead of the username in the url
OK ok
I will give a look at that post and i will do some test ;)

Thanks

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

8 years 7 months ago #280882 by francosita
Replied by francosita on topic use the name instead of the username in the url
I tried to change the field used by feelback, but the url doesnt change :unsure:

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

  • lousyfool
  • lousyfool
  • OFFLINE
  • Posts: 141
  • Thanks: 46
  • Karma: 5
8 years 7 months ago #280883 by lousyfool
Replied by lousyfool on topic use the name instead of the username in the url

francosita wrote: I tried to change the field used by feelback


I have no clue what you're talking about. What is "feelback", what are you trying to say?
You don't even say what you're trying to do or achieve.

Tell exactly what you want to achieve, what result you want.
If you already tried, describe step by step exactly what you did.
If your result is not what you expected, describe exactly what you have or see instead.
If you're missing the words, use screenshots.
The following user(s) said Thank You: nant

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

8 years 7 months ago - 8 years 7 months ago #280894 by francosita
Replied by francosita on topic use the name instead of the username in the url
Hello
So what I did it was follow the topic that you suggested me before
www.joomlapolis.com/forum/153-professional-member-support/233068-solved-email-instead-of-username?limitstart=0#278851

I already use the email to login in my site, and following the advices in that post I didn't achive the result that i want, in other word I need to change hov CB makes the url of users page, I wuold like to use other field instead of the username field.

I hope it was clear and sorry :blush:
frank
Last edit: 8 years 7 months ago by francosita.

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

  • lousyfool
  • lousyfool
  • OFFLINE
  • Posts: 141
  • Thanks: 46
  • Karma: 5
8 years 7 months ago - 8 years 7 months ago #280900 by lousyfool
Replied by lousyfool on topic use the name instead of the username in the url
Let me try to wrap up by getting you the whole story line by line in one post:

By default, CB is set to ask users during registration for a username, email, and perhaps a few more fields that you create and set up accordingly.
By default, CB then expects users to log in with their username.
Alternatively, CB can be configured to allow login with either username or email.
Alternatively, CB can also be configured to not ask for a username at all, and to log in with email. (This is what the post I linked to is describing.) In this case, CB stores the email address also in Joomla's username database field.

Depending on your above configuration, either a username or an email address will be part of the URL for a user profile, because CB always uses the Joomla username database field for this.

As already stated, using other fields for the URL (incl one of your CB fields) could be technically possible, but would require modification of a core file.
Worse, most other field values are not unique in the system: you could have multiple users with last name "Smith". If the last name were then used for the URL, the system would not know who you mean and always only show one and the same Smith, not the others.
So, it makes no sense to use a name field different from username for the URL, and the answer to your first post here must be:
"You do not want to use any other 'name' field, because your system could malfunction if you did".
Last edit: 8 years 7 months ago by lousyfool.

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

Moderators: beatnantkrileon
Powered by Kunena Forum