Skip to Content Skip to Menu

Avatar Matrix Gallery Module 0.1 released

  • Raj
  • Raj
  • OFFLINE
  • Posts: 191
  • Thanks: 0
  • Karma: 30
18 years 4 months ago #13827 by Raj
THIS THREAD IS NOW RETIRED. BETA VERSION .4 IS IS AVAILABLE FOR DOWNLOAD AND DISCUSSION CONTINUES HERE:

www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/id,19258/catid,13/

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Click here www.visionsimulations.com/Raj%20Avatar%20Matrix%20Module.zip to download a module which creates a matrix of avatars with the username underneath.

Through the backend, you can ...

1. control how many pictures appear across and down.
2. control the horizontal and vertical size of the thumbnails in pixels.
3. choose 1 of 3 preset SQL queries or add your own. you can have 8 total.
4. choose a title for each matrix.
5. control the appearance of the table through css classes.

I'm a novice, so feedback welcome. I'm trying to turn it into a component, but I've never programmed PHP before, so it's slow going.

Raj

UPDATE
PLEASE SEE THE DEMONSTRATION LINK POSTED BY ME BELOW, AND TO GET CSS STYLING FOR THE AVATAR TABLE



Post edited by: Raj, at: 2006/05/29 03:23

Post edited by: Raj, at: 2006/08/21 12:21
Attachments:

Please Log in or Create an account to join the conversation.

  • Raj
  • Raj
  • OFFLINE
  • Posts: 191
  • Thanks: 0
  • Karma: 30
18 years 4 months ago #14065 by Raj
Tip: How to get this module to display on one page only...

1. In the admin backend, go to Content -> Static Content and create a new, blank Static content page. On the right side of the page, find the parameters tab and set everything to Hide. Except for what your template provides, the page will literally be blank.

2. Create a new menu item and link it to this blank Static Content page.

3. Go to Modules and find the Avatar Gallery Module, click it to call up its screen. On the right side, set it to appear only on the menu item page you just created.

Now you have a nice gallery of user avatars, each of which is linked to its user profile, and it doesn't have to appear on every page. Depending on the number of registered users with avatars, you could in theory display your whole membership by choosing to have like 20, 30, or 40 rows of 5 pictures each or something.

Raj

PS. Can anyone suggest some SQL queries that I could put in the backend of the module for distribution?

Post edited by: Raj, at: 2006/05/28 04:57

Please Log in or Create an account to join the conversation.

  • Raj
  • Raj
  • OFFLINE
  • Posts: 191
  • Thanks: 0
  • Karma: 30
18 years 4 months ago #14146 by Raj
Here's a demonstration link:

www.chessprogrammers.com/index.php?option=com_content&task=view&id=20&Itemid=36

Looks nice when it's styled right...here's the CSS used to style this table of avatars:

table.rajavatarmatrixtable {
background:white;
border:0px;
border-style:collapse;
}

table.rajavatarmatrixtable td {
width:15%;
height:100px;
}

table.rajavatarmatrixtable td img{
border:1px solid #333;
}

tr.rajavatarmatrixoddrow {
background:#fefefe;
}

tr.rajavatarmatrixevenrow {
background:#efefef;
}
Just place the above into your template. I chose SQL Query #1 and set it to about 30 rows. That way I can forget about it for awhile. The avatars will be rearranged randomly each refresh.

I have like 11 users from Germany. If I knew SQL better I could write a query to just display those (hint hint).

Raj

Post edited by: Raj, at: 2006/05/29 03:12

Please Log in or Create an account to join the conversation.

  • dsendecki
  • dsendecki
  • OFFLINE
  • Posts: 160
  • Thanks: 0
  • Karma: 14
18 years 4 months ago #14147 by dsendecki
Replied by dsendecki on topic Re:Avatar Matrix Gallery Module 0.1 released
Wow Raj,

You're right, that looks great!

Gonna have to check it out! Thanks.

Please Log in or Create an account to join the conversation.

18 years 4 months ago #14188 by alistaircochrane
Replied by alistaircochrane on topic Re:Avatar Matrix Gallery Module 0.1 released
Looks good but it doesn't work in firefox.

Please Log in or Create an account to join the conversation.

  • Raj
  • Raj
  • OFFLINE
  • Posts: 191
  • Thanks: 0
  • Karma: 30
18 years 4 months ago #14192 by Raj
Yeah, I'm not the Firefox CSS guru. Can someone more knowledgeable about Firefox CSS provide a fix?

Roger

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum