Display Name / User Nickname Plugin
Author Message
This plugin allows users to have differing display and login names.  The former is displayed publicly to everyone (what is seen in posts), whereas the latter is only used for login purposes.

This plugin primarily patches MyBB's login, registration and lost password routines, so "username" often refers to the user's display name (perhaps this should be clarified a bit...).
Thus, to allow users to change their display name, simply give them their usergroup the ability to change username.

Known limitations/issues:
  • Only tested on (and intentionally designed for) MySQL - dunno if it works on other DB engines
  • During un/installation, the plugin will close the board whilst it performs processing to prevent potential issues with database integrity
  • It relies on a few things in the supplied English messages.lang.php and may not work correctly with other languages - this only really affects activation emails
  • Various English phrases are hard coded in
  • Login names aren't quite as vigorously checked as MyBB checks user names - this is to somewhat give users more flexibility, but a potential issue is that when this plugin is deactivated, everyone's username will be set to the login name.  This will generally be a minor issue however.
  • Like login names, display names must be unique (no two people can have the same display name at the same time)
  • Quotes in posts may become a little confusing/misleading if people change their display name often - you may wish to consider my vB Quote plugin which can get around this issue
  • Often "Username" is referred to, although whether it refers to a login name or a display name may be unclear.  For example, when a user tries to log in, it asks for their username and password.  Perhaps I might change this to "login name and password" in a later version.
  • I haven't done a lot of testing on this, so you probably should do some before you use it (and do so at your own risk)



Changelog:
v1.10
- compatibility fixes for MyBB 1.8
- template modifications are now performed on activate/deactivate instead of install/uninstall.  Please note that deactivating the plugin may cause things to go into a weird state, so please don't leave it in that state for long (it's only intended to allow you to fix templates)
- Please see this note if you are upgrading from MyBB 1.6 to 1.8

v1.05
- fix compatibility issues with MyBB 1.6 ACP logins

v1.04
- fixed bug: couldn't update login name

v1.03
- updated control_object function again (no functional difference, but may be required to keep compatibility with my other plugins)
- fixed a potential issue during uninstallation if there's a conflict between login and display names of different users

v1.02
- updated control_object function with more accurate version; functionally indifferent, but may be required to be compatible with my other plugins

v1.01
- fixed bug in regards to activation emails

v1.00
- initial release
(This post was last modified: 12-08-2014 05:27 PM by ZiNgA BuRgA.)
Find all posts by this user
Quote this message in a reply
Download: dispname.php (17.65 KB)
Plugin Version: 1.10
Last Updated: 12-08-2014, 05:21 PM

Downloads: 3,778
MyBB Compatibility: 1.4.x, 1.6.x, 1.8.x
Plugin License: GPLv3
Uploader: ZiNgA BuRgA
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #31
RE: Display Name / User Nickname Plugin
(02-15-2011 09:58 AM)ZiNgA BuRgA Wrote:  Updated to v1.05:
- fix compatibility issues with MyBB 1.6 ACP logins

It works now! Thank you very much, Yumi Smile

02-16-2011 01:43 AM
Find all posts by this user Quote this message in a reply
thnok Offline
Junior Member
**
Posts: 2
Joined: Feb 2011
Post: #32
RE: Display Name / User Nickname Plugin
I want to know how do I add this to the registration page?
03-07-2011 12:17 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #33
RE: Display Name / User Nickname Plugin
It should in your registration page automatically.

03-07-2011 12:23 PM
Find all posts by this user Quote this message in a reply
thnok Offline
Junior Member
**
Posts: 2
Joined: Feb 2011
Post: #34
RE: Display Name / User Nickname Plugin
How do I add this to the user cp? instead of change their user id's I want to add this so they can change their nick name.
(03-07-2011 12:23 PM)RateU Wrote:  It should in your registration page automatically.

Just noticed it is. Thanks! Wink
(This post was last modified: 03-11-2011 02:24 PM by thnok.)
03-11-2011 02:21 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #35
RE: Display Name / User Nickname Plugin
Change user group permissions in ACP - allow users to change user name.

My Blog
03-11-2011 02:51 PM
Find all posts by this user Quote this message in a reply
Juliens Offline
Junior Member
**
Posts: 2
Joined: Mar 2011
Post: #36
RE: Display Name / User Nickname Plugin
Can anyone help?

I have no idea how to install the plugin. My English is almost nothing and now I'm writing in the google translator.

How do I download the plugin? Mainly that's what I would like to know
03-20-2011 09:09 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #37
RE: Display Name / User Nickname Plugin
In the top of this page, at the right side.

03-20-2011 09:14 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #38
RE: Display Name / User Nickname Plugin
I don't recommend using my plugins if you struggle to understand English.  Perhaps you may want to try requesting someone translating instructions for you.

My Blog
03-20-2011 11:26 AM
Find all posts by this user Quote this message in a reply
Juliens Offline
Junior Member
**
Posts: 2
Joined: Mar 2011
Post: #39
RE: Display Name / User Nickname Plugin
Thanks to those who helped me, which was no where to download but it was already downloaded.

It works perfectly in a forum that is in Spanish and I really liked the plugin ^ _ ^.

If someday I get to learn English Translates instructions xD

Thank you very much for the support, keep looking plugin on this page.
(This post was last modified: 03-20-2011 11:16 PM by Juliens.)
03-20-2011 11:16 PM
Find all posts by this user Quote this message in a reply
Scois0n Offline
Junior Member
**
Posts: 5
Joined: Aug 2012
Post: #40
RE: Display Name / User Nickname Plugin
This is pretty cool. Thanks Smile
09-12-2012 09:58 AM
Find all posts by this user Quote this message in a reply


Forum Jump: