Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Contact Details
#1
Not Solved
Hi.

I want to customize the contact details of the profiles on my site.

I want all the fields that are empty to be removed from the profile.

For example, if the user doesn't have ICQ set, it wouldn't be shown on his page.

Also, how can I add additional details, such as steam, skype and so on?

Thank you.
#2
Not Solved
see Hide empty profile fields in profiles

AND you can use use {$userfields['fidX']} where X is field id number (eg. {$userfields['fid4']})

see also this related tutorial
#3
Not Solved
Thanks for your help. I was wondering how can I add new fields as well if it possible?

Thank you.
#4
Not Solved
new fields are added from admin panel --> configuration --> Custom Profile Fields --> Add New Profile Field

see also [Wiki: Admin_CP_Config_Profile_Fields] (Broken link, head over to docs.mybb.com instead)
#5
Not Solved
(2012-01-22, 10:38 AM)ranjani Wrote: new fields are added from admin panel --> configuration --> Custom Profile Fields --> Add New Profile Field

see also [Wiki: Admin_CP_Config_Profile_Fields] (Broken link, head over to docs.mybb.com instead)

Nope, that's not what I want. I want to add a field below ICQ, Yahoo, MSN details. Like Skype for example. Get it?

If you don't I could make a screenshot. Smile
#6
Not Solved
^ as you add new custom field, it automatically comes on user's profile & user's control panel ...
#7
Not Solved
>.>
[Image: oFHDc.png]
#8
Not Solved
^ okay ! you can hide it on profile fields AND show it at your required place by adding the required field in member_profile template ..

find code similar to below :
<tr>
<td class="{$bgcolors['msn']}"><strong>{$lang->msn}</strong></td>
<td class="{$bgcolors['msn']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>

add code similar to below after above code with required style in global.css
<tr>
<td class="skypebg"><strong>Skype ID</strong></td>
<td class="skypebg"><strong>{$userfields['fidX']}</strong></td>
</tr>
#9
Not Solved
Hmm, doesn't look really good. Undecided
#10
Not Solved
well ! what is your forum URL ? can guests see user profiles ? have you used css style for the added field ...


Forum Jump:


Users browsing this thread: 1 Guest(s)