Page Index Toggle Pages: [1] 2  Send TopicPrint
Hot Topic (More than 10 Replies) Avatars in Member List V1.1 for YaBB 2.4 (Read 16623 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Avatars in Member List V1.1 for YaBB 2.4
Jun 17th, 2009 at 8:42pm
Print Post  
Avatars in Member List V1.1

Description:
----------------
Self explanatory really. This Mod will add User Avatars to the Member List. You can resize avatars using the Smart Image Resize feature - This is controlled separately to normal avatars, so you can have smaller pics in the member list and bigger pics in posts.

Note:
-------
1) After intallation, you need to go to 'Admin Center - Forum Settings - Show / Hide Items' and check 'Show User Avatar in Member List?' to enable this feature.
2) Also make sure that you go to 'Admin Center - Forum Configuration - Advanced Settings - Images' and set the width and height, otherwise no avatars will show in your forum.

Credits:
----------
Thanks to Mick (www.info4alien.de) for the German and German_Du Language translations.

Screenshots:
-----------------
Member List:


Admin Center - Forum Configuration - Forum Settings - Show / Hide Items:


Admin Center - Forum Configuration - Advanced Settings - Images:


Zip Package:
-----------------
Avatars_in_Member_List_V1_1.mod
Avatars_in_Member_List_V1_1_German_Du_and_German.mod
Avatars_in_Member_List_V1_1_YaMMS_Compatible.mod

Installation:
----------------
1) Before installing, copy 'YaBB.js' from your public_html/yabbfiles directory into your cgi-bin/yabb2/ directory - Be sure to upload it back to your public_html/yabbfiles directory after.
2) Modify YaBB files using BoardMod or manually.
3) Upload modified files to your server in ASCII mode.

Files to edit:
----------------
Admin/ModList.pl
Admin/NewSettings.pl
Admin/Settings_Advanced.pl
Admin/Settings_Main.pl
Languages/English/Admin.lng
Languages/English/MemberList.lng
Sources/MemberList.pl
Sources/Subs.pl
YaBB.js

Mod History:
----------------
1.0 - First Release - 17th June 2009
1.1 - Tidied up code and fixed empty table cell showing if disabled - 12th November 2009
« Last Edit: Nov 12th, 2009 at 11:41pm by Derek Barnstorm »  

Back to top
 
IP Logged
 
LWS
Senior Member
****
Offline


seek and ye shall find...i
must be BLIND!!

Posts: 285
Location: Southern Ohio
Joined: Feb 25th, 2007
Re: Avatars in Member List V1.0 for YaBB 2.4
Reply #1 - Jun 17th, 2009 at 9:46pm
Print Post  
Looks great Derek!! Nice mod
  

LoneWebSurfer.com Nothing but YaBB templates
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Avatars in Member List V1.0 for YaBB 2.4
Reply #2 - Jun 17th, 2009 at 10:08pm
Print Post  
Thank you, driven. Smiley
  
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Avatars in Member List V1.0 for YaBB 2.4
Reply #3 - Jun 18th, 2009 at 3:08am
Print Post  
Sounds interesting! I will try it in th next couple of days, if possible. Any idea whether or not it conflicts with Carsten's YaML/Map mod? (I'd find out when I go to install, anyway, but just wondering.)
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Avatars in Member List V1.0 for YaBB 2.4
Reply #4 - Jun 18th, 2009 at 3:28am
Print Post  
batchman wrote on Jun 18th, 2009 at 3:08am:
Any idea whether or not it conflicts with Carsten's YaML/Map mod?

I thought this might come up. I've not actually tried it yet, but I'm pretty sure they won't install together at the minute... I think I'll have to make a compatible Mod file (if possible)... I'll check it out and get back to you...
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Avatars in Member List V1.0 for YaBB 2.4
Reply #5 - Jun 18th, 2009 at 2:37pm
Print Post  
Okay, I've added a YaMMS compatible Mod to the package. You need to install YaMMS first and then the Avatars_in_Member_List_V1_0_YaMMS_Compatible.mod after.

All seems to be working fine, but report back if you find any problems...

  
Back to top
 
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Avatars in Member List V1.0 for YaBB 2.4
Reply #6 - Jun 18th, 2009 at 3:03pm
Print Post  
Coolness ... will try it out today and let you know how it goes.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Avatars in Member List V1.0 for YaBB 2.4
Reply #7 - Jun 18th, 2009 at 3:45pm
Print Post  
YaML version installs fine, and works properly, AFAIK from light testing.

Coolness.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Avatars in Member List V1.0 for YaBB 2.4
Reply #8 - Jun 18th, 2009 at 3:56pm
Print Post  
Okay, thanks for checking it out.
  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Avatars in Member List V1.0 for YaBB 2.4
Reply #9 - Jun 18th, 2009 at 4:49pm
Print Post  
Hi,

thx! Nice Mod.

I installed it in a Board with YaMMS and don't see
any Problem.

A Mod-File for German and German_Du attached. You
can include it to your Zip, if you want, Derek.


Edited:
Zip deleted (is now included in the Zip-File in 1st Post
  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Avatars in Member List V1.0 for YaBB 2.4
Reply #10 - Jun 18th, 2009 at 5:19pm
Print Post  
Thanks for the feedback and translations, Mick. I've added them to the package and credited you in the first post.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Avatars in Member List V1.0 for YaBB 2.4
Reply #11 - Jun 23rd, 2009 at 1:46am
Print Post  
I've made a couple of small changes to the code in this. It's no big deal and doesn't really affect anything, but if you do uninstall and reinstall, the only changes are in MemberList.pl

If you are using the Gravatar Support Mod, then you need to make the changes.

I've updated the Zip package in the first post.
« Last Edit: Nov 12th, 2009 at 11:05pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Avatars in Member List V1.1 for YaBB 2.4
Reply #12 - Nov 12th, 2009 at 11:08pm
Print Post  
I've tidied this up a bit and fixed an error with an empty table cell displaying if the Mod was disabled (Doh!).

New Zip attached to first post.

I'll call this one done soon.
  
Back to top
 
IP Logged
 
Greydane
New Member
*
Offline


I Love YaBB 2!

Posts: 18
Joined: Feb 22nd, 2012
Re: Avatars in Member List V1.1 for YaBB 2.4
Reply #13 - Sep 15th, 2013 at 5:16am
Print Post  
Hi Derek:  Is there a way to adjust the columns when the Avatar in Member list is enabled?  If you look at the graphic the avatar column is quite wide and the last column is squashed together.  This is a nice mod and I would like to get the columns straighten out.

Thanks Bruce
  

AvatarMemberLst_Enabled.PNG ( 185 KB | Downloads )
AvatarMemberLst_Enabled.PNG
AvatarList_diable.PNG ( 167 KB | Downloads )
AvatarList_diable.PNG
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Avatars in Member List V1.1 for YaBB 2.4
Reply #14 - Sep 16th, 2013 at 12:27pm
Print Post  
Hi Bruce,

I'm not sure where it is getting the width from - it shouldn't be doing that as far as I can tell. Try setting a width on the 'Avatar' table cell to the same size as the max avatar width.

In Memberlist.pl find:

Code
Select All
		$row_userpic = qq~<td class="catbg" align="center"><b>$ml_txt{'34'}</b></td>~ 


And change to:

Code
Select All
		$row_userpic = qq~<td class="catbg" align="center" style="width: ${max_avatarml_width}px;"><b>$ml_txt{'34'}</b></td>~; 

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint