Skip to:
Content
Pages
Categories
Search
Top
Bottom

Show the last user have joined

  • Hello,

    in the front-page, i want to show the name and the link of this profile, of the membre have joined in last the forum, but how please ? :)

    thanks,

    Fred

Viewing 1 replies (of 1 total)
  • Show last registered user? Here y’go:

    <?php include_once("bb-includes/statistics-functions.php"); ?>

    Our newest member is <?php if ( $users = get_recent_registrants(1) ) : foreach ( $users as $user ) : ?>
    <a href="<?php user_profile_link( $user->ID ); ?>"><?php echo get_user_name( $user->ID ); ?></a>
    <?php endforeach; endif; ?>

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar