×
Blue Eagle 5 v1.5.4 has been Released (13 Sep 2020)

The Kunena team has announce the arrival of Kunena template Blue Eagle 5 v1.5.4 which is now available for download. This version addresses most of the issues that were discovered in development.

Solved [K5.0b4] Crypsis - Category Listing Avatars have no class, hardcoded width

More
4 years 4 months ago #1 by GJSchaller
I'm noticing in the Category Listing, that the Avatars on the Category listing lack a Class to be able to style them:

template.knightrealms.com/community/forums.html

<img class="none" src=" template.knightrealms.com/images/avatars/zz_knightrealms.jpg " width="144" height="144" alt="Onca's Avatar">

While we can use the surrounding items to style it, I would like to suggest that a kavatar class be applied to any Avatar appearances.

Also, the size seems to be hardcoded to 144 x 144 in the HTML - not sure if this is intended.

The sample site is using the CB plugin, if that impacts things.

Geoffrey Schaller
Technical Officer
Knight Realms

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #2 by 810
Ok changed it, it was the name of the setting avatartype. So if you choose a other option, then it was correct.

144 is set in the xml file
template/config/template.xml

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #3 by GJSchaller
Thank you - is this a setting that is selected somewhere, or controlled by something else (like the CB plugin)?

I don't see a way to set the size using the Template config - should this be able to be set by the user / admin?

Geoffrey Schaller
Technical Officer
Knight Realms

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #4 by 810
its now hard coded into the config.xml
<fieldset name="avatar">
		<field name="avatarSizeX" default="40"/>
		<field name="avatarSizeY"  default="90"/>
		<field name="templatebyText" default=""/>
		<field name="templatebyName"  default=""/>
		<field name="templatebyLink"  default=""/>
		<!-- Required avatar sizes -->
		<field name="avatarSizeXThumb"  default="36"/>
		<field name="avatarSizeYThumb"  default="36"/>
		<field name="avatarSizeXWelcome"  default="72"/>
		<field name="avatarSizeYWelcome"  default="72"/>
		<field name="avatarSizeXList"  default="36"/>
		<field name="avatarSizeYList"  default="36"/>
		<field name="avatarSizeXPost"  default="144"/>
		<field name="avatarSizeYPost"  default="144"/>
		<field name="avatarSizeXProfile"  default="200"/>
		<field name="avatarSizeYProfile"  default="200"/>
	</fieldset>

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.082 seconds