When using a birthdate field with the ‘search mode’ being set to ‘age range’. The search does not respond.
The results page acts as if it is just refreshing the members directory.
All members are still shown.
The filter does not display on the page.
The url reflects the search but it acts as if it did not search for anything and just refreshed the page.September 2, 2022 at 13:23 #42402
Thank you very much for reaching out! 🙂
We’ve recently addressed a very similar this very issue in another topic. To find out how you can resolve it, please click the following link:
If you wish to understand in more details how the age range field works, please also read this reply:
If you have further questions or requests, feel free to also reach the plugin authors. They will be more informed and better suited to help you.
To go further, we invite you to post your request on their support forums:
We remain available for all support requests related with the use of your theme.
Cheers,September 5, 2022 at 11:16 #42448
Those do not explain the same issue that I am experiencing.
I set the profile field as recommended.
Then I add the field to the profile search settings with the search mode set to age range.
When I execute a search, the page just refreshes and the query is not executed. Though, the url shows that it worked. /?bp_member_type=&field_173_age_rangemin=23&field_173_age_rangemax=26&bps_form=1374&bps_form_page=%2Fmembers%2F
The ending results page still just shows the full member list. There are no errors in the logs.September 5, 2022 at 21:58 #42478
Thank you for your feedback.
It’s best if we take a quick look at this. Could you create a new website user for us please? If possible with administrator capabilities so we can make a quick check of your settings. You can post the user name and password in your next reply and mark it as private to keep this between us.
Also, are we free to deactivate plugins for our tests? In this case, I invite you to make a backup before we investigate your website further in order to make sure you don’t loose any data if something goes wrong.
Thank you.September 6, 2022 at 10:08 #42490
I found the issue.
I block certain characters in urls on my site, which helps deter XSS attacks.
That function is preventing the age range. Though, all the fields work fine in the search, and none of the characters that are being blocked are present in the url when searching by age. So I’d have to look into it more to figure out why it’s blocking the search.September 6, 2022 at 12:15 #42497
I’m glad to read you’ve been able to solve this David.
Thank you for sharing the solution with us. I’m sure it will help other users facing the same issue. By doing this, you’re making a great contribution to this forum, and we thank you very much for that! #SharingIsCaring 💪🏻
If you’re happy with our theme, feel free to review our theme on our Themeforest page: Armadon – Gaming Community WordPress Theme.
It’s very appreciated and it helps us making our products more known to new potential customers, which allow us more time to improve the quality over time and develop new features. It’s a win-win !
Thank you!September 6, 2022 at 12:35 #42498
This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!
The Themosaurus team.
The topic ‘Birthdate to Age Range’ is closed to new replies.