ADMIN 322 Posted May 1, 2017 Member ID: 1 Group: 👑 OWNER ✨ Topic Count: 476 Topics Per Day: 0.08 Content Count: 214,639 Content Per Day: 36.45 Reputation: 322 Days Won: 58 Joined: 03/29/2010 Status: Offline Last Seen: Monday at 03:54 PM Timezone: Asia/Karachi Device: Windows Posted May 1, 2017 Change Avatar Style Preview Modifie in CSS: Select the skin you want to modify, then go to Core >> front >> custom> custom.css and add this code: .cAuthorPane_photo img{ max-width: 170px; } Modifie in Template Go to Forums >> front >> topic >> postconainer and search for: <li class='cAuthorPane_photo'> {template="userPhoto" app="core" group="global" params="$comment->author(), 'large', $comment->warningRef()"} </li> Change: <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="$seoName"}' 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="$seoName"}' title="{lang="view_user_profile" sprintf="$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="$seoName"}' 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="$seoName"}' title="{lang="view_user_profile" sprintf="$name"}"> <span class='ipsUserPhoto ipsUserPhoto_variable'> <img src="<Path_to>/default_photo.png" /> </span> </a> {{endif}} </li> Once done, save everything, and now go to the Groups. Click edit and go to the Social tab, search for: Maximum profile photo width/height Place 300 and go, save it and you're done. New size of the Avatars of your Forum will be 170x300, to change: Here changes the Length Maximum profile photo width/height And here the Width .cAuthorPane_photo img{ max-width: 170px; } 1 Quote 📚 Discover More Useful Sections on FundayForum 🏠 Portal Homepage 🔥 Latest Activity Wall 🔍 Search Topics & Posts 📜 All Shayari (Urdu / Roman Urdu / English) 🖋️ Famous Urdu Poets Collection 📚 Urdu Adab Literature Section 🍲 Cooking Recipes & Pakwan Zaiqa 👗 Female Fashion Discussions 🏡 Interior Decoration Ideas 😂 Jokes & Riddles Section 👨 Male Gossip Lounge ⚙️ IPS Community Help & Tutorials 🏛️ Historical Articles Blog 📸 Public Gallery Images 🖼️ Poetry Gallery Collection 👋 Welcome & Introductions Thread 📩 Contact Support
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.