Page 4 of 4
Re: [2.0.20] Avatars in Memberlist
Posted: Sat Jun 23, 2007 8:38 pm
by Makc666
TPIMaster wrote:Well, colspan was set to {S_COLSPAN}. Where do I find that?
lefty74 wrote:I dont have that in my memberlist_body.tpl so I guess you have some kind of mod installed... try memberlist.php
lefty74 is right. You have {S_COLSPAN} there because of other mod installed. You have to look throw installation instructions of mods you have installed for {S_COLSPAN} there.
I even found this mod for you...
It is:
[BETA] Democracy MOD 0.2.1 (reputation + warnings + reports)
http://www.phpbb.com/community/viewtopic.php?t=289721
Code: Select all
## MOD Title: Democracy MOD
## MOD Author: Carbofos < [email protected] > (N/A) N/A
## MOD Author: ETZel < [email protected] > (N/A) N/A
## MOD Description: Adds some social mechanisms to the phpBB (namely: warnings + reputation + reports)
## MOD Version: 0.2.1e
And it has installation code:
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/memberlist_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<th class="thTop" nowrap="nowrap">{L_POSTS}</th>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN democracy -->
<th class="thTop" nowrap="nowrap">{democracy.L_TITLE}</th>
<!-- END democracy -->
#
#-----[ FIND ]------------------------------------------
#
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN democracy -->
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.democracy.VALUE}</span></td>
<!-- END democracy -->
#
#-----[ FIND ]------------------------------------------
#
<td class="catBottom" colspan="8" height="28"> </td>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
colspan="8"
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
colspan="{S_COLSPAN}"
So you have to do so:
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
memberlist.php
#
#-----[ FIND ]------------------------------------------
#
$template->assign_var('S_COLSPAN', 8 + count($democracy_cols));
#
#-----[ REPLACE WITH ]------------------------------------------
#
$template->assign_var('S_COLSPAN', 9 + count($democracy_cols));
Re: [2.0.20] Avatars in Memberlist
Posted: Sat Jun 23, 2007 9:53 pm
by TPIMaster
Ah, fantastic! Such a helpful community it is here! Worked like a charm, thanks!
Re: [2.0.20] Avatars in Memberlist
Posted: Tue Aug 21, 2007 4:56 am
by rantbot
What is the function of this line -
<td class="catBottom" colspan="{%:1}" height="28"> </td>
I have 2.0.22 installed. My subSilver template has that line like so -
<td class="catBottom" colspan="8" height="28"> </td>
I think that's the way it was with a new install. I don't use subSilver and am quite certain that I never modified
memberlist_body.tpl.
The Aqua template, my forum's default, doesn't seem to have anything like that line at all.
I installed the mod without that line in Aqua, and it seems to work. What am I missing?
The link
http://www.phpbb.com/kb/article.php?article_id=39 is dead.
Re: [2.0.20] Avatars in Memberlist
Posted: Sat Sep 08, 2007 8:12 am
by Captain Tycoon
Hello,
This mod isn't working for my forum. I have installed the Default Avatars Mod and Living Avatars Mod. It isn't displaying any of the Avatars.
(Just to let you know, i have disabled members from uploading avatars and forced them to only use the Living Avatars MOD)
There should be avatars showing from both Living Avatars MOD and Default Avatars MOD.
PS: The Living Avatars should already be showing as they show up perfectly without any changes in the Avatars in Whos Online MOD and Avatars in PM Inbox/Sent Box/Outbox/Savebox MOD.
Re: [2.0.20] Avatars in Memberlist
Posted: Mon Sep 24, 2007 7:38 am
by wintersmith
Makc666 wrote:TPIMaster wrote:Well, colspan was set to {S_COLSPAN}. Where do I find that?
lefty74 wrote:I dont have that in my memberlist_body.tpl so I guess you have some kind of mod installed... try memberlist.php
lefty74 is right. You have {S_COLSPAN} there because of other mod installed. You have to look throw installation instructions of mods you have installed for {S_COLSPAN} there.
I even found this mod for you...
It is:
[BETA] Democracy MOD 0.2.1 (reputation + warnings + reports)
http://www.phpbb.com/community/viewtopic.php?t=289721
Code: Select all
## MOD Title: Democracy MOD
## MOD Author: Carbofos < [email protected] > (N/A) N/A
## MOD Author: ETZel < [email protected] > (N/A) N/A
## MOD Description: Adds some social mechanisms to the phpBB (namely: warnings + reputation + reports)
## MOD Version: 0.2.1e
And it has installation code:
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/memberlist_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<th class="thTop" nowrap="nowrap">{L_POSTS}</th>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN democracy -->
<th class="thTop" nowrap="nowrap">{democracy.L_TITLE}</th>
<!-- END democracy -->
#
#-----[ FIND ]------------------------------------------
#
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN democracy -->
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.democracy.VALUE}</span></td>
<!-- END democracy -->
#
#-----[ FIND ]------------------------------------------
#
<td class="catBottom" colspan="8" height="28"> </td>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
colspan="8"
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
colspan="{S_COLSPAN}"
So you have to do so:
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
memberlist.php
#
#-----[ FIND ]------------------------------------------
#
$template->assign_var('S_COLSPAN', 8 + count($democracy_cols));
#
#-----[ REPLACE WITH ]------------------------------------------
#
$template->assign_var('S_COLSPAN', 9 + count($democracy_cols));
Just want to say that I came across this post after experiencing problems with installing the Birthday mod. The fix was right on the money for me as well; it was the Democracy mod that was causing the conflict, but now, both are installed and working fine (*touch wood).
Re: [2.0.20] Avatars in Memberlist
Posted: Sun Oct 21, 2007 8:01 am
by Captain Tycoon
Does anyone have a fix for this to work with Living Avatars and Default avatars?
Edit: I am willing to pay for someone to fix this to work with Living Avatars and Default Avatars. Msg Me if interested.
Re: [2.0.20] Avatars in Memberlist
Posted: Sat Mar 08, 2008 10:28 pm
by kigoobe
Hi guys
Looks like a wonderful little mod. I'm wondering if it would be possible to modify the mod in a way that have a different display of users (with avatars), I mean, instead of having one in a row, could we have 5 / 6 in a row, with username and other details coming below the avatar.
It seems for that we will have to change the following part of memberlist.php
Code: Select all
$template->assign_block_vars('memberrow', array(
'ROW_NUMBER' => $i + ( $start + 1 ),
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'USERNAME' => $username,
'FROM' => $from,
'JOINED' => $joined,
'POSTS' => $posts,
'AVATAR_IMG' => $poster_avatar,
'PROFILE_IMG' => $profile_img,
'PROFILE' => $profile,
'SEARCH_IMG' => $search_img,
'SEARCH' => $search,
'PM_IMG' => $pm_img,
'PM' => $pm,
'EMAIL_IMG' => $email_img,
'EMAIL' => $email,
'WWW_IMG' => $www_img,
'WWW' => $www,
'ICQ_STATUS_IMG' => $icq_status_img,
'ICQ_IMG' => $icq_img,
'ICQ' => $icq,
'AIM_IMG' => $aim_img,
'AIM' => $aim,
'MSN_IMG' => $msn_img,
'MSN' => $msn,
'YIM_IMG' => $yim_img,
'YIM' => $yim,
'U_VIEWPROFILE' => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$user_id"))
);
But ... how !!!
Thanks for any help guys.
Re: [2.0.20] Avatars in Memberlist
Posted: Sun Jul 06, 2008 9:17 am
by assault14
Is there a way to make this mod work for the Glacier theme in phpBB version 3.0.1?
Re: [2.0.20] Avatars in Memberlist
Posted: Tue Aug 19, 2008 6:30 pm
by rapid2008
Can some one help me how to install this do i have to use FTP or how?
i ahve download it Avatar on Memberlist and opended the file i can seee install XML document and i have opend that it tell :::
[Open: memberlist.php
Comments
Add Template Vars
Find
Tip: This may be a partial find and not the whole line.
Code:Select All
return array(
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.
Code:Select All
'USER_AVATAR' => get_user_avatar($data['user_avatar'], $data['user_avatar_type'], $data['user_avatar_width'], $data['user_avatar_height']),
'USER_AVATAR_THUMB' => ($data['user_avatar']) ? get_user_avatar($data['user_avatar'], $data['user_avatar_type'], ($data['user_avatar_width'] > $data['user_avatar_height']) ? 25 : (25 / $data['user_avatar_height']) * $data['user_avatar_width'], ($data['user_avatar_height'] > $data['user_avatar_width']) ? 25 : (25 / $data['user_avatar_width']) * $data['user_avatar_height']) : '',]
Code:Select All
return array( i cant find this in memberlist.php in ACP
thanks in advance
Re: [2.0.20] Avatars in Memberlist
Posted: Fri Aug 22, 2008 8:14 am
by rapid2008
how and where can i find that memberlist.php to edit please help me?
Re: [2.0.20] Avatars in Memberlist
Posted: Sun Dec 14, 2008 2:01 pm
by Kingdombuilder
rapid2008 wrote:how and where can i find that memberlist.php to edit please help me?
It should be in your phpBB root directory...
/www/domain name/phpbb directory/memberlist.php