This will allow the user profile link to be the users name
Code: Select all
http://www.projectblueblood.com/memberlist.php?mode=viewprofile&u=2
Code: Select all
http://www.projectblueblood.com/Blue Blood
.htaccess
At the end of the file add
Code: Select all
RewriteEngine on
Rewriterule ^([^/\.]{3,})$ ./memberlist.php?mode=viewprofile&un=$1
includes/functions_content.php
Find:
Code: Select all
$profile_url = ($custom_profile_url !== false) ? $custom_profile_url . '&u=' . (int) $user_id : str_replace(array('={USER_ID}', '=%7BUSER_ID%7D'), '=' . (int) $user_id, $_profile_cache['base_url']);
Code: Select all
$profile_url = generate_board_url() . '/' . $username;