Not Solved Working on custom user profiles
#1
Not Solved
I am working on making custom user profiles for my forum and I have ran into a problem. I am trying to move the custom fields around (making them in different places of each other instead of together in a table.) and I need the snip of code to display a custom field. I have tried {$memprofile['fidX']} and {$MyBB->user['fidX']} they don't exactly work the right way. Thanks in advance.
[Image: mcb-half-ad.png]
Reply
#2
Not Solved
What do you mean "they don't exactly work in the right way"? {$memprofile['fidX']} is the correct code to use.
Reply
#3
Not Solved
(2010-11-08, 04:48 PM)euantor Wrote: What do you mean "they don't exactly work in the right way"? {$memprofile['fidX']} is the correct code to use.

Only shows if it the own users profile. For example if I was to go to someone else profile it will show for him but not me.
[Image: mcb-half-ad.png]
Reply
#4
Not Solved
Hm. That's odd. I'll have a go my self and see what I find Wink
Reply
#5
Not Solved
(2010-11-08, 05:48 PM)xScopex Wrote: Only shows if it the own users profile. For example if I was to go to someone else profile it will show for him but not me.

Try using {$userfields['fidX']} variable. But you need to sanitize it.
XThreads App For MyBB: Link Directory, YouTube Gallery & etc - Full List
My Demo Site
Reply
#6
Not Solved
(2010-11-08, 07:51 PM)RateU Wrote:
(2010-11-08, 05:48 PM)xScopex Wrote: Only shows if it the own users profile. For example if I was to go to someone else profile it will show for him but not me.

Try using {$userfields['fidX']} variable. But you need to sanitize it.

Works perfectly! Just what I needed, thank you very much.
[Image: mcb-half-ad.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)