The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Obfuscate usernames that have email address info in them.
I'm looking for a mod that will tweak the username display of any user that has used their email address as their username, so that it will only display the part before the "@" symbol. I'd rather do this as a plugin than a template modification. If someone can tell me which hook to use and the name of the template variable that will need a preg_replace() done on it, I can make the plugin myself, but I'm new to vBulletin (just switched from phpBB) and I'm not sure where the code should go. Oh, and I'm using vBulletin 3.6.
|
#2
|
|||
|
|||
Im not sure what but trying to think of how to do this as well. I have about 400 users currently who have signed up with their username as their email and it ruins the layout when they post. and for some reason the length limiter doesnt work on them
|
#3
|
||||
|
||||
Yeah, I just switched from phpBB to vBulletin and this is one of the mods I did for phpBB that I'm trying to port to vBulletin. I'm basically hoping someone can tell me which hook to use and what the display variable is called so I only mess with the appearance as the last step before displaying the relevant template. I'm hoping there's a global template hook somewhere that will let me modify the template variables just before they are sent to the templates. I'm digging through the API docs right now and can't find a list of hooks with descriptions. I can get a simple list of hooks from the plugin builder inside vBulletin itself, but no descriptions.
EDIT:I've started to figure it out. I've now written plugins for the forum homepage, but it looks like I'll have to write plugins for every page that displays a username anywhere. Once I get it all done I'll package it up and post it for the community. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|