Not Solved [How To?] Custom Profile Field
#1
Not Solved
Hi, I've made a number of custom profile fields and I wish to call them in my custom profile page.

Currently, I've tried {$post['fid4']} where I wish to display the data but it comes up blank.

Any help is appreciated!

Regards,
Adams
Reply
#2
Not Solved
Don't think {$post['fid4']} is needed, make sure you have Display on postbit ticked yes, and go to postbit_author_user make sure you have the variable {$post['profilefield']}
Do NOT PM me for support unless I ask you on your support thread.
Reply
#3
Not Solved
This is the entire contents of that template:

{$lang->postbit_posts} {$post['postnum']}<br />
{$lang->postbit_threads} {$post['threadnum']}<br />
{$lang->postbit_joined} {$post['userregdate']}
{$post['replink']}{$post['profilefield']}{$post['warninglevel']}

Do I need to put in {$post['fidX'] in there for each custom field?
Reply
#4
Not Solved
{$post['fidX']} can be used in the postbit templates & each custom field requires separate variable listing. [related guidance]

if your custom profile page is based on member.php file related hooks then
{$userfields['fidX']} might work in member profile related templates

(edited)
Reply
#5
Not Solved
Ah I get you. So if I go to postbit_author_user and create my layout for the custom fields and then in my main profile template I put {$customfields} (or whatever it is) in its place, it should work?

I essentially edited the member_profile template to get my result and in my layout I have a table cell where I tried {$userfields['fidX']} but to no avail
Reply
#6
Not Solved
^ are you using latest available version of MyBB (version 1.8.12) ?
Reply
#7
Not Solved
I am yes
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)