WordPress.org

Ready to get started?Download WordPress

Forums

Author Avatars List
Using Author-avatars with S2 Member (3 posts)

  1. Heiner
    Member
    Posted 3 years ago #

    Author Avatars List works fine on my site. Just one thing: When I use the role tags introduced by S2member such as "s2Member Level 1" I can’t use these in shortcode. Can this be added?

  2. Paul Bearne
    Member
    Plugin Author

    Posted 3 years ago #

    We just load the user list from wordpress and add commentors to provide that list.

    This is the code we use
    $roles_data = get_option($wpdb->prefix.'user_roles');

    If I am right then it sounds like S2member is not adding to the main list. So think I need to pass this to S2member inject the extra users in to the main WP user list.
    If they are doing that then we will need to look at this a bit more.

    Paul

  3. Ben
    Member
    Plugin Author

    Posted 3 years ago #

    I haven't used S2member and I don't know how it does things...

    However, if it is already working when using the widget then it should also work with the shortcodes (there are no code differences between both in terms of how roles are evaluated and the user list generated). If you have spaces in your role name, you might have to add quotes around the role name.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic