Skip to main content
Topic: Mini avatars on board and messageindex not displaying (custom png avatar folder) (Read 2678 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Mini avatars on board and messageindex not displaying (custom png avatar folder)

When I first had to move an SMF board I had problems with corrupted avatars and attachments using ftp. Also SMF posts recommended putting avatars in a custom folder as png files as one of the ways to increase performance. Easy to find these posts.

It seems using a custom folder of png files for avatars means they do not show  on the board view or MessageIndex. Its strange... just this morning I installed the new mod over there to do this - it failed too.

Re: Mini avatars on board and messageindex not displaying (custom png avatar folder)

Reply #1

hmm... something sounds broken somewhere.
I noticed something similar in 1.1 (tracked at https://github.com/elkarte/Elkarte/issues/2441 ), it could be the same.

To investigate!
Bugs creator.
Features destroyer.
Template killer.


Re: Mini avatars on board and messageindex not displaying (custom png avatar folder)

Reply #3

One of my personal goal for a future release (likely 2.0) is to completely get rid of avatars-as-attachments and go only with the uploading to a dedicated directory (that could very well be a "special" one under avatars).
That will make things much, much, much easier in many cases. nods
Bugs creator.
Features destroyer.
Template killer.

Re: Mini avatars on board and messageindex not displaying (custom png avatar folder)

Reply #4

Quote from: andy – When I first had to move an SMF board I had problems with corrupted avatars and attachments using ftp. Also SMF posts recommended putting avatars in a custom folder as png files as one of the ways to increase performance. Easy to find these posts.

It seems using a custom folder of png files for avatars means they do not show  on the board view or MessageIndex. Its strange... just this morning I installed the new mod over there to do this - it failed too.

I know this works on ElkArte as all sites I've setup use the separate avatar directory (to avoid the db lookup overhead). 

If you start with them in the db and move to a separate directory,  I think there was a hidden maintenance function you had to run.  You can't have a mix of some in the db and some in the directory.

I'd have to look at the importer code to make sure it handles the avatar directory, if not you would only have to copy/ftp files over and make sure you set the avatar directory in the ACP.

Re: Mini avatars on board and messageindex not displaying (custom png avatar folder)

Reply #5

Quote if not you would only have to copy/ftp files over and make sure you set the avatar directory in the ACP.

That seems an easy fix for me - thanks.