Jump to content

How to add new custom field in the user profile


Eternal_hacker

Recommended Posts

Hi im using EvoPlayze 1.0 theme, and i want to add few more custom fields like skype, gender and city. I will attach image how it look now. Im just wondering how to add this 3 custom files and to fit with the theme.
here is the html code. Also i wold like to know what other kind of information can be added there.
 

<div class="another-profilefield">
        <div id="" style="float:left; display:inline-block;    color: #b4b7c4;"> Days Won</div>
        <div id="" style="float:right; display:inline-block;color:#777984 !important; ">{$comment->author()->getReputationDaysWonCount()}</div>
      </div>
          <div class="another-profilefield">
        <div id="" style="float:left; display:inline-block;    color: #b4b7c4;"> Member Id</div>
        <div id="" style="float:right; display:inline-block;color:#777984 !important; ">{$comment->author()->member_id}</div>
      </div>
        <div class="another-profilefield">
        <div id="" style="float:left; display:inline-block;    color: #b4b7c4;"> Joined</div>
        <div id="" style="float:right; display:inline-block;color:#777984 !important; ">{$comment->author()->joined}</div>
      </div>

 

profile_now.png

Edited by Eternal_hacker
Link to comment
Share on other sites

As your topic appears to be a support topic for IPS, we have moved it to the appropriate forum.

I don't get it you want to make it like the picture below your code @Eternal_hacker?

VAEfvMI.png

Liked what i posted remember to feed me a cookie ->
Or you can add a cookie to myCookieJar

Link to comment
Share on other sites

  • 1 month later...

That code belongs to the PostContainer template in your theme

 

Those you can add in profile fields, and follow this tutorial I made.

https://webflake.sx/topic/28609-want-to-know-how-to-add-more-to-userinfo/?do=findComment&comment=117101

In profile fields add:

 

Go to ACP->members-> Profiles.

 

Edit the profile field you want to show in the topic.

And make sure to set this in the Custom topic formatting :

 

<strong><li class='ips_left'>{$title}:</strong> <li class='ips_right'> {$content} 
Edited by S!r.ReaDy
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...