Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question Custom message based on category

More
12 years 3 months ago #158245 by ChiGerard
Right now we have a custom link in the footer.php that appears on the only category we are using. Now we have decided to add a second category and want to change the footer.php to only show the message based on the category being displayed. With my limited php knowledge I have been trying to find the variable that would give me the category so I can create an if statement to post the message or not. I had thought it would be $catid but seems it is not. Or is it that it is not passed to the footer.php? So my question is what variable can I use to find the category to use in an if statement?

I know we should not edit core but since this is a limited use board I wonder if I could also put this next to or under the "Moderators:" instead of the footer.php?

Thank you for any assistance.

Gerard

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

More
12 years 3 months ago #158249 by sozzled
It is possible to create a category-specific "message" for each forum category by using the Category Descrption and Category Header fields in the Category Manager.

The information you enter in these fields appears at the top of the category list of topics (and the topics themselves) that your users will see when they visit your forum (just as you can see, by way of example here, with the text:

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.


It is possible to change the location of this information (that appears at the top of the page) to the bottom of the page (in the footer area, for example) if you create your own Kunena template. To create a Kunena template is beyond the scope of what I can describe here, in this forum, but the process is fairly straightforward if you have a reasonable understanding of PHP. There are people who can create a custom Kunena template for you, if you want.

In the meantime, I suggest that you look at whether the Category Descrption and Category Header fields give you a mechanism that works - and works cheapest - until you have found a better idea.
The following user(s) said Thank You: ChiGerard

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

More
12 years 3 months ago #158258 by ChiGerard
Sozzled: Thank you for the reply and pointing me in the right direction. I will look into this.

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

Time to create page: 0.118 seconds