Support » Plugin: Social Share, Social Login and Social Comments Plugin - Super Socializer » Prevent User Slug Automatically Taking From Gmail Username

  • Because Name Already Exists

    (@because-name-already-exists)


    Just received some minor request from my site members.

    When new user signup with their Google Account, it automatically also create slug from their Gmail Address.

    For example:

    1. A user signup with: his@gmail.com
    2. He will got gmail username as their user slug: https://example.com/author/his/

    Is there a hook or something that i can use to prevent Super Socializer automatically create user slug from Google / Gmail username?

    For temporary i have solved this problem by changing user slug base with their user id (something like example.com/author/46/). but if there any solution regarding this problem I will appreciated that.

    I was thinking using register_post (I dont know if Super Socializer also using this) https://developer.wordpress.org/reference/hooks/register_post/ but if there any related hook from Super Socializer it would be better using that one.

    Thank you for your help.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Heateor Support

    (@heateor)

    What do you want the username to be created from?

    Thread Starter Because Name Already Exists

    (@because-name-already-exists)

    I was thinking from First name (with auto increment if have duplicate slug).

    I know sometimes user use their first name for gmail address, but its chance look better than using their gmail user name.

    If their first name same as gmail username, maybe i will give them unique random character. Basically it can be anything as long not their gmail username or WordPress user id.

    Thank you for your response

    Plugin Author Heateor Support

    (@heateor)

    Okay. Will make changes in the plugin soon and keep you posted.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Prevent User Slug Automatically Taking From Gmail Username’ is closed to new replies.