Viewing 2 replies - 1 through 2 (of 2 total)
  • The 2.2.1 built-in Meta widget, has the login feature.

    Thread Starter sniperclops

    (@sniperclops)

    Used this hack on the top left of my page and it does what I want…

    <?php

    global $user_identity;
    get_currentuserinfo();

    if ($user_identity == ”) {
    echo(‘Welcome Guest, why not register or login to post comments’);
    } else {
    echo(‘Welcome <b>’ . $user_identity . ‘</b>’);
    }

    ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Login Widget’ is closed to new replies.