"Name" = "User name"

13 years 2 weeks ago #28819 by ExSpirit
Can someone help me with a simple code please. I would like "Name" at registration to be the same as "User name". I now have:
<td class="fieldCell"><input class="inputbox" type="hidden" size="40" name="name"

mosReq="1" mosLabel="Name" value="BlaBla"<?php
if (isset($row->name)) echo htmlspecialchars($row->name);?>" />

Now all names have BlaBla, but that make some problems at admins panel to find some member, so I would like to put instead of "BlaBla" his "User Name". What line of code should I add please?
13 years 2 weeks ago #28934 by ExSpirit
Anyone? There has to be only 1 line to add/change...
13 years 1 week ago #29170 by ExSpirit
Still nothing :(

What about some extra button in admin panel that would on press edit database with "something like ..._members SET realName = memberName;" Anything make like this, or can someone help me with code? But I think it's easier to just edit registration code to send username to name base...
12 years 3 months ago #47013 by t3nacity
I have the same question can someone please address this?
11 years 5 months ago #71004 by Mackelito
I'm looking for a solution for this as well... for CB 1.1!

If I change to "[code:1]<input class="inputbox" type="text" size="40" id="name" name="name" mosreq="0" moslabel="Name" value="<?php echo htmlspecialchars($row->username);?>" />[/code:1]" the name wont work :(
Moderators: beatnantkrileon
Time to create page: 0.436 seconds

Facebook Twitter LinkedIn