Increasing maxlength for user profile fields...

Increasing maxlength for user profile fields...

by George Kao -
Number of replies: 7

The most popular messenging software in our class is Yahoo Messenger. 

So I've now changed the "ICQ Messenger" field to say Yahoo Messenger.  I've also increased the maximum numbers of characters for that field from 15 to 35.

However, when viewing the profile, it still cuts off my Yahoo ID to 15 characters.

I think it has to do with the $user->ICQ which appears in the file moodle/user/view.php, but I don't know how to increase the max characters for that. 

Same problem occurs when I try to increase max characters for the phone fields.

Any suggestions?

Thanks!

Average of ratings: -
In reply to George Kao

Re: Increasing maxlength for user profile fields...

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
The field in the database is restricted to 15 characters, so that would need to be modified as well.

You could easily modify the user table - its quite obvious which fields to change. If you need help doing that, let us know.

However, it might be worth a feature request in the bugs database to increase the field size - I don't see that it would do much harm making it bigger for eventualities such as yours.
In reply to George Kao

Re: Increasing maxlength for ...

by Don Hinkelman -
Picture of Particularly helpful Moodlers Picture of Plugin developers
Careful, George.  My porn filter just rejected your topic title.   wink
In reply to Don Hinkelman

Re: Increasing maxlength for ...

by Chardelle Busch -
Picture of Core developers

I'm not sure if George got it, but you just made my day Don.

Thanks for the laugh.

In reply to George Kao

Unrelated to increasing your maxlength Georgie...

by Darin See -
I gotta reccomend staying away from webcrossing's "courses" software... it's a rebuild of their forums system, which is what I'm having so much trouble migrating from...

Moodle, if I may say so, is philosophically aligned with your triplebottomline dealie too...

Super-D!
In reply to Darin See

Re: Unrelated to increasing your maxlength Georgie...

by George Kao -

Mr. Darin!!

A pleasant surprise to see you here. 

Moodle is bringing old friends back together! smile

Thanks for the confirmation about not going with WebCrossing's courseware.  Our school is now pretty much mired in Moodle.  And happily so smile

~ George

p.s. Chardelle-- I'm just glad I didn't put Increasing maxlength for member profile wink

In reply to George Kao

Re: Unrelated to increasing your maxlength Georgie...

by Chardelle Busch -
Picture of Core developers

Thanks George,

Another day started with laughter!big grin