MyBB Community Forums

Full Version: Member Template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey,


In member template, how do you display the 'fid4' of the current member you are viewing? I tried $mybb->user['fid4'] but it displayed my fid4 instead of the member's im viewing.
There is no user column "fid4".
What are you trying to get?
well, fid4 is a special field created by me. It's the "Character field" users have to put in when they signed up.

I'm trying to get Member Template to display this fid4. But I'm not sure what to use.
This explains why I couldn't find it^^

If you want to see it if you view a member I'd guess you are doing it on profile...
You can not use $mybb->user['fid4'] there but instead $mybb->input['fid4']
Try that...
There are many member template, do you mean the member_profile template?? Try {$memprofile['fid4']}
yea member_profile template.

{$memprofile['fid4']} -- doesn't work

$mybb->input['fid4'] -- doesn't work.
How do you embedd it, via plugin or via template only?

I'm not sure if the var gets loaded by default in profile...
Pls take a look at http://www.dedicatedot.info/forums/membe...file&uid=2
It already displays "Character:", but how do I get that value? I need it for something else on the same page..
Character: GM Odin

This is what it says to me, seems to work fine...
yes, but how do i get that variable, so I can display it again somewhere else on the same page
Like Say I want to display fid4 next to the member's avatar, how do I do it? I dunno what is the variable for fid4.