Jump to content

Want to know how to add more to userinfo.


mr-pimpen

Recommended Posts

I just want to know how to add more to the userinfo. Like for example on webflake its Reputation and on the right side of reputation its the rep. Software 3.2 on the side in example. I want to know how to do that does anyone have the code or anything. Just need help with that.

  • Like 1

when I load your site, I was like a vampire, slept for thousands of years and just now is my first glimpse of light haha.

Link to comment
Share on other sites

Your posting in the wrong area for help, you need to post in the IPS Support area, not the Requests area. Here is the direct link to the Support area. https://webflake.sx/forum/168-ips-support/ 

  • Like 1

Head Guru - Personal Blog: https://www.zacdrayson.com |Business Website: https://www.hydrawebservices.com
 

Link to comment
Share on other sites

9 hours ago, mr-pimpen said:

anyone help with this please

That is a simple one.

Go to ACP->members-> Profiles.

 

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

And make sure to set this in the display format:

<strong>{title}:</strong> {content} 

 

Screenshot_1.thumb.png.ccae0c5be69d675845dd7f6796c09180.png\

 

Result:

Screenshot_2.png.d76f3ea41383105614ab217e803e2c0b.png

Edited by S!r.ReaDy
Link to comment
Share on other sites

On 2/15/2019 at 9:54 AM, S!r.ReaDy said:

That is a simple one.

Go to ACP->members-> Profiles.

 

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

And make sure to set this in the display format:


<strong>{title}:</strong> {content} 

 

Screenshot_1.thumb.png.ccae0c5be69d675845dd7f6796c09180.png\

 

Result:

Screenshot_2.png.d76f3ea41383105614ab217e803e2c0b.png

I see thank you, But the way i am asking is like Reputation: 300 example Post: 300 example thats how im asking and i cant steady the social icons to show under the userinfo like webflake has it.

when I load your site, I was like a vampire, slept for thousands of years and just now is my first glimpse of light haha.

Link to comment
Share on other sites

You can use the enhanced user plugin. or just add custom code to postcontainer.

 

find

{{if $comment->author()->member_id}}
				<li>{template="reputationBadge" group="global" app="core" params="$comment->author()"}</li>
				<li class='ipsType_light'>{lang="member_post_count" pluralize="$comment->author()->member_posts"}</li>
				{{if $comment->author()->reputationImage()}}
					<li class='ipsPad_half'>
						<img src='{file="$comment->author()->reputationImage()" extension="core_Theme"}' title='{{if $comment->author()->reputation()}}{$comment->author()->reputation()}{{endif}}' alt=''>
					</li>
				{{endif}}
				{template="customFieldsDisplay" group="global" app="core" params="$comment->author()"}
			{{endif}}

 

 

Replace the code to make it look like here

 

{{if $comment->author()->member_id}}
          <li class='ips_left'>Reputation :</li> 
				<li class='ips_right'>{template="reputationBadge" group="global" app="core" params="$comment->author()"}</li>
          <br/>
				<li class='ips_left'>Posts count :</li> 
          <li class="ips_right"> {lang="member_post_count" pluralize="$comment->author()->member_posts"}</li>
				{{if $comment->author()->reputationImage()}}
					<li class='ipsPad_half'>
						<img src='{file="$comment->author()->reputationImage()" extension="core_Theme"}' title='{{if $comment->author()->reputation()}}{$comment->author()->reputation()}{{endif}}' alt=''>
					</li>
				{{endif}}
				{template="customFieldsDisplay" group="global" app="core" params="$comment->author()"}
			{{endif}}

and add in custom css


.ips_right{
  float: right;}

.ips_left{
  float: left;}

Regarding the custom fields, you can use the code to display same as the rep and post count. and remove the tempalte

Screenshot_3.png

Edited by S!r.ReaDy
Link to comment
Share on other sites

On 2/15/2019 at 2:04 AM, IamKangy said:

Your posting in the wrong area for help, you need to post in the IPS Support area, not the Requests area. Here is the direct link to the Support area. https://webflake.sx/forum/168-ips-support/ 

yea i know i did not see that

  • Like 1

when I load your site, I was like a vampire, slept for thousands of years and just now is my first glimpse of light haha.

Link to comment
Share on other sites

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