WordPress.org

Ready to get started?Download WordPress

Forums

WangGuard
[resolved] Wangguard not active since update (9 posts)

  1. indietravel
    Member
    Posted 1 year ago #

    Hi,

    I'm running WP 3.5.1, BP 1.6.4, and WangGuard 1.5.3.

    Since my updates to the latest point releases of WP and BP, WangGuard has stopped working on my registration page at http://indietravelpodcast.com/register/

    1. The security questions have disappeared.
    2. New users are not getting checked.

    The API key and connection are in the green on the backend, and if I manually 'recheck' new signups, many of them are being marked as sploggers. So while WangGuard is working, the scripts obviously aren't firing on our register page. Any help appreciated.

    http://wordpress.org/extend/plugins/wangguard/

  2. Jose Conti
    Member
    Plugin Author

    Posted 1 year ago #

    Hi indietravel,

    I tested with WordPress 3.5.1, BuddyPress 1.6.4 and WangGuard 1.5.3 and all works fine. The security questions are shown and WangGuard are blocking sploggers.

    I can see that you use a Premium or custom theme. Please look if there is an update for the theme or ask to the theme developer for this problem.

    I'm sure it's a theme problem because with BuddyPress Default and some premium themes (that I use) works without issue.

    Kind regards

  3. indietravel
    Member
    Posted 1 year ago #

    Hi @Jose, thanks. This theme was working fine before the recent update, so I'm wondering what might be the issue.

    I don't see any console errors, etc when loading the page, so no js conflicts, etc.

    What page functions does the plugin attach itself to? wp_footer? wp_header? If you let me know I can manually check that the right hooks are being run.

  4. Jose Conti
    Member
    Plugin Author

    Posted 1 year ago #

    WangGuard don't use the WordPress hooks in BuddyPress, use the BP hooks.

    For add security questions to signup page:

    http://plugins.trac.wordpress.org/browser/wangguard/tags/1.5.3/wangguard-admin.php#L115

    add_action('bp_before_registration_submit_buttons', 'wangguard_register_add_question_bp11');
    add_action('bp_signup_validate', 'wangguard_signup_validate_bp11' );

    For validate user agains WangGuard server:

    http://plugins.trac.wordpress.org/browser/wangguard/tags/1.5.3/wangguard-admin.php#L811

    add_action('bp_complete_signup','wangguard_plugin_bp_complete_signup');
  5. indietravel
    Member
    Posted 1 year ago #

    This is really strange... We're using /themename/register/activate.php and /register.php to hand those registration pages, but we're still not seeing the human questions or having the auto-validation on registration.

  6. Jose Conti
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    And in register.php is bp_before_registration_submit_buttons?

  7. indietravel
    Member
    Posted 1 year ago #

    Yes, from line 240:

    <?php do_action( 'bp_before_registration_submit_buttons' ); ?>
    
    				<div class="submit">
    					<input type="submit" name="signup_submit" id="signup_submit" value="<?php _e( 'Complete Sign Up', 'buddypress' ); ?>" />
    				</div>
    
    				<?php do_action( 'bp_after_registration_submit_buttons' ); ?>
    
    				<?php wp_nonce_field( 'bp_new_signup' ); ?>
    
    			<?php endif; // request-details signup step ?>
  8. JDoe_
    Member
    Posted 9 months ago #

    Hello @indietravel - Have you been able to fix this issue? I'm running into the same issue. Thank you.

  9. JDoe_
    Member
    Posted 9 months ago #

    Well..I think I got it fixed though I don't understand the fix. Here is what works on my wordpress (network site) with buddypress.

    1. Network deactivate the Wangguard
    2. Activate on the site
    3. Network activate and then deactivate again

    Insane but works.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic