Matching age range for cupid

Good Day,

I would like to add an "age range" block to the join page like the one present on the search page. The goal is to be able to have a "lookingfor" age range set to work with cupid emails (matching, like the one for sex). So far, I can only create a "date" type of block to enter a date of birth, or a "range" type block but I doubt it would work if matched with the predefined "DateOfBirth" as it stores a date not an age.

Thanks in advance

Quote · 22 Jul 2009

Haven't tried this trick yet.  However, it should work for you with just the search box.  Why?  Because while the join page does take a date of birth, it converts it to an age to determine if the end user is of the age the webmaster has set for joining.  So that check is already in place.

 

Moving on, you can make a simple adjustment to the code, do a search for:

 

date of birth v age

 

You will find a modification that was made to the code last fall/winter that displays the age instead on the profiles.  I know some sell the modifcation, but you don't need to buy it as it's free since it was developed by the Unity Community for everyone.  I've tested and it works perfectly on 6.1.6 still. 

 

Just play with your settings and you should be able to get this to work without a lot of extra coding.

 

****Note:  The above post was made by the New, Improved, Kinder, Gentler Mydatery and in no way is meant to insult, belittle, defamate, humiliate or intimidate any reader of this post.  If you have further questions please feel free to ask and they will be answered in the same non-emotional, non-exciting, non-sarcastic, non-humorous manner and delivered just as boringly.  Let us all Pray that the Gods will rain down on us a million users each and cause all of our servers to err due to over use.

Quote · 23 Jul 2009

Thanks for your reply mydatery. I already moded my site to show the age in the profile instead of the birth date, and you're right it still works on 6.1.6. But what I try to achieve is to have a DateofBirth block for my Join page the same it is for Search, the purpose of it is to set it up for Cupid with a percentage of match. As far as I understand, right now, Cupid doesn't check the age for match as no age range "lookingfor" is defined. Maybe there is an easy way to "move over" that block available for the Search page to the Join page.

I'm still a "newbie" on Dolphin so I may be just missing something very simple.

Cheer

Quote · 23 Jul 2009

***Beating my head against the keyboard.  Smashing head into screen.  Okay, not sure if I said it wrong here or how else I can say it.  Don't take it to hard that  we're not meshing up on this idea/solution.

 

Can someone else please take a shot at explaining how to do this to him.  I think he's overthinking it, as we all have done from time to time, or maybe I'm really not explaining it correctly. 

 

 

Quote · 23 Jul 2009

No need to beat or smash your head against anything... :) If I understood you well you suggested using the DateOfBirth block on the Search page and set a match there. But what "age range" of member A is going to be compared against DateOfBirth of member B, if no range was defined first? If I set DateOfBirth block to match the field DateOfBirth (which is the only choice), the match would work if "age of B" = "age of A", right? Where I want the match to be positive if "age of B" is inside the "age range search of A".

To make myself very clear, an exeample:

A is looking for someone with age between 25 to 30. Anyone with an age in that range would be a positive match, not only if ages are equal. Then a Cupid email would be sent to A if a new member is in that range.

So far I created a range block on the Join page where members can set the age range of their search. As it is not possible in the interface to match the DateOfBirth block with a Range type of block, I "forced" it in DB by entering manually in the ProfileFields table the field ID of my new created "AgeRangeSearch" in DateOfBirth "MatchField"... but I doubt it will work.

On top of it, I'm now trying to figure out how that all "percentage" thing works... :) It seems impossible to make a specific match mandatory (to exclude all other possibilities) without setting it to 100% and removing all other match. Would be nice to be able to "exclude" specific member if they don't match one specific  value, and gradually match the others based on other matches value.

Thanks again for your help.

Cheer

Quote · 23 Jul 2009

Hi,

Mydatery, what did you mean by "it should work for you with just the search box". What "search box" were you refering to? I may have misunderstood your post.

Thank

Quote · 25 Jul 2009

I need to do the same, adding an age range to the join page and have cupid compare it to the DOB.  Like Nadja I'm slightly confused about how to do this.  Tagging along on this post hoping to gain some insight.  Thanks.

Quote · 28 Jul 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.