View Full Version : Custom Username Markup
SEOvB
09-24-2008, 07:18 PM
I need the ability to add custom HTML markup to individual users rather then creating usergroups and doing it.
Should be simple can anyone help.
Lynne
09-24-2008, 07:28 PM
Have you tried to play around with it yet? musername, which is the MarkedupUsername is defined in fetch_username which is a function found in functions.php. At the bottom of the function is a hook called fetch_musername. I'm guessing that you could put in some conditionals - if userid=x, then musername = whatever. Does that help out?
SEOvB
09-24-2008, 07:40 PM
Well that might work if i was doing it. But its for these guys who aren't ass "technically savy" as us so i think that would have a disasterous effect for them :D
I appreciate the suggestion
Lynne
09-24-2008, 07:45 PM
What do you mean you are not doing it? You mean you need this done from some remote script or something? Or you need it written out in plain code for them?
SEOvB
09-24-2008, 08:52 PM
Oh no, i need it like on the Edit user page in the admin cp. A markup box like the usergroup options has where you can enter the markup before and after the username.
hope that makes more sense!
Lynne
09-24-2008, 09:48 PM
Ah, I see. Not quite as easy. In fact, ick. Maybe someone else can take a stab at that.
Hornstar
09-25-2008, 06:12 AM
if you have vbplaza installed you will have exactly what you need, however it is currently only available as a paid release. But if anything, it would be the best way to go.
Lynne
09-28-2008, 04:41 PM
I just did a search of "username" "all mods" "titles only" and there are several mods there including this one - Individual Username HTML Markup (https://vborg.vbsupport.ru/showthread.php?t=184426&highlight=username) Perhaps you can modify that to do what you want.
Shazz
09-28-2008, 04:45 PM
I just did a search of "username" "all mods" "titles only" and there are several mods there including this one - Individual Username HTML Markup (https://vborg.vbsupport.ru/showthread.php?t=184426&highlight=username) Perhaps you can modify that to do what you want.
Wow that one looks nice.
Lynne
09-28-2008, 04:48 PM
Wow that one looks nice.
Yep, it does. I'm thinking of adding it to my forum once I upgrade to 3.7.
Shazz
09-28-2008, 04:50 PM
Yep, it does. I'm thinking of adding it to my forum once I upgrade to 3.7.
Gives too much freedom IMO :)
Lynne
09-28-2008, 05:15 PM
Gives too much freedom IMO :)
Sometimes I do things just for my PWs and this would be one of them. I'm thinking only they would use it.
SEOvB
09-28-2008, 10:45 PM
I just did a search of "username" "all mods" "titles only" and there are several mods there including this one - Individual Username HTML Markup (https://vborg.vbsupport.ru/showthread.php?t=184426&highlight=username) Perhaps you can modify that to do what you want.
Thanks Lynne, I'm going to give this a shot and see if i can just move the options from userCP into the AdminCP -> Edit User page.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.