Forum Replies Created

Viewing 3 replies - 16 through 18 (of 18 total)
  • Hello Ken,
    I have the same issue, there is not new info in the buddypress profiles.
    I just installed the plugin LearnPress BuddyPress and there is not Buddy profile option to activate in Settings/LearnPress/General Tab.. I check that the plugin is active and everything works fine.

    My wordpress instalation is 4.5.2 an Buddypress 2.5.2 and Learnpress 1.0.3.1

    I was wondering if you can help me please?

    Tank you in advance

    Thread Starter agalazo

    (@agalazo)

    Hello again,

    I tried to use this..

    function descuento_puntos() {
    	//Web service call goes here
    	$user_id = get_current_user_id();
    	$precio_producto = get_field('precio');
    	$puntos_usuario = get_field('puntos', 'user_'. $user_id);
    	$puntos_restantes = $puntos_usuario - $precio_producto;
    	$field_key = 'field_54466d765ea42';
    	update_field($field_key, $puntos_restantes, 'user_'. $user_id);
    }
    add_action('wpcf7_mail_sent', 'descuento_puntos');

    And I don’t get results. The mail is seeded but the update not. Am I doing something wrong?, the update_field() is a ACF (Advanced Custom Files) function, I tested it and work perfect, but for some reason I can’t make that It functions since Contact Form 7 forms.

    Sorry, but I’m completely lost. Any help, please?

    agalazo

    (@agalazo)

    Hello,

    It wasn’t working for me but finally I know why.

    I use “ones” solution, thx men ?? but I needed to replace ‘theme_location’ => ‘glowne’.$currlang.” for ‘menu’ => ‘menu’.$currlang.”,

    Now it works perfectly

Viewing 3 replies - 16 through 18 (of 18 total)