Want to alter friends list in UCP

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Scam Warning
Locked
jbarrouk
Registered User
Posts: 218
Joined: Mon May 15, 2006 3:10 am
Contact:

Want to alter friends list in UCP

Post by jbarrouk »

Hello all,

I was wondering what file(s) I need to change in order to alter the way the friends' list appears in the UCP. I would like to wrap it in a scrollablediv in the case someone's list of friends get's very long.

Any help would be appreciated.

all the best,
Joe

wadie
Registered User
Posts: 558
Joined: Sun May 02, 2010 5:05 am
Location: Your ACP
Name: Wadie

Re: Want to alter friends list in UCP

Post by wadie »

Well,basically the files you are going to alter are styles/your_style/template/UCP_[anything].html
Need a custom style made ? want me to install a MOD for you ? Contact me here.

User avatar
pit-PL
Registered User
Posts: 3090
Joined: Sat Nov 21, 2009 12:24 pm

Re: Want to alter friends list in UCP

Post by pit-PL »

ucp_header.html

jbarrouk
Registered User
Posts: 218
Joined: Mon May 15, 2006 3:10 am
Contact:

Re: Want to alter friends list in UCP

Post by jbarrouk »

Thank you both for your help. I was able to find what I needed to fix it.

all the best,
Joe

decypul777
Registered User
Posts: 19
Joined: Wed Jan 05, 2011 6:50 pm

Re: Want to alter friends list in UCP

Post by decypul777 »

I was able to fix that long friend list in the UCP this way. Hope it helps someone else:

Open styles/prosilver/theme/stylesheet.css

Add:

Code: Select all

    div.scroll-box {
       width:175px;
       height:400px;
       overflow:scroll;
    }
***Adjust width and height as needed for your board***

Open styles/prosilver/template/ucp_header.html

Find:

Code: Select all

		<!-- IF .friends_online or .friends_offline -->
		<div class="cp-mini">
Replace with:

Code: Select all

		<!-- IF .friends_online or .friends_offline -->
		<div class="scroll-box"><div class="cp-mini">
Find:

Code: Select all

</div>
Replace with:

Code: Select all

</div></div>

KarGoManiA
Registered User
Posts: 39
Joined: Thu Nov 06, 2008 9:30 pm

Re: Want to alter friends list in UCP

Post by KarGoManiA »

hmmmmmmmmmm...

Locked

Return to “[3.0.x] Styles Support & Discussion”