We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Height/Weight as range values in search field, select all fields option. | Forum

Dan
Dan Jan 22 '14
Im looking to have Height/Weight as range values in search field, just like with age.

Also, select all fields button.
Daisy Team
Daisy Mar 10 '14
Dan, to make this work you will need to create a new profile question type. This functionality is related to the profile questions (core functionality), thus this is a quite complicated code modifications.

If you are not familiar with the code modifications, it would be better for you to find a developer who can help you with it. Please visit our Oxwall Market (http://www.oxwall.org/market/specialists). Or search for the existing plugins in the Store.
Dan
Dan Mar 13 '14
I have done that, and its fine on profile sign up as I can design a drop down list with my own values and they can just chose one. The issue becomes when that field is used in search, instead of users being able to specify a range that they want, just like with age, they need to select each and every level of height along the way, it takes a lot of time, and even worse it looks very messy on the profile in "my match" screen.
Daisy Team
Daisy Mar 20 '14
Dan, as far as I've understood you are using the standard Single choice (dropdown) type for the Height/Weight profile questions - if so, this is how the system work. It changes this type to Multiple choice question type. If you need to leave these questions as the dropdown list - you should  add a clause to the search form for these profile questions in this file: /ow_system_plugins/base/bol/question_service.php. Search for the getSearchPresentationClass function.
Dan
Dan Mar 20 '14
Thanks, but I don't want a drop down because then they would only be able to chose one height level, for example 175cm,  i want them to be able to input a range. The same way age is done, you can specify low and high variable to search by.

Basically instead of them clicking on multiple choice, so checking of 175cm box, 177cm box, 180 cm box, 182 cm box and so on... I want them to be able to specify range 175-182


Daisy Team
Daisy Mar 26 '14
Dan, as I've already said to make this work you will need to create a new profile question type.

If you are not familiar with the code modifications, you can apply to a developer who can help you with this at Oxwall Market: http://www.oxwall.org/market/specialists).

Either we can suggest to create the Height/Weight profile questions with the predefined range. For example:

Height profile question with the following values:
32">4'7" (140cm) or below
64">4'8"-4'11" (141-150cm)
128">5'0"-5'3" (151-160cm)
256">5'4"-5'7" (161-170cm)
512">5'8"-5'11" (171-180cm)
1024">6'0"-6'3" (181-190cm)
2048">6'4" (191cm) or above

The Forum post is edited by Daisy Mar 26 '14
Dan
Dan Mar 26 '14
Hi Daisy, thanks for the suggestion.
I realize its a custom code modification, I am sure eventually it will be implemented in skalite software  as standard or will come out as plug in, its a very basic function available in all major dating sites.