The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
User Profile Fields outside Postbit?
I'm trying to display a user profile field in a template outside of postbit.
Specifically, I want to use the ShowGroups page to be my staff page and display additional information about the user (i.e., full name, title, etc.). I can't seem to find the code that allows you to reference $post[fieldx] in the post bit. If anyone can help, or at least point me to where the code is, I'd really appreciate it. Thanks in advance, Sean MX6.com |
#2
|
||||
|
||||
Anyone?
|
#3
|
|||
|
|||
Are you using vb 2.3.1 or 3.0.x?
|
#4
|
||||
|
||||
Try $bbuserinfo[fieldx].
|
#5
|
||||
|
||||
I'm using 3.0.
$bbuserinfo[fieldx] wont work because it only displays the info the current logged in user, not the user being displayed on the Show Groups bit. |
#6
|
||||
|
||||
Ahh. Yes. I didn't completely understand what you were asking.
I could use something like that as well. |
#7
|
||||
|
||||
Another possibility would be to modify the Memberlist to show only certain usergroups. I mean, I'm kinda suprised that they have a separate Show Groups page at all. It would seem to make more sense to have a lookup on the regular Memberlist that only showed the Admins and Mods (or staff).
The Memberlist page is WAY more flexible than Showgroups. So if anyone has any ideas to make the Memberlist display only certain user groups, then that would probably work as well. |
#8
|
||||
|
||||
I asked the same thing a long time ago, and again today.
http://www.vbulletin.com/forum/showt...969#post663969 Quote:
|
#9
|
||||
|
||||
Quote:
|
#10
|
||||
|
||||
Thats a good suggestion.
I really need it to display mutiple groups, though. I know I could probably make a hidden group and add it to all the staff, but they would likely be all lumped together then. It would be wonderful if I could have a page that showed the following sections: Admins Super Moderators Moderators |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|