The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Real Name everywhere possible?
I added a new field for real names. Is there a way to display that instead of username? Im not looking to make it an option, just force real names.
|
#2
|
|||
|
|||
Hm, you can make a mandatory profile field & edit the templates to hide the username on the postbit and just move the profile field above the avatar (legacy postbit)
|
#3
|
|||
|
|||
Thanks. I have the custom field already, and they're required and filled out. column name is fullname in table user. But When I edit templates, its not recognizing that column on all pages. I can get postbit to do it, but not the welcome message or who's online or PM.
--------------- Added [DATE]1318463134[/DATE] at [TIME]1318463134[/TIME] --------------- Actually, maybe an easier solution would be to be able to login using another field other than username. |
#4
|
|||
|
|||
Quote:
Quote:
You might be able to do that, but the pages would still be displaying the user name. |
#5
|
|||
|
|||
Quote:
If I could login with fullname, then I can run a query to switch all usernames with fullnames and then let VB display the fullname. I just want them to login with their initials, which is how I had it setup at registration. --------------- Added [DATE]1318478705[/DATE] at [TIME]1318478705[/TIME] --------------- In whosOnlineBit - it shos userinfo.musername (notice the M username), what value do I change it to in order to display fullname? |
#6
|
|||
|
|||
Quote:
Quote:
I'm pretty sure musername always comes from the function fetch_musername, and you can create a plugin to modify that value. Use hook fetch_musername and code like this: Code:
if ($usernamefield == 'username') $user['musername'] = $vbulletin->usergroupcache["$displaygroupid"]['opentag'] . $user['fullname'] . $vbulletin->usergroupcache["$displaygroupid"]['closetag']; (but I haven't actually tried it). |
#7
|
|||
|
|||
that worked for postbit but made names disapear in whosonline.
how do I get login to work with fullname (custom column) rather than username? That would solve all my issues. And thank you for all your help. Much appreciated! I came across this, do you think this can be modified to use the fullname field instead of the email field? https://vborg.vbsupport.ru/showthrea...ht=login+email --------------- Added [DATE]1318647411[/DATE] at [TIME]1318647411[/TIME] --------------- anyone know if it's possible to login with any other field other than username? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|