Guest Posted October 16, 2002 Share Posted October 16, 2002 This board trick should be applied to MSFN:Allow members to change usernames:This hack is an extention to the Change Member Name (AdminCP) hack by Monster. I sudjest you install that hack as well.Remember to back up all files before editing anything.in sources/lib/usercp_functions.php find: //---------------------------------- // Check for bad entry //---------------------------------- if ($HTTP_POST_VARS['act'] == "") { $std->Error( array( 'LEVEL' => 1, 'MSG' => 'complete_form' ) ); }Under that put: //+---------------------------------------- if ( (strlen($HTTP_POST_VARS['MemberName']) > 65)) { $std->Error( array( 'LEVEL' => 1, 'MSG' => 'username_long' ) ); } //+-------------------- if ( (strlen($HTTP_POST_VARS['MemberName']) < 3)) { $std->Error( array( 'LEVEL' => 1, 'MSG' => 'username_short' ) ); }then find: $set = array( 'website' => $ibforums->input['WebSite'],under that put: 'name' => $ibforums->input['MemberName'],Save and upload sources/lib/usecp_function.phpin Skin/sx/skin_ucp.php find: <tr> <td id='row2' width='40%'>{$ibforums->lang['website']}</td> <td id='row2'><input type='text' size='40' maxlength='1200' name='WebSite' value='{$Profile['website']}' class='forminput'></td> </tr>Above that place: <tr> <td id='row2' width='40%'><b>Member Name</b></td> <td id='row2'><input type='text' size='40' maxlength='65' name='MemberName' value='{$Profile['name']}' class='forminput'></td> </tr>Save and upload Skin/sx/skin_ucp.php Link to comment Share on other sites More sharing options...
sedative Posted October 16, 2002 Share Posted October 16, 2002 allow users to change their usernames? man, we'd never know who anybody was. people would be changing their name every other day Link to comment Share on other sites More sharing options...
xper Posted October 16, 2002 Share Posted October 16, 2002 No, no more hacks here. Sorry.Waiting for 1.1 version. Link to comment Share on other sites More sharing options...
Drewdatrip Posted October 16, 2002 Share Posted October 16, 2002 allow users to change their usernames? man, we'd never know who anybody was. people would be changing their name every other day Not to mention im sure people ould change there name to some less then nice names.....and we would have no contol over it...could be bad....=Drew Link to comment Share on other sites More sharing options...
misskellibad1 Posted October 17, 2002 Share Posted October 17, 2002 not to mention some people like their names...... Link to comment Share on other sites More sharing options...
LS_Dragons Posted October 17, 2002 Share Posted October 17, 2002 I am thinking only those who screw up and get people PO-ed would want to change their name anyway. I vote no - if anyone is counting. Anyway - lots of times I remember a post I want to look back up by username and having them change would totally mess that upLS_Dragons Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now