Skip to Content Skip to Menu

Will this require custom programming?

10 years 8 months ago #242926 by SuperCharlie
Will this require custom programming? was created by SuperCharlie
I have a client with some specific community requests. CB does provide a good base for the community they want to build, but they have a few specific needs that I am wondering whether or not I will have to do or pay for custom programming or if there is a subscription or other add-on which might fulfill this. Heres the deal..

They want to have specific age ranges.. like 20's, 30's, 40's. And they would like it for searches to be required to work both ways..like this..

Say Im in my 30's in my profile. I have a field in my profile saying I am looking for people in their 20's, 30's and 40's.

Now lets say there are two other members..
One is in their 50's. They are looking for people in their 30's, 40's and 50's.

When this person searches, I do not appear in the results since they are in their 50's and that does not meet MY criteria. (Also when I search I dont find them obviously)

Member #2 is in their 40's
They are looking for people in thier 30's, 40's 50's.

When they search, they find me, and I find them as both our criteria are met.

Any insights on this are most welcome, plugins, add-ons or subscriptions to enable this type searching would be awesome.

Thanks,
SC

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
10 years 8 months ago #242937 by nant
Replied by nant on topic Will this require custom programming?

SuperCharlie wrote: I have a client with some specific community requests. CB does provide a good base for the community they want to build, but they have a few specific needs that I am wondering whether or not I will have to do or pay for custom programming or if there is a subscription or other add-on which might fulfill this. Heres the deal..


Thanks for posting - I will try and address as best I can below ...

They want to have specific age ranges.. like 20's, 30's, 40's. And they would like it for searches to be required to work both ways..like this..


With CB you can have radio fields. So you can create an age range radio field that contains the choices you need (e.g., 20's, 30's, etc).

You can also just go with a date field to allow people to just put their birthdate.

Each field can be configured to be search-able and date fields can further be configured to be search-able by age range.

You can setup userlists that display website users showing as many CB fields as you with for these users. User lists can be configured to be searchable.

All of this is doable with Free CB that you can download and experiment with.

Say Im in my 30's in my profile. I have a field in my profile saying I am looking for people in their 20's, 30's and 40's.

Now lets say there are two other members..
One is in their 50's. They are looking for people in their 30's, 40's and 50's.

When this person searches, I do not appear in the results since they are in their 50's and that does not meet MY criteria. (Also when I search I dont find them obviously)


As mentioned before if you create a birthdate field and a userlist and configure things properly, your users will be able to view the userlist and search giving an age range (e.g., from 20 to 30).

Member #2 is in their 40's
They are looking for people in thier 30's, 40's 50's.

When they search, they find me, and I find them as both our criteria are met.

Any insights on this are most welcome, plugins, add-ons or subscriptions to enable this type searching would be awesome.

Thanks,
SC


Same comment applies.

Hope this helps you.

So, for this specific use case I would say you do not need any extra add-on.

Of course becoming an Advanced member would give you access to documentation, more add-ons and support forum posting benefits.

Please Log in or Create an account to join the conversation.

10 years 8 months ago #242959 by SuperCharlie
Replied by SuperCharlie on topic Will this require custom programming?
Thank you for your very detailed response, it is greatly appreciated.

I have managed to set up everything pretty much as you described. My only problem is with this part:

Say Im in my 30's in my profile. I have a field in my profile saying I am looking for people in their 20's, 30's and 40's.

Now lets say there are two other members..
One is in their 50's. They are looking for people in their 30's, 40's and 50's.

When this person searches, I do not appear in the results since they are in their 50's and that does not meet MY criteria. (Also when I search I dont find them obviously)


The issue ends up being that when the 50 year old person searches for 30 year old people that all 30 year old people show up in the results, regardless of the 30 year old person's preference to only find people younger than 50. It is the foreign criteria in the local search that is getting me here.

From a data view, its kinda like this..
P1 age = 30
P2 age = 50

P1 age_preference = 20,30,40
P2 age_preference = 30,40,50

P2 search: age = 30
P1 should NOT appear in results because of P1 age_preference

Maybe there is some CB juju I am just not getting, but this is my problem in a nutshell.

Thank you so much for your quick and detailed replies, very very appreciated.
SC

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum