actually main goal is a 'user_filter_page(create by views)' can filter user by name, by age, by email, by gender, by country, by hometown.
b'cos i already done 'user_filter_page', filter option got profile_name, profile_gender, profile_email, profile_country, except the profile_birthday cant be expose... (views not support for profile_date filter)
so i think two solution to fix, by i dont know how to create the solution out.
solution 1 is add one more profile field (but is in 'textfield' type) at birthdays module like this:
<------- birthday admin page --------->
General settings
Profile field (date type): *
profile_birthday (create by profile 'date' type field)
Profile field (textfield type): *
profile_age (create by profile 'textfield' type field)
<------- birthday admin page --------->
then modify the birthday $age value display in profile_age field, so we can expose the profile_age by views filter.
or
solution 2 is add a views filter for profile_date.
add a file views_handler_filter_profile_date.inc to views/module/profile.
i really need to discuss about this two solution, welcome all to show the solution out. i think this is everybody needs.
***to create out this solution is bcos for who user dont use the computer_field & node_profile or content_profile, so pls dont show the solution using computer_field & node_profile or content_profile. thanks.
Comments
Comment #1
Anonymous (not verified) commentedwelcome everybody paste the solution here, thanks.
i found a solution here #320584: Integration with Views, but this patch is not working yet.
Comment #2
Niklas Fiekas commentedIf I get this right, this should be possible with the Views integration of the D7 version.
This won't go into D6 unless someone writes a patch for it.