- Posts: 17
- Thank you received: 0
Kunena 7.0.2 Released
The Kunena team has announce the arrival of Kunena 7.0.2 [K 7.0.2] in stable which is now available for download as a native Joomla extension for J! 5.3.x/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 Hot Thread Icons
- freddiepete
-
Topic Author
- Offline
- Junior Member
-
Please Log in or Create an account to join the conversation.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
i may work on this one on friday see if it can get it working
Please Log in or Create an account to join the conversation.
Yes, I understand the requirement. I'm just asking what's the basis of when the hot topic visual indicator is generated.yes but done as an image rather than text so it doesnt just get lost in the masses of threads.
This isn't too difficult to do. I would approach this by creating an array of the ids of, say, the top 10 (?) most-viewed threads. You can be achieve this by storing the results of a query, something like:
SELECT thread, SUM(hits), subject, catid, id FROM #__fb_messages GROUP BY thread ORDER BY total_views DESC LIMIT 0,10;
Then, when you are displaying the topics on the page, see if the id of the topic = the id of one of an element in the array I've just mentioned and, if it is, highlight the topic with a "hot topic" flag. That's the theory and involves extra processing at the host, but it shouldn't slow things down too much.
I'll leave others to work out the specific PHP coding.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.