BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on #1626

    Thanks Brajesh. It is sorted now with the upgrade.

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on #1621

    Hello.

    I have installed Mediapress which works ok. But, when creating a gallery, it goes to a blank default page with nothing there. So there is no way to add anything there.

    Am I missing something please?

    John
    matchingplayers.com

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on #1564

    Thanks Brajesh. I will try this.

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on #1329

    Hi Brajesh. The plugin was premium, so they may assist further in this. i will let you know if I enable it again.
    Many thanks for your help
    John.

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on #1261

    Hi again Brajesh.

    I also found out that the ajax form doesnt autocomplete in the City location field after I activated a WP GEO Xprofile plugin. For now I have reverted back to the default Buddypress registration form and used a different security checker instead of captcha. I think I am using too many plugins for everything to sync well together, creating also of extra development work for you. Thank you for your time and support and your new updated plugin. What I am trying to achieve is a nice front end look and feel to the members pages, registration and activity, instead of the default Buddypress pages, which I wanted to smarten up a bit. I will work on the CSS of these php pages and see how I go.

    Thanks
    John.

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on #1253

    Hi Brajesh.

    Yes, I removed all the files from the old plugin, then re-installed the new updated plugin.
    Do you need to log in to see?

    John.

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on #1234

    Hello Brajesh.
    Thank you for all your development work on this. I followed all the steps above and deleted, then created new captcha keys – there is still something not working on the ajax form. The form does not get submitted, also the captcha code is not working either. Sorry to be a pain. Please look and try to register on matchingplayers.com.
    John.

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on #1137

    Thank you Brajesh for your diligence and perseverance to get this right for me and others who use this plugin.
    Really appreciated. I await the update.
    John.

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on #1088

    Thank you Brajesh.

    If you need anything else, please let me know.

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on #1082

    Hi Brajesh.
    Thank you for the reply.

    The Captcha plug in is “buddypress captcha from this plugin site: https://wordpress.org/plugins/buddypress-captcha/

    The php code is here:

    <?php
    /*
    Plugin Name: BuddyPress Captcha
    Plugin URI: http://www.trickspanda.com
    Description: This plugin adds a reCAPTCHA form to BuddyPress registration form to keep your community spam free.
    Version: 1.1
    Author: Hardeep Asrani
    Author URI: http://www.hardeepasrani.com
    Requires at least: WordPress 2.8, BuddyPress 1.2.9
    License: GPL2
    */

    /* Options */
    $public_key = get_option(‘bpcapt_public’);
    $private_key = get_option(‘bpcapt_private’);
    $theme = get_option(‘bpcapt_theme’);
    $lang = get_option(‘bpcapt_language’);
    $strError = __(‘Please check the CAPTCHA code. It\’s not correct.’, ‘buddypress-recaptcha’);

    require_once(‘recaptcha-php-1.11/recaptchalib.php’);
    require_once(‘bpcapt-options.php’);

    function bp_add_code() {
    global $bp, $theme, $lang, $public_key;

    $script = “<script type=\”text/javascript\”>
    var RecaptchaOptions = {
    theme : ‘”.$theme.”‘,
    lang: ‘”.$lang.”‘
    };
    </script>”;

    $html = ‘<div class=”register-section” id=”security-section”>’;
    $html .= ‘<div class=”editfield”>’;
    $html .= $script;
    $html .= ‘<label>CAPTCHA code</label>’;
    if (!empty($bp->signup->errors[‘recaptcha_response_field’])) {
    $html .= ‘<div class=”error”>’;
    $html .= $bp->signup->errors[‘recaptcha_response_field’];
    $html .= ‘</div>’;
    }
    $html .= recaptcha_get_html($public_key);
    $html .= ‘</div>’;
    $html .= ‘</div>’;
    echo $html;
    }

    function bp_validate($errors) {
    global $bp, $strError, $private_key;

    if (function_exists(‘recaptcha_check_answer’)) {
    $response = recaptcha_check_answer($private_key, $_SERVER[‘REMOTE_ADDR’], $_POST[‘recaptcha_challenge_field’], $_POST[‘recaptcha_response_field’]);

    if (!$response->is_valid) {
    $bp->signup->errors[‘recaptcha_response_field’] = $strError;
    }
    }

    return;
    }

    add_action( ‘bp_before_registration_submit_buttons’, ‘bp_add_code’ );
    add_action( ‘bp_signup_validate’, ‘bp_validate’ );

    ?>