WordPress.org

Ready to get started?Download WordPress

Forums

Social Login
Please help to integrate oneall to mingle forum login form (1 post)

  1. crowd
    Member
    Posted 1 year ago #

    Hi guys, i have some problems integrating this code into my forum login form.

    Im trying to insert this code
    do_action('oa_social_login');

    into this form script

    function login_form(){
    global $user_ID;
    if(!is_user_logged_in() && $this->options['forum_show_login_form']){
    return"<form action='".site_url()."/wp-login.php' method='post'>
    <input type='text' name='log' id='log' value='' size='20' class='wpf-input'/><br />
    <input type='password' name='pwd' id='pwd' size='20' class='wpf-input'/><br />
    <input type='submit' name='submit' value='Login' id='wpf-login-button' class='button' /><br />
    <input type='hidden' name='redirect_to' value='".$_SERVER['REQUEST_URI']."'/>
    </form>";
    }
    else return $login_msg;
    }

    Im a total newbie at php, could you give me a hint how to make it right?

    http://wordpress.org/extend/plugins/oa-social-login/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.