1
martyras
Add 'Real Name' in registration form
  • 2004/11/13 1:59

  • martyras

  • Just popping in

  • Posts: 37

  • Since: 2004/11/1


If someone can get me through this, I have tried many ways but it doesn't save it to db.

How can I add 'Real Name' entry in registration form (registerform.php)?

Thanx.

2
smdcom
No title

in include/registerform.php, insert red code:

$reg_form = new XoopsThemeForm(_US_USERREG"userinfo""register.php");
$reg_form->addElement(new XoopsFormText(_US_NICKNAME"uname"2625$uname), true);
[
color=ff0000]$reg_form->addElement(new XoopsFormText(_US_REALNAME"name"2625$name), true);[/color]
$reg_form->addElement($email_tray);


in register.php, insert blue code:

<input type='hidden' name='uname' value='".$myts->makeTboxData4PreviewInForm($uname)."' />
[
color=0000ff]<input type='hidden' name='name' value='".$myts->makeTboxData4PreviewInForm($name)."' />[/color]
<
input type='hidden' name='email' value='".$myts->makeTboxData4PreviewInForm($email)."' />";



3
CiberEspia
Re: No title

You see here:
https://xoops.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=26185&forum=27

use search,okis

4
martyras
Re: No title
  • 2004/11/13 10:44

  • martyras

  • Just popping in

  • Posts: 37

  • Since: 2004/11/1


Thank you, very quick responses as always in this community!

5
gordonr1
Re: No title
  • 2004/11/13 13:21

  • gordonr1

  • Just popping in

  • Posts: 1

  • Since: 2004/2/26


Any chance anyone knows how to then add this information into the X-IPB profile that I use instead of the normal one?

Gordon
-
www.evotions.co.uk
www.sobiteme.co.uk
www.ecrad.org

Login

Who's Online

176 user(s) are online (108 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits