WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Follow
feature requests: ajax loading image and follow button when logged out (4 posts)

  1. Pepperbase
    Member
    Posted 12 months ago #

    Hi,

    Great Plugin:

    Two feature requests:

    - Option to show follow button when logged out and redirect to register page when clicked
    - Add an ajax loading image so users see the request is processed.

    Would be nice.

    http://wordpress.org/extend/plugins/buddypress-followers/

  2. r-a-y
    Member
    Plugin Author

    Posted 12 months ago #

    Good feature requests, but it is out of scope with the plugin.

    1) BuddyPress doesn't offer this feature for the friends component, so BP Follow won't add this functionality into the plugin as well. However, this could be accomplished with custom code.

    2) What theme are you using? If you're using bp-default it should work properly. BP's universal theme compatibility layer doesn't use an AJAX loading image. For example, try using the "Add Friend" button on a theme that is not bp-default. You won't see an AJAX loading image. For more info, see:
    https://buddypress.trac.wordpress.org/ticket/4951

  3. Pepperbase
    Member
    Posted 12 months ago #

    Hi,

    1) Ok. I will go with some custom code.
    2) I am not using the BP defealt theme. You're right, all BP buttons are without an AJAX loading image. I understand from the discussion that this is on the BP roadmap? In the meantime, is there another solution to indicate loading time for the user?

  4. r-a-y
    Member
    Plugin Author

    Posted 12 months ago #

    When the button is loading, BP adds a CSS class to the button called 'loading'; you can confirm this with your browser's web inspector.

    So, you can add your own AJAX image by adding one in the .loading rule.

    BP is probably not going to add an AJAX image b/c of the problems with HTML / CSS markup and how it will affect all WP themes disparingly.

Reply

You must log in to post.

About this Plugin

About this Topic