Skip to:
Content
Pages
Categories
Search
Top
Bottom

user_nicename in messaging

  • @stevieg

    Member

    I have amended the user_nicename to prevent my Usernames being visible to the public.. So instead of a members url’s being http:example.com/members/user_nicename they are example.com/members/user_newnicename. I hope that’s clear. I didn’t want people being able to see the admin Usernames; this means the @username displayed is the new username not the one used to log in.
    OK. My problem is that this works great until you want to send a message to that person – the new @newusername doesn’t work you have to use the login username. Any idea why they are different? i.e. why the mesage is looking for username and not the displayed @name

Viewing 9 replies - 1 through 9 (of 9 total)
  • @stevieg

    Member

    @modemlooper

    Moderator

    Don’t see what the problem is, Twitter works like this. you have your @name and you can specify a full name in profile. There is a plugin that forces @username everywhere.

    @stevieg

    Member

    I did this because I don’t want people seeing the administrators login username – that’s the problem I don’t really care what twitter does. There is an inconsistency between the usernames shown and how they work. See http://bni-weymouth.org/members/LindaPH/ where the user Lindy (login username) is shown as Linda (Display as name) and the @LindaPH is the user_nicename. great, just what I wanted – except that the @name for messaging is STILL @Lindy which makes the help text next to @LindaPH incorrect – so this inconsistency is an error.

    @modemlooper

    Moderator

    The name you message with and what BP attaches content to is the same username you log in with. If you’ve edited core code then you’ve messed up the way it works. There is no inconsistency.I used twitter as a reference because that is exactly the way BP works in displaying usernames and full profile names.

    How would anyone know who and admin is on a site unless you tell them?

    @stevieg

    Member

    I didn’t mess with the core at all. All I did was change the user_nicename. BP is using the user_nicename next to the ‘Display as’ name with an @ in front to indicate you can message to it. You can’t. You can only message to the username you login with, as you quite rightly state. Either BP should use the user login or the User_nicename – not both. Knowing who an admin is isn’t that hard you just need to look at the messages – or if you have time you could try them all. the point is that pne of the first recommendations from WordPress, if you are trying to secure your site, is to change the admin login – well if you use BP there’s no point is there – it’s open to anyone to see!

    @modemlooper

    Moderator

    Something is off then because on every site i’ve ever used BP on the @name on your profile IS the login name.

    @StevieG is your login name on here right? You should get notified of this reply because I @’d you. That’s how it works on every BP site.

    @stevieg

    Member

    Yes I agree. That’s why I am saying this situation is an error. The field being used next to the display name, @LindaPH in my example, is NOT the user login name. That is still Lindy and you would need to use @Lindy to message her. BP uses that same user_nicename in constructing the permalink. In this case to see Linda’s profile, the permalink is http://bni-weymouth.org/members/LindaPH/ and not /Lindy/. We now have the url and the @name using one field but the messaging/mentions using another – I’d call that inconsistent.

    What I would really like is to know how to make BP follow this through to make the messaging use it too so that @LindaPH worked.

    @modemlooper

    Moderator

    Did you change the login name via a plugin or in the database? I’m looking at your site and the @mentions name in the usernav
    is different –> @BNIWAdmin when the profile header says @stevieG

    @stevieg

    Member

    I added user_nicename as Extra Profile Information. I haven’t changed the login name its still BNIWAdmin.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘user_nicename in messaging’ is closed to new replies.
Skip to toolbar