HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Full Name

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#37788 (In Topic #8501)
Avatar

Community saint

 Question,

Is there any way that the ocp_fullname field can be used as the Display name throughout the site. I run a private site with people that know each other so I would prefer that all references to that person show their full name so that we all know who is who.

Since I can't figure that I have paced instructions on the site to use there full name in the username field when registering. The problem with that is there is a limit to the number of characters that can be used in the username field. Does anyone know how to change the limit and also how to change the registration form to show Full Name instead of username.

Thanks in advance for any help you can provide.
 

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#37794
Avatar

Community saint

Hi Rick.

I was faced with this phenomenon in Sept last year. I got an answer from the oracle (Chris), so I'm passing it on …

Chris said

This is hard-coded on line 924 of sources/ocf_members_action.php:


Code

   if (strlen($username)>15) user_clean_exit(do_lang_tempcode('USERNAME_TOO_LONG'));

I will add one thing to this. The line number has changed to 936 since the release of version 3.2.7.


I'm not too sure about the change you wish to make to the Registration Form, but I'll take a look.

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#37795
Avatar

Community saint

To answer your second query about changing the Registration Form to request a 'Full Name' instead of a 'username'.

Since you state that, "I run a private site with people that know each other …", you could probably achieve this by changing the meaning of

USERNAME=Username
to
USERNAME=Full Name
in
..lang/EN/global.ini

That's a bit of a 'down-and-dirty' suggestion, and I really don't know what else will be affected by doing this. Please use with caution!


Last edit: by Fletch

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#37796
Avatar

Community saint

Fletch,

You are the man on both counts. Thank you so much!!! If there is ever anything I can do for you just let me know.

 

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#37797
Avatar

Community saint

:thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#37799
Avatar

Community saint

I wonder if there is a way to get it to show display names from IPB.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#37800
Avatar

Community saint

You're the specialist on IPB, Amy. If anybody can crack that "wonder if", then you are the one!

Over to you.

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#37801
Avatar

Community saint

I have a lot of things to do at the moment but I will look into it.
Thanks for the vote of confidence.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: