• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 A few questions here

#1
For one, Is it possible I can set my avatars to where they accept other file extensions BESIDES .jpg? If so how would I do this? Also, is it possible to use animated gifs like VB has?


Also, I wanna set the dimensions to 200x400 but it seems really weird when I do it? like it does this, http://prntscr.com/5v44im is it a way we can change it to where the post bit is aligned up to this?

ALSO, if I wanted to move the date and time to the top of the thread like vb has, is it possible to do this?

Also, if i wanted to space out posts so they aren't all linked together, how can we go about doing this?
 
Last edited:

Chris D

XenForo developer
Staff member
#3
The avatar sizes in XF are completely static.

Changing them would require some sort of custom development or add-on. I'm not aware of an add-on that does exactly what you want, though.
 

SneakyDave

Well-known member
#4
Also, is it possible to use animated gifs like VB has?
Yes

if I wanted to move the date and time to the top of the thread like vb has, is it possible to do this?
Yes, by editing the template.

if i wanted to space out posts so they aren't all linked together, how can we go about doing this?
Linked together? Like add a margin between each one? Sure, with a template edit.
 
#5
@SneakyDave

For the first question, how can I get animated gifs? like VB has.

For the second & thirst question is it possible you can assist me with these template edits


@Chris D Is there any addon that can change the sizes for avatars to where it's 200x400 or change it per usergroup??? Like, I think this would be really useful especially with a lot of forums allowing upgrades to be purchased, a lot of people like getting them for bigger avatar images, at least with VB it was this way... Heres an example of what I'd like them to be. http://puu.sh/eQ5Sx/8972474f29.png this was taken from a VB forum, basically what I'd like is something similar to this with the username and usertitle above the avatar image and the expansion of the avatar image.


If that makes sense.
 

SneakyDave

Well-known member
#6
For the first question, how can I get animated gifs? like VB has.
You should just need a host that supports imagemagick or the PHP GD library. It isn't exactly a VB or XenForo feature.
For the second & thirst question is it possible you can assist me with these template edits
Sorry, I'm not a very good customizer, but the template search function works well. I would think that if you knew a little CSS, it wouldn't be too much of a problem.
 
#7
Sorry, I'm not a very good customizer, but the template search function works well. I would think that if you knew a little CSS, it wouldn't be too much of a problem.
At this one, I'm okay with CSS, just not too sure where'd be the best place to start.



at the first one I'll look into that
 
#10
That particular error isn't related to XF; it's down to your server configuration. See: http://www.daveperrett.com/articles/2009/11/18/nginx-error-413-request-entity-too-large/
Sorted that bit already, I'm having other issues though... Basically I used this tutorial https://xenforo.com/community/resources/avatars-big-tall.1741/ to change my avatar images and basically I want it to be 200x400 so I edited the CSS a bit to where it'll show as 200x400 avatar images as shown here:

.thread_view .messageList .messageUserInfo a.avatar img,
.thread_view .quickReply .messageUserInfo a.avatar img,
.conversation_view .messageList .messageUserInfo a.avatar img,
.conversation_view .quickReply .messageUserInfo a.avatar img
{
width: 200px;
height: 300px;
}

.messageUserInfo
{
width: 218px !important;
}

.message .messageInfo,
#QuickReply
{
margin-left: 234px !important;
}
But now what I'm trying to do instead of this stretching the image, I'd like it to crop the image and I'm not too sure how I'd go about doing this, do you possibly have any suggestions or could possibly assist me with editing this? Not sure if that made sense.
 

Brogan

XenForo moderator
Staff member
#11
Any questions related to that resource should be posted on the associated thread.

Ultimately though, it requires code to crop - it can't be done with CSS.