Find Answers and Get Support › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Compatible Plugins › BP Profile Search › Age Range Selection (Gwangi 2.0.0)
- This topic has 15 replies, 3 voices, and was last updated 5 years, 3 months ago by Johan.
-
AuthorPosts
-
JohanParticipant@johan
- 16 Topics
- 68 Posts
Hi
Age range in Search form does not display number or look up, it does not affect the search results only the number I type in search field from and search field to does not display value or I don’t have look up like I can see in your demo.
Here’s details
Set up of Birthday Selector field
Screenshot https://prnt.sc/pb52rpSearch form (template directory)
Screenshot https://prnt.sc/pb51yrI type 44 in first searchable field (from)
Screenshot https://prnt.sc/pb53rh
=> 44 not visibleI type 46 in second searchable field (to)
Screenshot https://prnt.sc/pb53vz
=> 46 not visibleResult is ok
Screenshot https://prnt.sc/pb540iI changed template to home
Screenshot https://prnt.sc/pb5488Same search in search form which displays over member directory, value displays
Screenshot https://prnt.sc/pb54ipSearch results are ok, 44 still displays in from field
Screenshot https://prnt.sc/pb54ppI didn’t import demo, I have created field myself
Did I miss something to set up fields from and to in age range ?September 26, 2019 at 09:52 #7846@themosaurusrex- 0 Topics
- 2048 Posts
Hi @johan,
To make sure everything is right in place, it’s recommended to start with our demos and our setup tool as it prevents this type of issues. However, it seems that your form has been correctly set. (Please see attached.)
You could always try to set the exact same date format as us. Also, you could set your search form method to “GET” requests instead of “POST”.To learn more about BP Profile Search forms, please read also the following posts:
As this issue is related with the BP Profile Search, it’s best if you try to 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:
https://wordpress.org/support/plugin/bp-profile-search/We remain available for all support requests related with the use of your theme.
Cheers,
September 26, 2019 at 13:06 #7861JohanParticipant@johan- 16 Topics
- 68 Posts
I found where issue comes from.
It is not related to BP SEARCH FROM plugin, it is from template.
input field is too marrow , I increased width of input fiels, value display.bps_form .editfield input.range-input { display: inline; width: 30%; }
An other issue, I come through.
Search form does not display on smartphone when directory page has template sidebar left.
Can you please check template sidebar left on member directory page if you have same issue on your side.September 26, 2019 at 13:24 #7866@themopteryx- 0 Topics
- 615 Posts
Hi @johan,
Could you please provide us with a link to your website to help us better understand your display issues?
For the filters, you have to put the “add to directory” to “yes” on your Sidebar template.
These filters (in modal) will appear only on mobile and the left/right sidebar will be invisible (like to our demo : https://community.gwangi-theme.com/members-sidebar-right/)Best regards,
September 30, 2019 at 11:58 #7881JohanParticipant@johan- 16 Topics
- 68 Posts
Hi @themopteryx
Concerning issue of Sidebar Left Search Form
Link you gave to your demo is sidebar right, it works
If you look at your demo member sidebar left https://community.gwangi-theme.com/members-sidebar-left/ , there is same issue, when you click on search icon a tooltip Search Directory Sidebar Left appear but Search Form does not display on Smartphone
Screenshot https://prnt.sc/pct13aSame happens on my side, I have Search Form in both widget
Screenshot https://prnt.sc/pct22wSeptember 30, 2019 at 12:20 #7882JohanParticipant@johan- 16 Topics
- 68 Posts
Hi @themopteryx
Concerning issue of age range field, I solved it with CSS
CSS by default is display inline and width 10 %, I guess it is CSS from BP Search form plugin, width should not be used with inline and 10 % is too narrow for search form in sidebar
I placed in custom CSS.bps_form .editfield input.range-input { display: inline-block; width: 30%; }
I don’t have select box like your demo with ages, maybe because I didn’t import demo but created field myself.
Anyway I prefer to have input field rather than select box
But if you can tell why I don’t have select box would be nice to knowI would like to select age range as slider ; I asked BP Search Form but is not on their side, they replied it has to be done in template.
Example attached
Is it something you can consider ?September 30, 2019 at 12:26 #7885@themopteryx- 0 Topics
- 615 Posts
Hi @johan,
Thank you for your precious feedback.
There is definitely an issue concerning the “Sidebar Left” template in mobile in our theme which will be fixed in the next update.Having the date field as a slider would be indeed very nice. I advise you to create a new feature request for this.
We will implement this feature if other community members upvote this request.To display the date range field as selects, here are some screenshots of the required configuration.
Best regards,
Capture-d’écran-2019-09-30-à-13.28.50 Capture-d’écran-2019-09-30-à-13.29.04 Capture-d’écran-2019-09-30-à-13.28.41September 30, 2019 at 13:34 #7889JohanParticipant@johan- 16 Topics
- 68 Posts
Hi
I have same settings than you but select still don’t display in search form
https://prnt.sc/pcub3e
https://prnt.sc/pcub80
https://prnt.sc/pcue03This field is not a field generated by default ; I deleted fields generated by default, maybe that’s the reason
September 30, 2019 at 13:49 #7890@themopteryx- 0 Topics
- 615 Posts
Hi @johan,
Could you please create a new website user for us? 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.Cheers,
October 3, 2019 at 10:51 #7925@themopteryx- 0 Topics
- 615 Posts
Hi @johan,
I think your field (DOB) is not a default BuddyPress “date” field.
I see you’re using the “BuddyPress Xprofile Custom Field Types” plugin and that your field is a “Birthdate” field type (and not a “date” field type).Gwangi is not compatible with fields generated by the “BuddyPress Xprofile Custom Field Types” but we will consider the compatibility of some of them for a future release.
Regards,
October 3, 2019 at 11:32 #7928JohanParticipant@johan- 16 Topics
- 68 Posts
Hi @themopteryx
Correct I use Birthdate Selector instead of Select Date.
I have just created a field DOB BP with Select Date and added in Search Form, with this field it works, from and to can be selected as dropdown list.
With Select Date
– age cannot be displayed in field list on profile
– when we choose to have it displayed on member directory it is just a number (not years)
Screenshot https://prnt.sc/pe9g8r
– on profile cover it is also just a number
Screenshot https://prnt.sc/pe9gunWith Birthdate Selector from “BuddyPress Xprofile Custom Field Types”
– we can choose to display age instead of Date of Birth on profile and after age there is years.
Screenehost https://prnt.sc/pe9hpu
– On member directory and cover, years also display
Screenshot https://prnt.sc/pe9idq
Screenshot https://prnt.sc/pe9il6I find Birthdate Selector more ergonomic for those reasons.
Do you want me to post a feature request for BuddyPress Xprofile Custom Field Types compatibility, or is it something which you will implement soon ?
October 3, 2019 at 11:59 #7929 -
AuthorPosts
The topic ‘Age Range Selection (Gwangi 2.0.0)’ is closed to new replies.