XF 1.2 Avatar information

tommydamic68

Well-known member
It is an option, can you have it show as in the attachment? in the avatar area , joined date, messages, likes received - etc.
 

tommydamic68

Well-known member
Awesome - found it! Anyway to make avatar area wider to fit names a bit better? it dropped Quebec out of alignment.

Screen Shot 2013-09-07 at 6.13.38 PM.png
 

AndyB

Well-known member
It didnt quite work as expected. is there an option to limy characters for location?
The default limit is 50 characters. It looks great when the member uses a minimal amount of characters for the location as it's floating right. Looks terrible when there are too many characters.

In previous versions of Xenforo the data was below the label, like this:

Location:
San Francisco, CA
 
Last edited:

AndyB

Well-known member
am i stuck with it at this point?
If you want to have the maximum character limit be lower than 50 characters, you could edit the following file:

/library/Xenforo/DataWriter/User.php

Look for the following line and change the 50 to whatever value you want.

PHP:
'location'  => array('type' => self::TYPE_STRING, 'default' => '', 'maxLength' => 50),
 

tommydamic68

Well-known member
If you want to have the maximum character limit be lower than 50 characters, you could edit the following file:

/library/Xenforo/DataWriter/User.php

Look for the following line and change the 50 to whatever value you want.

PHP:
'location'  => array('type' => self::TYPE_STRING, 'default' => '', 'maxLength' => 50),
Any way after the change of characters to refresh and fix the long names? I used both of your suggestions, Reduced characters to 19- (won't fall to next line) and added brogans CSS.
 

Jeremy

Well-known member
If you added Brogan's CSS I would revert back to 50. It will make your life easier as you need to apply that on each update. But no, there is no way to retroactively enforce a character limit.
 
Top