Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




User First Name vs User Name…

UserPost

6:29 am
September 24, 2009


flightoftheowl

Member

Cape Town

posts 2

1

Hi, I am creating a WordPress site which is quite an extensive CMS.

I've been looking for a solution like this, which allows me to assign specific, editable pages to specific single users.

However, Role Scoper uses the first names of single users (I could eventually have many users with the same first name), and not the user name (which is unique). That presents me with a problem, as I wouldn't know which user (to choose from the same first names) to assign to specific pages…

Is there a way that I could make Role Scoper address individual users by User Name then? I've been trying to find the answer here on the forum, and also by googling, but don't find anything. It does seem strange to me though, I am sure this must have come up at some point?

Thank you,

Richardt

8:46 pm
October 5, 2009


Kevin

Admin

posts 2402

2

flightoftheowl said:

I've been looking for a solution like this, which allows me to assign specific, editable pages to specific single users.

However, Role Scoper uses the first names of single users… Is there a way that I could make Role Scoper address individual users by User Name?


Where are you seeing Role Scoper using only first names? Could it be that your users don't have any last name stored, or that they are configured to display first name only?

By design, Role Scoper "uses" user IDs and displays their "display_name", as stored to the users table. What you're asking for is the option to instead display (for role assignment or group membership) the unique username. That's a very sensible option which really should be there already, and I'm adding it to my To Do list.

Meanwhile, it does seem to me that your blog setup has exacerbated the issue by omitting last names from the display_name. Do you agree?

7:49 am
October 7, 2009


flightoftheowl

Member

Cape Town

posts 2

3

Hey Kevin, thanks for the reply, and forgive me for not thanking you for this plugin in my first post :) So thank you!

I am still figuring my way around your plugin, being hecticly busy figuring a user based system where listing-owners have page specific access to only their listings and nextgen image galleries… My head is smoking, I am unfortunately not as code savvy as you, and many others are… I am learning though, slowly but surely…

You are right, I did mean to say that Role Scoper uses "display_name" vs "username", and this is evident where-ever there are options to apply user specific measures.

And yes, it is true that this problem is amplified by the fact that the blog is configured to use the users first name as "display_name". An added last name would surely make it more unique, but still the possibility of duplicates exist…

I am using the Cimy User Extra Fields plugin, which allows users to also supply their first and last names at registration (I don't have any real users though at this point, only test users that I have created). So the last names are definitely recorded. It seems to me though that WordPress uses the users "first name" as default when it comes to assigning a "display_name" - that is until one changes it manually…

Or is there a setting in WordPress whereby I could default the "display_name" to being the unique username?

2:35 pm
October 14, 2009


Kevin

Admin

posts 2402

4

flightoftheowl said:

I am using the Cimy User Extra Fields plugin, which allows users to also supply their first and last names at registration (I don't have any real users though at this point, only test users that I have created). So the last names are definitely recorded. It seems to me though that WordPress uses the users "first name" as default when it comes to assigning a "display_name" - that is until one changes it manually…

Or is there a setting in WordPress whereby I could default the "display_name" to being the unique username?


Then maybe this is a CIMY issue. Each user's display_name is stored at registration, and the default WP behavior is to set it equal to the unique user_id.

I will add an option for Role Scoper to display user_id in the role assignment UIs rather than display_name.


About the Agapetry forum

Currently Online:

13 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1186

Posts: 5409

Members:

There are 1176 members

There are 1 guests


Kevin has made 2402 posts

Top Posters:

metal450 - 159

Ragnar - 105

YikYak - 70

whiteorb - 44

Daisy - 35

Administrator: Kevin | Moderators: Kevin