Change Login Name/U.N

Started on the old forum in May 2010 · view the original in the archive · old links redirect here

15 replies · 928 views · started 16 years ago · 1 min read

6 participants
whitewingz Developer · 64 posts #1

Hi there

anyone know what is the code of change login name

example

i registered with user name whitewingz

user: whitewingz so my login name also is whitewingz i wnt to change my log in name example lyke whitewingz123 so my login name is whitewingz123 but still my user or nckname is whitewingz what i mean is only login name is will be change..

Anyone know?

something else Fellow · 2,296 posts #2

you would need to add an extra field in your database. Then code it around that. Depends what script your using.

khan Lead · 681 posts #3

ur string should like this update login=$login where id=$id; thats it.u should now make ur own according to ur script db.

Mysterio Lead · 630 posts #9

whitewingz, write here the code you are working on, and me or other guys will do it for you.

mysterio.al - programming is a functional art

Mysterio Lead · 630 posts #11

i dont understand. if you dont have a code, how did you register? post the registration code here.

mysterio.al - programming is a functional art

whitewingz Developer · 64 posts #12

bro this

example i register with username whitewingz

so in my profile my name is whitewingz

then my login name or username is whitewingz

i want only to change the login name..

my login name will be change but still my name in profile is whitewingz

example i change my login name to kevin

but still my name in profile chatroom, shoutbox, forums,online list etc is whitewingz

this is an example iand already change my login name to kevin

then i login

user : kevin pass : ********

then in login page

welcome whitewingz [Enter]

so only login name will be change not name in login page,forums,chatroom,profile,shoutbox,online list etc..

so i want to change my login name only

kevk3v Senior · 332 posts #13

There is no way to code this without knowing some/all of the code it's for. Even if it's for lavalair, there are many different lavalair mods so you will have to post the code it's for we can't just go download a code. The easiest way would be something like:

<?php
$nickname = "example";
//get the nickname name from somewhere like the database etc...
$login_name = "example";
//get the login name from somewhere like session, database, cookie etc...
if($default_name==$login_name)
{
 //default_name = name to be used to display
//check if login name is equal to the default name
$default_name = $nickname;
//set the nickname name as default name to you only
} 
else
{
$default_name = $login_name; 
//set the default name as login name to everyone else
}
?>

Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com

khan Lead · 681 posts #15

at least tell us what script u are using, wingz. and changing login name is so easy.if u can tell me whats the script and version, i can make it within a moment.

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close