Page 1 of 15

Profile friend list

Posted: Sat May 23, 2009 3:46 am
by Extensions Robot
Modification name: Profile friend list
Author: platinum_2007
Modification description: Ads a friend list to user profiles
Modification version: 1.3.0
Tested on phpBB version: 3.0.12

Download file: friends_list_1.3.0.zip
File size: 43.76 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extensions Team may not be able to provide support.

-->Modification support<--

Profile friend list

Posted: Sat May 23, 2009 3:46 am
by DavidIQ
Modification validated/released

Notes:
tumba25 wrote:

Code: Select all

while($row_av = $db->sql_fetchrow( $result )) {
Should follow the coding guidelines.
A_O_C wrote:A few XHTML w3c validation errors.
These are not critical but you should consider them on any future releases.

Profile friend list

Posted: Sat May 23, 2009 3:46 am
by platinum_2007
Thanks for the validation mod team :)

SUBSILVER2 INSTRUCTIONS

in style/subsilver2/template/memberlist_view.html

FIND

Code: Select all

	<!-- IF SIGNATURE -->
BEFORE-ADD

Code: Select all

 <tr>
             <td class="cat" colspan="2" align="center"><h4>{L_FRIEND_LIST}</h4></td>
         </tr>
          <tr>
             <td class="row1" colspan="2"><div class="postbody" style="padding: 10px;">
             	<!-- BEGIN fri -->
                    <a class="thumbnail" href="{fri.AV_LINK}" style="text-decoration:none">
                        <span>
                    <!-- IF fri.USER_COLOR --><b style="color:#{fri.USER_COLOR}"> <!-- ELSE --><b style="color:#000;"><!-- ENDIF -->{fri.USERNAME}</b><br /><!-- IF fri.FRI_AV -->{fri.FRI_AV}</span>{fri.FRI_AV_THUMB} <!-- ELSE --> <img src="images/no_avatar.gif" alt="noavatar" /></span><img src="images/no_avatar.gif" alt="noavatar"  width="{fri.WIDTH}" /><!-- ENDIF -->
                    </a>
                    <!-- END fri -->
                </div>
                <ul class="linklist">
   {TOTAL_FRIENDS} &bull; <!-- IF FRINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER_F}</a> &bull; <span>{FRINATION}</span><!-- ELSE -->{PAGE_NUMBER_F}<!-- ENDIF -->

                </td>
              </tr>
in styles/subsilver2/theme/stylesheet.caa

FIND

Code: Select all

.username-coloured {
	font-weight: bold;
}
AFTER-ADD

Code: Select all

/**
 * @package styles
 * @version $Id: memberlist_avatar.css 45 2007-09-10 04:49:51Z Highway of Life $
 * @copyright (c) 2007 David Lewis (Highway of Life) - http://startrekguide.com
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 ---------------------------------------- */
.thumbnail {
	z-index: 0;
	position:relative;
}

a.thumbnail:hover {
	background-color: transparent;
	z-index: 50;
}

.thumbnail span {
	position: absolute;
	background: #e0e5e9 url("./images/cellpic1.gif") repeat-x;
	padding: 4px;
	border: 1px solid #a9b8c2;
	left: 0px;
	display: none;
	color: #FFF;
	text-decoration: none;
}

.thumbnail span img {
	border-width: 0;
	padding: 2px;
}

a.thumbnail:hover span {
	position:absolute;
	display:block;
	top: 20px;
	left: 7px;
}

Re: Profile friend list

Posted: Sat May 23, 2009 4:10 am
by keith10456
Congrats on the validation :D

Re: Profile friend list

Posted: Sat May 23, 2009 5:26 am
by phreakwars
Ditto.

Nice mod
.
.

Re: Profile friend list

Posted: Sat May 23, 2009 8:57 am
by thesecret
finally validated
that's great :D

Re: Profile friend list

Posted: Sat May 23, 2009 10:32 am
by Ashley.S.
congratulations on the validation

Re: Profile friend list

Posted: Thu May 28, 2009 12:16 am
by TandyServices
Hi,

I've installed this mod, but there's nothing showing in the friendslists.. It's just empty. I have no errors or anything. The avatars are not the problem, I have an avatar and it's still not showing up. I purged the cache and everything. Any suggestions? Would like this to work :)

Re: Profile friend list

Posted: Thu May 28, 2009 12:33 am
by platinum_2007
TandyServices wrote:Hi,

I've installed this mod, but there's nothing showing in the friendslists.. It's just empty. I have no errors or anything. The avatars are not the problem, I have an avatar and it's still not showing up. I purged the cache and everything. Any suggestions? Would like this to work :)
Are you sure you have friends added? and did you do the template edits to a custom style other then prosilver if you are using one?

Re: Profile friend list

Posted: Thu May 28, 2009 5:16 am
by ijhtio
really nice mod....thanks a lot platinum_2007....
i will try it out on my board :)

Re: Profile friend list

Posted: Thu May 28, 2009 11:01 am
by Ashley.S.
platinum_2007 wrote:
TandyServices wrote:Hi,

I've installed this mod, but there's nothing showing in the friendslists.. It's just empty. I have no errors or anything. The avatars are not the problem, I have an avatar and it's still not showing up. I purged the cache and everything. Any suggestions? Would like this to work :)
Are you sure you have friends added? and did you do the template edits to a custom style other then prosilver if you are using one?
I have the same problem, I have 20+ friends, yet only 6 show because they have avatars. If my friends don't have an avatar and have the coded in universal no avatar mod, they don't show in the list. Yet as soon as I remove the universal no avatar mod code, they all show up fine :?

Re: Profile friend list

Posted: Thu May 28, 2009 12:47 pm
by vwrmic
Thanks for the mod. I had a few problems, mainly due to other mods being installed. I noticed part of this is based of Highway of Life's modification for memberlist avatars. If you install this mod, it will slightly break his mod. Here's how you fix it.

When you have both mods fully installed. Do the following:

In Styles/prosilver/theme/memberlist_avatar.css
Find:

Code: Select all

a.thumbnail:hover span {
	position:absolute;
	display:block;
	top: 20px;
	left: 7px;
}
Add After:

Code: Select all

.memberlist-avatar {
	width: 22px;
}
In Styles/prosilver/theme/stylesheet.css
Find:

Code: Select all

@import url("colours.css");
Now if you followed the installation of this mod correctly, you will notice you have two instances of this:

Code: Select all

@import url("memberlist_avatar.css");
Make sure you only have one instance of that in your file.

Save, upload, refresh your theme.

Job done. :)

Re: Profile friend list

Posted: Thu May 28, 2009 1:06 pm
by vwrmic
Just an issue I found.

When changing options in ACP for the mod. This shows as the logged action:

Code: Select all

{LOG CONFIG PROFILEFRIENDS}
Nothing major, just thought I would let you know. :)

Re: Profile friend list

Posted: Sat May 30, 2009 4:59 pm
by TandyServices
platinum_2007 wrote:
TandyServices wrote:Hi,

I've installed this mod, but there's nothing showing in the friendslists.. It's just empty. I have no errors or anything. The avatars are not the problem, I have an avatar and it's still not showing up. I purged the cache and everything. Any suggestions? Would like this to work :)
Are you sure you have friends added? and did you do the template edits to a custom style other then prosilver if you are using one?
Yes, I have friends added, I even threw em out and added them again. Then I also tried using a new avatar, didn't work either. We now have a custom style installed, in which we tried too, but when I posted this I was still using prosilver.

Re: Profile friend list

Posted: Sat May 30, 2009 7:09 pm
by platinum_2007
Are you using the Universal no Avatar mod?