Joo!BB - Making Community
Joo!BB - Joomla! Bulletin Board
Board Index
>
Support Forum
Newbie ?'s: Avatar display size and US Time Format
Welcome, Guest

3 Replies

by doyle on 11/15/2010 03:53
Post Newbie ?'s: Avatar display size and US Time Format

First of all, I have to say the integration with Joomla! is great. I've just installed it and I still have some more work to do, but I was up and running very quickly. With that, there are two questions which I have been unable to find answers to, and was hoping someone could lend a hand with. If the answers are already posted somewhere on the site, please feel free to refer me to those posts.

1 - How can I change the display size of the avatars in message posts? I'm assuming there is a .css file I'll need to update (not sure which one) and is there anything that needs to be done so that the re-sizing functionality still works for people who upload their own images?

2 - Going through the Time Format Manager, I don't see how I can create a 12-hour time stamp. (i.e 10:30 PM). What syntax is used in the Time Format manager? Doing some quick searches leads me to believe that it is not the PHP standard, as %i doesn't appear to work.

Thanks very much for the help.


doyle | Joined Board: 11/15/2010 03:00 | Last Visit: 01/12/2011 02:57
Joo!BB - Newie
Registered
Posts: 2
Offline Member is Offline
View all users posts


by Robbie on 11/15/2010 18:26
Post Re: Newbie ?'s: Avatar display size and US Time Format

Doyle,

many thx for the compliment. Smile

1.
You may do something like that by editing JOOMLA_ROOT\components\com_joobb\assets\templates\joobb\themes\joobb_black\joobb_black.css

Code

.jbAvatarImage {
border: solid 9px #e3e3e3; width: 80px; height: 80px;
}


Sorry for that, but I simple didn't thought about some parameters for this or just using the avatar size from configuration. There will be some improvements to this. It's now on my ToDo list.

2.
You may have a look at strftime.
The format "%m/%d/%Y %I:%M %p" acts as "11/15/2010 07:25 PM".

[EDIT]
It works fine on my local machine but it seems to be a problem on my host. Thinking
Doyle, would you be so nice please and change your custom settings on my site to the format above. What is the result?

Robbie


Robbie | Joined Board: 12/14/2007 10:38 | Last Visit: 05/19/2012 08:29
Joo!BB - Master
Administrator
Posts: 785
Offline Member is Offline
View all users posts

Last Edit on 11/15/2010 18:47 by Robbie


by doyle on 11/16/2010 05:01
Post Re: Newbie ?'s: Avatar display size and US Time Format

Thanks very much Robbie.

Regarding the Avatar settings, that was perfect. Thanks for the help! Would be great if that could eventually be a setting that users can customize. Personally, I like keeping them a bit smaller (I went 60x60) since many messages are only one or two lines, the avatar creates a larger text box and inevitably leads to more white space, which I like to try and minimize where possible.

Regarding the time Format, I've gotten it to work just fine now on my site, but as for your question, I don't appear to have the option you mentioned below as an option in my dropdown in my site settings. None of the examples I see have an AM/PM at the end of the display value. Is there something else you would like me to try?

Thanks,
Doyle


doyle | Joined Board: 11/15/2010 03:00 | Last Visit: 01/12/2011 02:57
Joo!BB - Newie
Registered
Posts: 2
Offline Member is Offline
View all users posts


by Robbie on 11/16/2010 07:06
Post Re: Newbie ?'s: Avatar display size and US Time Format

You are welcome.

There will be a better solution to handle size of avatars.

No, that's all at the moment. Thank you very much. There must be something wrong with my settings of my host. I need to have a look at it.

I added the format "%m/%d/%Y %I:%M %p" which will be shown as "11/15/2010 07:25 PM" as a standard entry to Joo!CM. So it will be always available in future. Many thx for the advise. Smile


Robbie | Joined Board: 12/14/2007 10:38 | Last Visit: 05/19/2012 08:29
Joo!BB - Master
Administrator
Posts: 785
Offline Member is Offline
View all users posts

Last Edit on 11/16/2010 07:06 by Robbie


3 Replies

Joo!BB - Joomla! Bulletin Board

Copyright © 2007 - 2012 Joo!BB Project - All rights reserved.