2016-08-20, 09:38 AM
2016-08-21, 06:07 PM
Edit the memberlist_user template and in the Steam column add the following code
Admin > Configuration > Custom Profike Fields > select the Steam field. You'll see the number at the end of your URL bar.
{$user['fid#']}
Replace # with the number of the Custom Profile Field. If you don't know the number go toAdmin > Configuration > Custom Profike Fields > select the Steam field. You'll see the number at the end of your URL bar.
2016-12-27, 05:06 PM
(2016-08-20, 09:38 AM)Kwala Wrote: [ -> ]I want to know how to add my custom fields to my staff page.
Steam ID is my custom field.
I can help you with this if you like.
You've already copied 99% of our codebase, might as well copy this too.
See:
https://www.invexgaming.com.au/showteam.php
2016-12-27, 11:07 PM
(2016-08-21, 06:07 PM)Sharree Wrote: [ -> ]Edit the memberlist_user template and in the Steam column add the following code
Replace # with the number of the Custom Profile Field. If you don't know the number go to{$user['fid#']}
Admin > Configuration > Custom Profike Fields > select the Steam field. You'll see the number at the end of your URL bar.
He was referring to showteam though.
I use the standard mybb theme.
In showteam_usergroup i added:
<td class="tcat"><span class="smalltext"><strong>Steam</strong></span></td> and changed colspan to 5
and in showteam_usergroup_user i added:
<td width="15%" class="{$bgcolor}">{$user['fid4']}</td>
But the steam custom profile fields don't appear, whats wrong? (field id is correct)