Log in

View Full Version : Adding users full real name into MEMBERINFO


gopherhockey
01-31-2009, 07:57 PM
We would like to add a user profile field (users full real name) into our MEMBERINFO template.

What is the code to do this? In postbit you can say:

$post[field7]

But you cannot do that in MEMBERINFO.

What would be the correct way to place field7 into MEMBERINFO?

Lynne
01-31-2009, 08:02 PM
Did you create the User Profile Field? I did this same thing and created a new category - More About Me - and put the field in that category and it shows up under my About Me tab (although there are other options when you create the category).

gopherhockey
01-31-2009, 08:05 PM
Did you create the User Profile Field? I did this same thing and created a new category - More About Me - and put the field in that category and it shows up under my About Me tab (although there are other options when you create the category).

Yup... the field is there, has been for years. Its just the way the template works and recent changes to vBulletin that make how we used to call it no longer work.

By default the users profile shows the forumid in large lettering. We replace this with the users full name (with the forumid in smaller lettering below)

Just trying to figure out the right way to do this in MEMBERINFO via custom template code.

Here is the code for the forumid... calling field7 the same way doesn't work:

<h1>$prepared[musername] $prepared[onlinestatus]</h1>

--------------- Added 1233447889 at 1233447889 ---------------

Found my own answer...

$userinfo[field7]