Jump to content
πŸ‘‰ Click here to explore Remote Jobs, Work From Home & Global News – USA πŸ‡ΊπŸ‡Έ | UK πŸ‡¬πŸ‡§ | Canada πŸ‡¨πŸ‡¦ | Pakistan πŸ‡΅πŸ‡° Γ—
🚫 Guest Access Notice Γ—

Recommended Posts

Posted

Step:1

Go to ACP > Customization > Themes and Select the skin you wish to edit

Β 

Step: 2

FindΒ postContainer in the templates

Β 

Step: 3

Look for

<li class='cAuthorPane_photo'>
				{template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"}
			</li>

Β 

Step: 4

Replace it with

<li class='cAuthorPane_photo'>
                {{if $comment->author()->pp_main_photo}}<a href='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}" seoTemplate="profile" seoTitle="$comment->author()->name"}' data-ipsHover data-ipsHover-target='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}&do=hovercard" seoTemplate="profile" seoTitle="$comment->author()->name"}' title="{lang="view_user_profile" sprintf="$comment->author()->name"}"><span class='ipsUserPhoto ipsUserPhoto_variable'><img src="{setting="base_url"}uploads/{$comment->author()->pp_main_photo}" /></span></a>{{else}}<a href='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}" seoTemplate="profile" seoTitle="$comment->author()->name"}' data-ipsHover data-ipsHover-target='{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}-{$comment->author()->name}&do=hovercard" seoTemplate="profile" seoTitle="$comment->author()->name"}' title="{lang="view_user_profile" sprintf="$comment->author()->name"}"><span class='ipsUserPhoto ipsUserPhoto_variable'><img src="{resource="default_photo.png" app="core" location="global"}" /></a>{{endif}}
			</li>

#Note: you need to manually add the image url for "Default Image Url" in the code above as i believe each default images are different named differently; to find this you can go into uploads/set_resources_1 on your ftp serverΒ and look for the image, or you can right click inspect element and find it copy the image link and replace Default Image Url in the img src i have above, this will enable Default Avatar as it was broken before i updated the code aboveΒ when a custom one isnt uploaded it will use the default

Step: 5

Find misc.css

Β 

Step: 6

Add this line of code below

.ipsUserPhoto_variable img, img.ipsUserPhoto_variable, .ipsUserPhoto_variable:after {
		width: 150px;
		{{if theme.rounded_photos}}
			border-radius: 0px;
		{{endif}}
	}

After this one

.ipsUserPhoto_xlarge img, img.ipsUserPhoto_xlarge, .ipsUserPhoto_xlarge:after {
		width: 120px;
		height: 120px;
		{{if theme.rounded_photos}}
			border-radius: 60px;
		{{endif}}
	}

Β 

after you have completed all the steps above the results should be like this below

Spoiler

lRkpige.pngΒ HrsuZra.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Forum Statistics

    2.7k
    Total Topics
    10.2k
    Total Posts


Γ—
Γ—
  • Create New...

Important Information

FundayForum uses essential cookies to run the community. Optional cookies support analytics and advertising. Choose Accept or Reject below. Read our Privacy Policy, Terms of Use and Guidelines. Essential cookies keep this community running. Choose Accept or Reject for optional cookies. Read our cookie policy and manage your cookie preferences.