Forum Replies Created

Viewing 28 posts - 1 through 28 (of 28 total)
  • Author
  • in reply to: date format #121542
     LuukDriessen
    Participant

    Thanks again for your reply Radu, really awesome.

    I implemented the code in functions.php
    Also no difference.

    Strange thing:
    Show age instead of birthdate
    Enable to show members age insted of Birtdate in user profile.

    When changing this to OFF the age is showing.
    When changing to ON, the date and time are showing.

    Unfortunately I also can’t get the AGE label showing.

    I have 3 installs. 1 clean install. On all 3 the same problems.

    When not using Xprofile the theme is working correct.

    Maybe there is a way I can pay you to solve this problem?

    in reply to: date format #121443
     LuukDriessen
    Participant

    Hello Radu,

    Thank you for your reply. Really appreciate the support.

    I tried to use the changes. The same problem occurs.

    add_filter( ‘bp_get_the_profile_field_value’, ‘kleo_get_field_value’, 1, 2);
    Question: Which ID’s I need to select? Ofcourse the field_id of the dateofbirth. But what about the other ID?

    The settings in the theme don’t make sense since using Xprofile.

    in reply to: date format #121285
     LuukDriessen
    Participant

    Hello Laura,

    Thanks for your response.

    Unfortunately we don’t understand eachother.

    I know when selecting sweetdate > buddypress I can check for age etc.

    But since we make use of Xprofile to enter the users dateofbirth, the age isn’t showing anymore.

    Thats why I asked these questions.

    Maybe you can/want to take a look.

    http://www.canna-dating.nl/inloggen
    Login: LuigiD
    pw: lvd817mld!
    When forwarded > http://www.canna-dating.nl/wp-admin/

    After login:
    http://www.canna-dating.nl/leden/
    http://www.canna-dating.nl/leden/luigi-d/profile/

    All DoB are shown instead of age.

    Many thanks for your support

    in reply to: date format #121078
     LuukDriessen
    Participant

    Hello Laura,

    Yes, ofcourse.

    We use Xprofile to show the date of birth field.

    We succesfully showed the age on the members profile.

    Question 1: What do I have to do to show ‘Age’ instead of ‘DateofBirth’
    Question 2: Which code do I need to use to show the ‘Age’ on the members overview page?
    When activating in theme the Xprofile plugin shows the DateofBirth

    Thanks in advance.

    We had all these functions working correctly without Xprofile plugin.
    So now we need to use another code?

    in reply to: date format #120668
     LuukDriessen
    Participant

    Hello Laura,

    We did a clean install with Sweetdate.

    We still have problems with the age/date of birth.

    1. We can’t get to show ‘Age’ instead of ‘Date of Birth’ on our profile

    http://www.ikbenopzoeknaarklanten.nu/leden/luigid/profile/
    User: LuigiD
    ww: lvd817mld!

    2. When in the Member overview we can only see the date of birth. We also uses the custom code from.

    COPY CODE
    <?php add_filter( 'bp_get_the_profile_field_value', 'kleo_get_field_value', 1433);
    
    	function kleo_get_field_value($value, $type, $field_id) {
    
    			$value_to_return = $value;
    	
    			$field = new BP_XProfile_Field($field_id);
    			
    			if ($type == 'datebox') {
    				$value_to_return = floor((time() - strtotime($field->data->value))/31556926);
    			}
    			
    			return $value_to_return;
    	} ?>
    

    ID 1433 is the dat of birth field. But in the examples are 2 ID’s. Maybe this is my problem?

    I would be very helpful when this is solved

    Thanks in advance

    Gr Luuk

    in reply to: date format #120659
     LuukDriessen
    Participant

    Hello Laura,

    We also make use of this plugin. But I can’t get it to work.

    We are confused with the sweetdate options.

    I use the correct code in the functions.php

    When viewing memberspage, I get the date and time instead of the age.

    Als when viewing the profile i get: Dat of Birth intead of ‘Age’. The age self is showing correctly.

    Which sweetdate options do I need to use?

    in reply to: Mobile CSS questions #117111
     LuukDriessen
    Participant
    Not marked as solution
    in reply to: Profile page – make profile fields un-clickable #116214
     LuukDriessen
    Participant

    Hello,

    I’m still having problems with this option/solution.

    I don’t make use of the Xprofile plugin.
    Instead, I use: Custom Profile Filters for BuddyPress

    My bp-custom.php:

    COPY CODE
    <?php /* remove profile field links */
    function remove_xprofile_links() {
    remove_filter( ‘bp_get_the_profile_field_value’, ‘xprofile_filter_link_profile_data’, 1, 469 );
    }
    add_action(‘bp_setup_globals’, ‘remove_xprofile_links’);?>

    Does anyone has any idea what to change?

    1. I would like to DISABLE to search/link for username. ID:1
    2. I would like to ENABLE the search/link for age. ID:2

    in reply to: Fine tuning questions, CSS #115177
     LuukDriessen
    Participant

    Hello Laura,

    Thanks for your reply.

    Most problems I could solve with other ways.

    I have a different question:

    A known problem: Mobile Upload Avatar can’t crop due the size.
    These ‘solutions’ din’t work for me.
    https://archived.seventhqueen.com/forums/topic/mobile-1-style-editing-profile
    – BuddyPress Avatar Cropper Skipper
    – BuddyMobile
    – Buddypress Upload Avatar Ajax

    Do you have any suggestions?

    Gr Luuk

    in reply to: Login Redirect after email activation #114723
     LuukDriessen
    Participant

    I understand that this is for the KLEO theme.

    Which structure/files do I need to edit on my Sweetdate Theme?

    This solution would be great!

    in reply to: Woocommerce in combination with PMPro #112490
     LuukDriessen
    Participant
    Not marked as solution
    in reply to: Geo My WP not linking to User Profile fields #112489
     LuukDriessen
    Participant

    Hello Laura,

     

    Thanks for your answer.

     

    I checked the add-ons. I had already activated 2 of them.

     

    But I think you mean the add-on: Xprofile fields

    https://geomywp.com/add-ons/xprofile-fields/

     

    in reply to: Geo My WP not linking to User Profile fields #111963
     LuukDriessen
    Participant

    I´m agreeing with Leahh.

    Users now needs to input their address on the location tab.

    It would be perfect if we can use the ´city´ profile field on the signup form.

    (When members are dating online, they mostly don’t want to use their exact location.)

    Or am I missing something?

    in reply to: Responsive visibility #110236
     LuukDriessen
    Participant

    Hello Laura,

    Thanks for the support. All problems solved 🙂

    Gr Luuk

    in reply to: Sweetdate WP Showcase #109462
     LuukDriessen
    Participant

    My new datingsite in the Netherlands: canna-dating.nl

    Still developing for another datingsite. Love Sweetdate and Buddypress!

    in reply to: Admin profile #103665
     LuukDriessen
    Participant

    Hello Laura,

    Great code.

    My admin account is still showing in the recent active widget.
    Also, my admin profile is also showing in the who’s online widget.

    Is there a solution for this too?

    Thanks in advance!

    in reply to: Buttons in Members overview #94627
     LuukDriessen
    Participant

    Hello Laura,

    I understand.

    Can you point me to the file that needs to be changed?

    I will contact a developer.

    gr Luuk

    in reply to: Homepage width #93146
     LuukDriessen
    Participant

    Awesome, thanks 🙂

    I did something wrong when adding a sidebar to the members page.

    Will check that again.

    in reply to: Homepage width #92021
     LuukDriessen
    Participant

    Ofcourse

    Website: http://www.canna-dating.nl/
    Log in: http://www.canna-dating.nl/wp-admin/
    user: Seventqueen
    pw: lvd817mlc!

    in reply to: Copy website – Profile fields missing #86060
     LuukDriessen
    Participant

    Reinstalled complete website. Works again 😉

    in reply to: Login/Logout not working – Register not working either #85994
     LuukDriessen
    Participant

    Awesome! How can I missed that!

    Thanks for your help 🙂

    in reply to: Login/Logout not working – Register not working either #85719
     LuukDriessen
    Participant

    Hello Laura,

    Today I logged in to my website and all the profile fields where gone.

    I was wondering if maybe you are working on the website?

    Have you any idea why the logout button is not working?

    Thanks in advance

    in reply to: Login/Logout not working – Register not working either #85571
     LuukDriessen
    Participant

    Login url: http://www.canna-dating.nl/inloggen

    User: LuigiD
    ww: lvd817mld!

    The error must be in the header. Because other login popups on different pages are showing/working correctly.

    Thanks for in advance Laura 🙂

    in reply to: Login/Logout not working – Register not working either #85458
     LuukDriessen
    Participant

    Hello Laura,

    Thanks for your reply.

    When I am logged out OR logged in, the profile/register/login/logout menu is not working at all.
    I can’t click and there is no dropdown when I am logged in.

    This has nothing to do with the coming soon page.

    Do you want user credentials so you can check for yourself?

    in reply to: Login/Logout not working – Register not working either #84720
     LuukDriessen
    Participant

    Hello Laura,

    Thanks for your e-mail.

    I made a mistake. When I am logged in it s obvious you cant register again.
    So when I’m logged out, the register page works fine!

    So thats one problem solved.

    But the login/profile menu is still not working. Do you have any idea how I can solve this?

    Gr Luuk

    in reply to: Login/Logout not working – Register not working either #84578
     LuukDriessen
    Participant

    Update*

    When I use the mobile view on Chrome, the login/profile menu is working fine!

    But register a new user from the main webslide is not working on a mobile device.

    in reply to: Login/Logout not working – Register not working either #84562
     LuukDriessen
    Participant

    I deactivated all plugins and reuploaded the theme.

    Unfortunately nothing changes.

    What else can I do?

    in reply to: Hide user's own profile section #83532
     LuukDriessen
    Participant

    Same here, can someone explain how to do this?

Viewing 28 posts - 1 through 28 (of 28 total)

Log in with your credentials

Forgot your details?