View Full Version : Question with $vbulletin->userinfo['musername']
Hellmonkeys
07-14-2006, 09:35 PM
Hello, I have a simple question about the 'musername' variable. I have seen a LOT of mods that create their own, color'ed username via. the opentag and closetag entries. However, it appears that 'musername' already has done all this. So, my question is, is it SAFE to use musername, or should I just query the relevant information through opentag, closetag, etc.?
Paul M
07-15-2006, 12:22 AM
It's perfectly "safe", just not always the most efficient way.
Hellmonkeys
07-15-2006, 04:23 PM
Why would you say it's not efficient? Does it run an extra query when you call it... or, what would be a better way? I haven't looked into see where it actually fills that variable exactly.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.