-
Author
-
March 21, 2017 at 17:04 #156209notrightParticipant
Help! I’m getting 17 year olds on signing up on my website. They are people who will be 18 this year but haven’t yet turned 18. This is serious as it could land me in a lot of hot water. I’ve tried fiddling with the dates but it doesn’t seem to work. The only way I’ve found is to delete the year 1998 but I don’t want to exclude legitimate 18 year olds.
Also in the members page how do I control the three fields that show up. Right now mine are ‘city’ ‘age’ and ‘marital status’
Please assist and thank you for your past assistance.
March 22, 2017 at 04:03 #156315LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
March 22, 2017 at 17:23 #156368RaduModeratorHi,
Using a plugin that can do this, you can try this one: https://wordpress.org/plugins/age-verify/screenshots/
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 22, 2017 at 23:00 #156406notrightParticipantThank you
Now do my second question that was listed on this. How do I change the fields displayed on the members page? Right now it does age marital status and city. I want age marital status and I am a.
Attachments:
You must be logged in to view attached files.March 23, 2017 at 16:49 #156511RaduModeratorHi,
You can do that using this function
COPY CODEfunction overwrite_mebers_dir_meta() { $marital_status = bp_get_member_profile_data('field=Marital status'); $marital_status = bp_get_member_profile_data('field=I am a'); $output['age'] = apply_filters('kleo_bp_meta_after_age', get_member_age(bp_get_member_user_id())); $output['marital_status'] = $marital_status; $output['i_am_a'] = $i_am_a; return $output; } add_filter('kleo_bp_meta_fields', 'overwrite_mebers_dir_meta');
Make sure to have identical name of the field as how you have added in backend on $marital_status and $marital_status variable and that’s all you should copy the code to function.php of your child theme
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solutionMarch 23, 2017 at 17:27 #156517notrightParticipantOkay so the plug in didn’t work. It’s still allowing 17 year olds that were born in 1999 to register. This is very serious as it could land me in a lot of legal trouble even though we’re not a porn site. Can we please come up with a solution?
Thank you
March 24, 2017 at 18:39 #156606RaduModeratorI see, but the theme hasn’t been built with such as feature and you should search for a plugin that can do that or for a script and to implement it to the site, and we cannot implement that for you since it’s something custom.
But i can recommend you some things that I found on google
https://ageverify.co/get-started/ take a look at this or implement this free and standalone solution http://www.jqueryscript.net/other/Website-Age-Verification-Plugin-with-jQuery.html
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 26, 2017 at 01:30 #156672notrightParticipantWhen I tried to add the code I couldn’t get the marital status to show up so I just removed the code. Now, however, the marital status still doesn’t show up. Please assist. The fields I want to to show up are “age” “I am a/an” “Marital Status”
March 27, 2017 at 18:25 #156827RaduModeratorHi,
Check the attachment
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 28, 2017 at 02:24 #156891notrightParticipantSir I have done this. I copied and pasted the link and copied and pasted my marital status profile field and it is still not functioning properly.
March 29, 2017 at 16:01 #157090RaduModeratorHi,
Please replace the code with this one
COPY CODEfunction overwrite_mebers_dir_meta() { $marital_status = bp_get_member_profile_data('field=Marital status'); $i_am_a = bp_get_member_profile_data('field=I am a'); $output['age'] = apply_filters('kleo_bp_meta_after_age', get_member_age(bp_get_member_user_id())); $output['marital_status'] = $marital_status; $output['i_am_a'] = $i_am_a; return $output; } add_filter('kleo_bp_meta_fields', 'overwrite_mebers_dir_meta');
Let me know
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 29, 2017 at 23:58 #157150notrightParticipantStill no change sir. Will you please log into the site yourself and see what the problem is as I have tried everything and I cannot resolve why its not showing the fields I want it to show?
March 30, 2017 at 19:22 #157243RaduModeratorThe login credentials not works provide them in a private reply
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 4, 2017 at 17:44 #157583RaduModeratordone please check
Next time pay attention to the files names
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionApril 4, 2017 at 18:05 #157586notrightParticipantFirst off I followed your instructions second when I deleted the new code it should’ve reverted to its original form but it didn’t. I don’t know why.
April 5, 2017 at 18:51 #157731RaduModeratorI’ve maden yesterday that I cannot do again the same thing, since this should not be covered by support team
Yesterday works after I’ve looked at it.
Paste again there the fileds names with copy paste and it works
Focus
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.