![]() |
Custom Usernames
This is a very simple modification that involves a simple plug-in. I'm sure almost everyone already knows how to do this, but I've had a few people who are new to vBulletin ask me how to do this, so I thought I would post it up for other people like that to find.
With this plug-in, you can mask any user's username with a custom name. You can even have an image as a name. Set the hook location to fetch_musername and use the following code: PHP Code:
PHP Code:
If you don't want to make a single plug-in for each user, you can put them all in the same plug-in like this: PHP Code:
|
And the purpose? or one sample? :(
|
Nice.
|
file ? download ... where is the product ?
|
All you need is the plug-in I posted. If you don't know how to add a plug-in, just go down to "Plugins & Products" in the Admin CP, expand it, then click "Add New Plugin."
|
Is this what IPB does and makes a username and nickname.
|
It's basically just a mask. You still log in with your normal username, but in posts and stuff your name will show as whatever you put in the HTML. In some places, like where it says "Last post by: Username, it doesn't work though. I'm trying to figure out how to make it so. I'm sure one of the gurus on this site knows, so maybe they'll post it up.
|
Quote:
|
To bad there wasn't a mod that would let each user do this on there from usercp
|
what's the point of masking a username? why not just change it?
|
^ I suppose so people can change their username and you can keep track of who everybody is.
|
yeah, but there are addons to request or change usernames :p
As for keeping track? technically only admins would know, what the users unmasked name is..? |
Thanks Sammage, this is me - Nightmare!
|
There was a Username History Mod that allowed Users to change their Username and it kept a History of the last x Usernames the user had, and had time limits etc built into it, but I'm not sure if it was updated to the latest vB version...
Just so you are aware, you will need to replace the "username" value with an unformatted version of the new username as well as the "musername" value, but to do that you will also need to change the location of where the plugin is activated ;) Chris |
Quote:
Quote:
Quote:
The point of this isn't to mask your username with another username, it's meant to allow users to use custom formatting or images. For example, instead having AllenSam, I could have AllenSam and someone with the username Zero could use this image as their username: http://www.rpgpalace.net/images/zeroname.gif Quote:
|
this hack reminds me of vbplaza... with the username changes to image or different formats.
|
any updates to this??
|
I think this is what Zero Tolerance uses on his site only with the bb code color.. Nice hack.
|
So where do we put this? How do you add fonts etc..
|
You can use basic HTML to change the font and format.
|
Yeah I figured that out.
|
looks nice :)
|
All times are GMT. The time now is 05:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|