Forums

Authentication on page for user role (2 posts)

  1. persianprez
    Member
    Posted 9 months ago #

    Hi, so basically what I am trying to do is have a PHP page have a login with wordpress authentication.

    What I want:

    if (user_level is guest)
         <?php wp_register(); ?>
         <?php wp_loginout(); ?>
    
    else if (user_level is contributor)
         <html>...</html>
    
    else{ <html>...</html>}

    I've already included wp-blog-header but I'm stuck because I can't find the proper codex for this.

  2. persianprez
    Member
    Posted 9 months ago #

    *bump* please help. I have also bridged this with SMF (just the users) and the authentication through SMF is even more of a headache with their SSI redirection nonsense.

Reply

You must log in to post.

About this Topic