imthebest
Well-known member
I'm using the XF default style and that's the only style available on my forum. On that style I have configured the path to images to styles/mystyle
The good: in the front-end your add-on is reading avatar files from styles/mystyle/xenforo/avatars
The bad (?): on the sitemap files, your add-on is declaring that every banned member has an avatar located at styles/default/xenforo/avatars i.e. not honoring the image path declared for the default and only style available on my site.
I guess that it's working as expected because in case I had many styles to prevent confusion then in the sitemap files (not in the front-end) your add-on is always going to read the avatar files from the default style?
And as a side note, is it a good idea to declare on the sitemaps the avatar for banned people? Or maybe you should just not declare the avatar files for banned members?
The good: in the front-end your add-on is reading avatar files from styles/mystyle/xenforo/avatars
The bad (?): on the sitemap files, your add-on is declaring that every banned member has an avatar located at styles/default/xenforo/avatars i.e. not honoring the image path declared for the default and only style available on my site.
I guess that it's working as expected because in case I had many styles to prevent confusion then in the sitemap files (not in the front-end) your add-on is always going to read the avatar files from the default style?
And as a side note, is it a good idea to declare on the sitemaps the avatar for banned people? Or maybe you should just not declare the avatar files for banned members?