Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Square userlist view

  • mitch2k
  • mitch2k
  • OFFLINE
  • Posts: 5
  • Thanks: 1
  • Karma: 0
13 years 9 months ago #150416 by mitch2k
Square userlist view was created by mitch2k
Hello,

Standard the CB userlist shows al users in a list, like:

user1
user2
user3

I want to show them in a 4 by 25 table, like:

user1 user2 user3 user4
user5 user6 user7 user8

Under the photo should be the username.

I search forums, and I found this hack:
www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/id,9410/catid,12/

Ofcourse this is for an older version, ant this won't work on my 1.31 version.

I tried changing the code of comprofiler.html.php, but I can't make it look like a 4*25 table.

Can anyone help me on the way?

Thanks!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
13 years 9 months ago - 13 years 9 months ago #150474 by krileon
Replied by krileon on topic Re: Square userlist view
Easiest approach is to just use CSS. Example as follows.
Code:
.cbUserListT_6 thead { display: none; } .cbUserListT_6 tbody tr { float: left; display: block; width: 100px; }

With the above CSS you should have only ONE (1) column configured or it will not display right. You also will need to change the number SIX (6) to the ID of your userlist. Alternatively you can completely edit the Template of userlist found within your CB templates PHP file.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 13 years 9 months ago by krileon.

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

  • mitch2k
  • mitch2k
  • OFFLINE
  • Posts: 5
  • Thanks: 1
  • Karma: 0
13 years 9 months ago #150578 by mitch2k
Replied by mitch2k on topic Re: Square userlist view
Thanks! This works great in Firefox! But in IE it still shows all the pictures in a list. I tried applying in the IE6 and IE7 CSS files.

Can I use the CSS file to show the thumbnails bigger?

Thanks for the help!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
13 years 9 months ago #150618 by krileon
Replied by krileon on topic Re: Square userlist view

Thanks! This works great in Firefox! But in IE it still shows all the pictures in a list. I tried applying in the IE6 and IE7 CSS files.

It was just an example. You'll need to do cross-browser checks and probably make changes where necessary (I can't design your site for you). If necessary I suggest hiring a template developer.

Can I use the CSS file to show the thumbnails bigger?

Yes, something like the following would do the trick.
Code:
.cbUserListT_6 tbody tr img { width: 200px {

I don't recommend up-scaling images though with CSS as you'll end up distorting them.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum