1
trewitt
Re: Additional user fields
  • 2003/3/30 20:10

  • trewitt

  • Just popping in

  • Posts: 5

  • Since: 2002/2/25


I have the same need, to a much greater extent. See http://www.lone-star.org/xoops/html/register.php

I hacked a LOT of core files under XOOPS 1.2, and wish to avoid editing ANY core files when rewriting under V2. Adding a 'users_plus' SQL table is easy enough, but I need to know what the "Officially Sanctioned Core Class Extension" methodology is. IE, how do I write a module file which extends \kernel\user.php, such that my own module code can reference User properties just as if they had been declared in \kernel\user.php?

We really need an example for "class XoopsUserPlus extends XoopsUser"....

I also need to override the default behavior and appearance of the user login core 'module' (I concatenate First and Last names into uname - see site above). Is there an Officially Sanctioned way to do this without hacking the core (/user.php)?





TopTop



Login

Who's Online

174 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 174


more...

Donat-O-Meter

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

Latest GitHub Commits