TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

[Block] Avatar of Users Online

Started by IchBin, December 01, 2008, 02:18:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IchBin

It sure can. Just add the marquee code in like its done in the one that's working. Let me know if you need help.

Rafferty

I actually used the second code in a side block, avatars 30x30, and it looks pretty cool scrolling sideways, Thanks Ich.

alving

is it possible to have the avatars centered inside the frame or maybe an option to have it centered or justified to the left..  thanks!  very nice code..

IchBin

You can probably add this to the avatar_column in the css styles at the top of the code.
margin:0 auto;

katers

I am so glad I was directed to this block. 

I looked to see if this was asked and didn't see anything.  Is there a way to make the avatars closer together? 

ZarPrime

Hi twister,

You may have to play with it a little bit, but you control this with the avatar_column td ...
.avatar_column td
{
height: 60px;
width: 60px;
overflow: hidden;
text-align: center;
vertical-align: top;
}


ZarPrime

katers

Thank you I did play around with it and it changed the avatar size, but did nothing for the gap between avatars.  Part of the problem is I can't figure out how to delete the names under the avatars which would afford less of a gap vertically, but not horizontally.

IchBin

Remove <h6>'.$user['name'].'</h6> if you don't want the user names.

UkGangsta

very nice block ichbin works a treat thxs for the super code works flawlessly

fl4pj4ck

one more thing: I recently changed a theme to one with non-fixed sie and wanted to ask if you can modify the code so it wouldn't need to set the fixed number of columns, as they changing on different screens

This website is proudly hosted on Crocweb Cloud Website Hosting.