Forum: Sweet Date Theme Integration

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Sweet Date Theme Integration premium extension please open a new premium support ticket.

[Resolved]Prevent alter members directory buddypress

Forums Sweet Date Theme Integration Prevent alter members directory buddypress

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #34758

    Thank you for creating this amazing plugin

    I have problem when integrate with sweet-date, it also change how my members displayed. How to make this plugin not using it’s members-loop but using default sweet-date template both for display and search result in members directory buddypress?

    I already modified my members-loop, so just need this plugin to integrate in the horizontal search bar only

    #34765

    Hi,
    GEO my WP does not use its own members loop when integrating in the Members page of Sweet-date. All it does is adding its GEO fields to the search bar and modifying the results.

    Can you post a link to the live page?

    #34764

    Hi,

    here is my site http://alumni.pushkom.com/members/, I’m modified members directory with 2 members-loop, each with include and exclude parameter.

    Normal members directory without integrate with geo my wp

    In first row include only members with avatar, but exclude it on second row/second members-loop. Search function also works

    But when integrate with geo my wp, it seem not follow include and exclude rules and shows all members like normal bp members directory

    for more info, i’m using BP v1.7.3, sweet-date v2.4 and geo my wp v2.4.2.

    Usually if there is plugin conflict I just try older version because I know my BP not the latest, but please not suggest to update to latest BP because at this state already pain in hassle to make sure all plugins works and geo my wp is the last puzzle

    #34763

    Hi @fitoussi,

    I managed to get it work by uncomment this following line
    add_action( ‘bp_pre_user_query’, array( $this, ‘gmwBpDirectoryQuery’ ) );

    want to know what is this function for and what effect if I don’t use it?

    #34762

    This function modify the search query based on the Geo-location parameters. If you comment it out I believe that the GEO search will not work.

    How do you include/exclude parameters in your loops?

    #34761

    Yes, you was right, GEO search not work

    i’m using something like this
    bp_has_members( bp_ajax_querystring( ‘members’ ). ‘&include=’.$included_user

    #34760

    Hi @fitoussi,

    You can mark this thread as resolved, update to latest version fix this problem. Thank you so much for good support

    #34759

    Perfect!
    You are very welcome!

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.