Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Question (RESOLVED)When I log in custom catID_ forum images are missing

More
17 years 2 weeks ago - 17 years 2 weeks ago #12940 by sozzled
That's a bit clearer, thank you. I was looking for files literally named catID_notlogin.gif instead of looking for *_notlogin.gif :ohmy:

For example, on this website, here is 1_notlogin.gif [img]images/fbfiles/category_images/1_notlogin.gif[/img]. There is no 4_notlogin.gif, even though there's a catID=4 .

I had a look at your website but I couldn't see an example of the problem that we're discussing. Your forum page rugbyleaguespace.com/index.php?option=com_kunena&Itemid=2 seems to correctly render the customised <catID>_notlogin.gif perfectly well.

I'm assuming, though, from what you're saying, these <catID>_notlogin.gif images render when you're not logged in. When you're logged in, the images don't render because Kunena is searching for them in a different folder. Is that a better problem definition?
Last edit: 17 years 2 weeks ago by sozzled.

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

More
17 years 2 weeks ago - 17 years 2 weeks ago #12948 by sozzled
I have the answer --> see next message. :woohoo:
Last edit: 17 years 2 weeks ago by sozzled.

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

More
17 years 2 weeks ago - 17 years 2 weeks ago #12950 by sozzled
Category images can be customised: you can use different images for each category. The images, however, act as a tri-state indicator that show:
  • if you are not logged-in;
  • if you are logged-in and there are unread messages in the category; or
  • if you are logged-in and there are no unread messages in the category.
This means that if you want to customise icons for each category, you need three separate images, one for each of the abovementioned states.

In vpopovic's case, he wants a customised image to display when he's logged in to the site and, presumably, to also indicate if there are unread messages that he has not yet seen.

To illustrate this point, I've created three example images (for those who know anything about rugby league, it also shows what my favourite football team is), as follows:
  • filename 36_notlogin.gif (for not logged-in)
  • filename 36_on.gif (for logged-in with unread messages)
  • filename 36_off.gif (for logged-in with no unread messages)
The general approach is to create three files: <catID>_notlogin.gif, <catID>_on.gif and <catID>_off.gif (where <catID> is the forum category number) corresponding to the three states I've described.

This same approach can also be extended to child boards: likewise create three images <catID>_childsmall_notlogin.gif, <catID>_childsmall_on.gif and <catID>_childsmall_off.gif. Obviously you should design these images about half the height and width as the images for the parent board.

These custom images need to be uploaded to ../media/kunena/attachments/legacy/category_images. The solution is independent of whatever Kunena template you are using.
Last edit: 17 years 2 weeks ago by sozzled.

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

More
17 years 2 weeks ago #12957 by Lintzy

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

More
17 years 2 weeks ago #13031 by lmckdhu

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

More
17 years 2 weeks ago #13035 by vpopovic
sozzled you are a STAR. i missed the purpose of catid_on.gif files, i just thought that _notlogin is enough. very stupid of me, even the name of image is suggestive. thats a lot for clearing this for me, I owe you!

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

Time to create page: 0.264 seconds