How to create a new table below 'warning'
#1
Been playing with member.php for a while. Can't find a way to have another row below 'Warning Level:' at member.php. Can anyone point me to the right direction? Also, I made a new column in mybb_user database. How do I output the new column below the 'Warning Level:' table? Let say.. the new column name is 'newColumn'.
Bitcoin Donation Address: 1JTKeHGEjFtJ3X2M8TCt1WvT1e2cDkgUHf
Reply
#2
it would be better to use in-built custom profile fields
custom profile fields can be added easily to member profile by using {$userfields['fidX']} (where X is the Custom Profile Field ID)
Reply
#3
Try {$memprofile['newColumn']}.
Reply
#4
@.m. , I dont want member to be able to edit the field. Is it possible? I can't seem to find the right setting for it.

@dragonexpert, could you explain how to use it?
Bitcoin Donation Address: 1JTKeHGEjFtJ3X2M8TCt1WvT1e2cDkgUHf
Reply
#5
Locate your member_profile template. Then go like this:
<tr>
<td>Whatever Label you want.</td>
<td>{$memprofile['newColumn']}</td>
</tr>
Reply
#6
(01-29-2015, 01:38 PM)dragonexpert Wrote: Locate your member_profile template. Then go like this:
<tr>
<td>Whatever Label you want.</td>
<td>{$memprofile['newColumn']}</td>
</tr>

Worked! Thanks! I cant believe it is so easy! I'm right that I choose MyBB!
Bitcoin Donation Address: 1JTKeHGEjFtJ3X2M8TCt1WvT1e2cDkgUHf
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)