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.

Question Question about what file to edit

More
17 years 9 months ago #174 by ClassicMariah
First, this is awesome. I set this up last night and all is looking great so far. However I do have question about changing a few things in order to make a few things look right. The way my site is set up, I use the members real name field to display instead of their user name and I have that set in the backend. But in the frontend, there are a few nagging fields that still show the user name (moderators, last post author on the latest posts page, and last post by on the categories page. Can someone tell me which files and what code to change in order to correct this? I tried it the other way by displaying the username, but then the profile shows up wrong. I can't seem to find what I need to change so they display the same way. I guess whatever would be the easiest way to make it all work out and display one or the other is what I'm getting at.

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

More
17 years 9 months ago - 17 years 9 months ago #176 by Matias
Easiest(?) way to find the right place is following:

* Install Firebug to your FireFox 2/3 (google if you cannot find it)
* Right click the wrong element and choose Inspect Element
* Find closest tags with class="xxx" or id="xxx" and search xxx from all the php files in your ("default_ex"?) template (if stings are not found, they will be in "default" theme)
* When you have found those, compare html. If it's the same, you've found the right place
* if ($fbConfig->username) { do when username } else { do when real name }, you should set some variable here.. $xxxname = ...
* Then just use your new variable instead of $foo->username or whatever it's called..

If you do not how to fix it, just send the files and lines here..

.. and if you can fix it, can you zip the files and send them to here. :)
Last edit: 17 years 9 months ago by Matias.

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

More
17 years 9 months ago #183 by ClassicMariah
Ok, change in plan. I switched it back to show the username again. Everything works fine now except for the top profile box still showing the other field. I have it narrowed down to the profilebox.php, but I have tried changing things in the file but I cannot find the right line to change it. All else is how it should be now.

This is what I'm trying to switch:

Welcome, MEMBERNAME so it shows Welcome, USERNAME instead

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

More
17 years 9 months ago #193 by Matias
You can also give this feature a vote in uservoice. It will be fixed, but it's not top in priority right now. Your bug has been reported, though.

Open components/com_kunena/template/default/plugin/profilebox/profilebox.php

line 21: change u.name => u.username AS name

That hack should do it.

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

More
17 years 9 months ago #217 by ClassicMariah
That did the trick. Thank you for the info. Not sure if it's a bug, but it would be worth having it in the backend to configure. Thank you again.....

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

More
17 years 9 months ago #218 by Matias
It's a feature. :) I don't think that it should be in the backend: every user should be able to configure it from the frontend. Or maybe both..

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

Time to create page: 0.129 seconds