1
twitaman
Membership 0.2 Question
  • 2004/11/30 18:34

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


I was interested in having a membership directory that would list all the members with some of their membership information and their avatar on one page (or more when we get more members). I want it to be sort of like a yearbook I suppose.

It sounds like the Membership 0.2 module will do this. I was wondering though if there were any examples of it in action that I could see. Has anyone used this mod?

2
dheltzel
Re: Membership 0.2 Question
  • 2004/11/30 19:42

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


I think there is more than one module called membership. I am the author of the one that is hosted on dev forge. It's at version 0.3 and you can get it here.

It doesn't display avatars, mostly because it never occurred to me. If you like it otherwise, let me know and I'll try to add that as an optional feature.

Dennis

3
twitaman
Re: Membership 0.2 Question
  • 2004/11/30 20:20

  • twitaman

  • Friend of XOOPS

  • Posts: 270

  • Since: 2004/7/28


Dennis,

The mod is great btw, and very handy. I know I would like the ability to have the avatars displayed on the page perhaps in their own column or right about the login name. My members use their personal photos as their avatars so it would be good to see them displayed on the membership page.

Good work.

Thanks.

4
dheltzel
Re: Membership 0.2 Question
  • 2004/12/6 17:41

  • dheltzel

  • Not too shy to talk

  • Posts: 164

  • Since: 2003/1/8 1


I added showing avatars as a feature request and marked it for the next release. I don't have an ETA for that since this is a spare time project and I haven't worked with avatar images in Xoops.

Dennis

5
technigrafa
Re: Membership 0.2 Question

Was there ever any progress on this? I'd like to display user's avatars in the list as well.

I hacked it in the meantime to list avatars this way:

in memb_listings.php, add:

,u.user_avatar


AFTER m.notes, on both line 138 and 118.

In templates/memb_listings.html, add a column in the table where you want the images to appear and in the top cell put:

<b>Avatar</b>


and in the bottom cell put:

<IMG SRC="/uploads/<{$user_array[i].user_avatar|escape}>" alt="<a class=link href=memb_user.php?uid=<{$user_array[i].uid}>" width="80" height="80" border="1">

Login

Who's Online

244 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 244


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits