Hello guys,

I think you're getting me right.
When I'm browsing domain accounts, I want to see peoples names, along with 
their usernames, so it is a new column on the accounts page of the domain.
It's very helpful especially when you have hundreds of users, and you want to 
make "Search" by Firstname/Lastname or by part of their name.
That I believe require changes in (If you want full functionality with an 
option to change users Full names):
newaccount.php, editaccount.php....

I'm not a PHP coder, so It'll be not easy for me to hack it by myself.

May be there is such feature in 0.5.5?

If there is such feature already implemented by someone who want to share it, 
I'd be glad to use it.

Best Regards,
Leon



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lukasz Marciniak
Sent: Tuesday, July 26, 2005 7:04 PM
To: [email protected]
Subject: Re: [Web-cyradm] A way to add Firstname/Lastname to useraccount

Marcel Hartmann wrote:
> You can add the field in the Database Table users, but think to add 
> add the end, because in the code Luc used mysql_fetch_row() to get his 
> values.
> Therefor the
> indexnumber must be same!

 From 0.5.5 it's not a problem because everywhere columns are called by names 
not indexes.

I done this (not name but group and location) in setquota.php. I added two text 
fields field1, field2 in form and after submit added mysql query:
UPDATE accuntuser SET column1='$_GET['field1']', column2='$_GET['field1']' 
WHERE username='$_GET['username']'.
and that's all.

rgds,
Lukasz
_______________________________________________
This mailing list is hosted and supported by bit-heads GmbH | 
http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch

_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm

Reply via email to