WordPress.org

Ready to get started?Download WordPress

Forums

AuthorSure
Authorsure and Theme My Login plugin (5 posts)

  1. User45
    Member
    Posted 1 year ago #

    Theme My Login (TML) does not grab AuthorSure's social media form fields from the User Profile page.

    How to fix it?

    TML uses the same actions and filters as WP.

    http://wordpress.org/extend/plugins/authorsure/

  2. User45
    Member
    Posted 1 year ago #

    How to fix and show them for all users?

    I just seen, social media are for admins, authors, editors, contributors only and still no display in Theme My Login.

  3. Russell Jamieson
    Member
    Plugin Author

    Posted 1 year ago #

    I set up AuthorSure to apply extra contact methods for authors and above - not subscribers or contributors - and hence not for anyone that is not logged in

    There is a function authorsure::is_author() that checks the current user has 'edit_posts'.

    With TML I presume the user has not yet logged in and hence would not have 'edit_posts' capability

  4. User45
    Member
    Posted 1 year ago #

    TML grabs social media form fields of other Author Plugins.

    Authorsure, does not work even the user has Author or Admin privileges.

    I think something in "contactmethods" is messed up. (also remember my other thread about Skype?)

    You should look on it

  5. Russell Jamieson
    Member
    Plugin Author

    Posted 1 year ago #

    This is really an issue for TML and not AuthorSure - TML needs to come and get the custom contact fields; AuthorSure does not 'force' other plugins to use the other contact methods; in a sense, these extra contact methods are private to AuthorSure by design.

    If the fields are to be used outside AuthorSure then you would need to add the following line to functions.php

    add_filter('user_contactmethods', array(AUTHORSURE,'add_contactmethods'),10,1);

    This should make the methods visible to TML.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.