You'll have to look at a block that does work as intended. LIke one from our site.
You will have to add the calss to the database to grab the user_id number so it can be displayed in a link.
You need somthing like this to call that info from the database.
|
Code:
|
$result = sql_query( "select user_id from $prefix"._users." where username='$username'", $dbi);
list( $user_id ) = sql_fetch_row( $result, $dbi ); |
mikem