• Resolved alexbosch

    (@alexbosch)


    Hi Andrea;

    I’m really grateful to you for BP Search and this plugin, but I had some issues that let me a little bit lost…

    1) As you can see on the link to my page, the icon on the distance search button is missing. I already read other previous topics and none of the solutions worked for me. It’s strange because I can see the icon when I’m logged in, but not when I access the website as a guest.

    2) The distance search field didn’t work properly… First of all, the user has to enable the Google Geolocation (I don’t need that form what I want on my website, that is just a city searcher) to use the widget. Then, you can type and select whatever you want… when you press the button, changes to the location of the user (another reason why I want to disable geolocation). And finally, it does nothing… the filter is not working.

    3) Another concern is about the BP Search shortcode: I had to actualize the page on the page editor every time I made any change related to users or I purge the page cache… if not, the page appears as blank. This is not very useful…

    How can we solve that?

    Thank you in advance

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

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Andrea Tarantini

    (@dontdream)

    Hi Alex,

    Your page appears blank.

    Please try adding bp_pages to the Non-persistent groups field in your W3 Total Cache settings, so I can take a look.

    Thread Starter alexbosch

    (@alexbosch)

    Hi Andrea;

    By the moment the caché settings on my website are managed from Autoptimize, not w3 Total cache, and I don’t know exactly what I have to include and where. When you told me that, I’ll do ti…

    The other issues related with the distance search widget can be seen on this other link: https://www.daggas.life/miembros/

    Thank you in advance

    Thread Starter alexbosch

    (@alexbosch)

    Sorry… finally I already found the option in w3 Total Cache and I already enabled it. Now the shortcode to the first link I sent to you seems to work fine without turning blank when I change anything.

    You can try with the link you want.

    Thank you.

    Plugin Author Andrea Tarantini

    (@dontdream)

    Hi Alex,

    If I understand it correctly, you don’t need geolocation in your search widget, but only the ability to search within some distance from a city.

    If this is the case, you can remove the button with the location icon. Go to Customize => Additional CSS and enter this rule:

    .bps-distance button {display: none;}

    Does that help?

    Thread Starter alexbosch

    (@alexbosch)

    Hi Andrea;

    Thank you for your rapid and precise response. Yes, it worked perfectly!

    The only thing that didn’t work was using the bps shortcode on the same members page of Buddypress. I was trying to eliminate a plugin that I use only to filter and exclude some user roles to appear on the members directory and only rely on yours, but it didn’t work… when I embed the bps shortcode the directory appears blank. Do you think this is normal or am I doing something wrong?

    Another question is: if I don’t use the geolocation, can I remove it from the Google Maps API authorization? Maybe this will reduce the options of Google charging me every month, because I had to enable payment on Google Cloud to use it… If you have more information about that, it will be appreciated.

    Thank you so much!

    Plugin Author Andrea Tarantini

    (@dontdream)

    Hi Alex,

    The [bps_directory] shortcode should work the same way both in a new page and in the Members directory page, if you set the bp_pages cache group as non-persistent.

    Do you have additional information to help me reproduce the issue?

    About the Google API, it’s still necessary, because the distance-based search needs the lat-long coordinates of the user-specified location to find members within the user-specified distance.

    Thread Starter alexbosch

    (@alexbosch)

    Hi Andrea;

    Thank you for your response.

    About the problem with the shortcode it’s important to mention that I use BuddyBuilder to customize the Buddypress pages with Elementor. I did some trials to have more information of the issue. If I use your [bps_directory] shortcode on a new page, but I remove the BuddyBuilder members grid on the default members page, the new page (the one with your shortcode) appears blank, exactly the same if I try to replace the default members grid with your shortcode on the members page. I already tried it with bp_pages as a non-persistent group and nothing changed. Do you know why this could be happening?

    When I was talking about disabling the Google API I didn’t refer to the entire API. On your setting guide you recommend enabling 3 different APIs on Google: Maps Javascript, Places and Geocoding. And also I had to enable a payment plan… something I never had to do before with any other Google API I used before… I’m just a little bit concerned about how much it will cost me monthly and, if I had the option to disable something that I don’t use, if this will reduce the options of Google charging me… do you have any idea of that?

    Thank you in advance

    Plugin Author Andrea Tarantini

    (@dontdream)

    Hi Alex,

    As far as I know, both the Places API and the Geocoding API are required, but you can try disabling them one at a time to confirm or deny that.

    About the shortcode, I’m unable to reproduce the issue. If you have a test site I can use, I’d be glad to take a look. Please use my Contact page if you wish to share details privately.

    Thread Starter alexbosch

    (@alexbosch)

    Hi Andrea;

    Thank you for your answer.

    I’ll wait to see if Google charges me anything to use the service (I have some free credits to experiment for a trial period of 3 months) and if it’s necessary I’ll try to disable some of the API permissions.

    About [bps_directory] shortcode I have no test site, but I did a try and I understand something. You can acces to the members directory from two urls:

    https:///www.daggas.life/comunidad/
    https://www.daggas.life/aaaa/

    The first one is the default Buddypress / BuddyBuilder members page. What you can see is the default members list, but, if you look the code between the toggle and the members list you can see that there’s a shortcode embedded (yours), but it appears as flat (without height).

    The second one is a blank page with only the [bps_shortcode]. But appears exactly the same page! Your shortcode is embedding the entire page (with the rest of Elementor items), not only the members list… even, if you look on the code you can see the shortcode between the toggle and the members list.

    Obviously, looking at this, if the shortcode embeds the entire page, it couldn’t embed it on itself, because it will cause a bucle of embeds.

    I wish that this would give you the information to understand what’s happening. And if you know how I can fix that, I’ll appreciate.

    Thank you in advance

    Plugin Author Andrea Tarantini

    (@dontdream)

    Hi Alex,

    I can see both your pages and I don’t notice any problem.

    Probably you are surprised that the [bps_directory] shortcode replaces the whole page content area, but that’s a known limit (see Custom Directories).

    If your Members page content area includes other items, [bps_directory] is not the right choice, we need a different solution. Which customizations do you wish to apply to your directory?

    Thread Starter alexbosch

    (@alexbosch)

    Hi Andrea,

    You can’t see any problem, but because you’re seeing the members page as it is… without any function of your shortcode that helps me… I’ll try to explain what I need.

    I wanted to use your plugin to only show some user roles on the members page, and exclude the other ones. Now I’m using another plugin to do that, but I wanted to remove some plugins and this one is totally dispensable apart from this feature that your plugin also can do.

    The problem is that BuddyBuilder doesn’t seem to allow default WordPress sidebars on their pages and I had to create one on the page itself with Elementor page builder. That seems to interfere with your shortcode, that can’t work on a page with other elements.

    I also tried to create another page with your shortcode, but when someone clicks on an xProfile linked information it always sends to the default members page to show all the members that share this information. And if it hasn’t the role filter, all the members ar visible… and this is exactly what I want to avoid.

    If you have any idea of how I could solve that, I’ll be delighted. If there’s no other option, I’ll need to continue with the plugin I’m using…

    Thank you in advance.

    Thread Starter alexbosch

    (@alexbosch)

    Hi again.

    I already solve that! I forgot to do the main change I need to do… to change which page Buddypress uses as members directory. Now I can leave the BuddyBuilder page as the template where I add whatever I want to apear to the members directory page and use a new page with only your shortcode to copy this template, with the role filtering already incorporated.

    Fantastic! Sorry for the annoyance…

    Just a last question: Is there an option to show more that one user role on the same shortcode. I tried different ways, but I can’t find how to do this.

    Thank you!

    Plugin Author Andrea Tarantini

    (@dontdream)

    Hi Alex,

    It’s great you found the solution!

    If you wish to show multiple roles, use:

    [bps_directory roles_match_any='Administrator,Editor,Contributor']

    Thread Starter alexbosch

    (@alexbosch)

    Perfect! It definitely works! Thank you so much for you amazing support!

    Plugin Author Andrea Tarantini

    (@dontdream)

    Alex,

    You are welcome! And thanks for your review.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Various issues with the plugin’ is closed to new replies.