- Posts: 12
- Thank you received: 4
Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released
The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] 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.
The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.
Question Guide: Avatar Integration / Profile Links - 1.6
Two weeks ago I started a new thread in the Kunena 1.5 forums because I wanted to know how to change the avatar path. I'm working on a new Joomla website with many custom components including user profiles and avatars. I didn't get an answer, but that wasn't a big problem because just a week later Kunena 1.6 stable was released.
I switched to Kunena 1.6 and created my own "plugin" for both avatar and profile link integration. Today, someone wrote me a pm and asked if I would share my integration plugin. Maybe someone else is interested in this, so I decided to share my solution with you
You should know, that I'm far away from being a good programmer. I just try to help myself by using my beginner php skills and tying my best to achieve my goals. If you have any suggestions concerning my code, please let me know.
Avatar Integration:
Browse to Your_Joomla_Folder/administrator/components/com_kunena/libraries/integration/ and create a new folder. Let's call it "wabugi" for this guide ^^
Open the folder and create 3 new files: index.html, avatar.php and profile.php.
The content of index.html:
The content of avatar.php:
Profile Links Integration:
The content of profile.php:
Save everything and log into the admininistration of your Joomla-Installation. Go to the configuration of your Kunena forum and open the "Integration" tab. You should now be able to choose "wabugi" (or whatever name you have chosen for your integration) from the "Avatars" and the "Profiles and User List" drop-downs. Don't forget to save your configuration!
If everything went right, you should now have your own avatars integrated into Kunena 1.6. Profile links should now be redirected to the profile page of your custom component. If you need the avatar integration only, you can just leave away the profile.php file. If you need the profile link integration only, just leave away the avatar.php file.
Again, I'd like to say that I'm no good programmer. I'm sure there are better and cleaner solutions to integrate avatars and profiles into Kunena 1.6. But for the moment, I'm happy with my solution, because it works perfectly for me
UPDATE October 14. 2010: Optimised the code. Special thanks to Matias
Please Log in or Create an account to join the conversation.
* In __construct() you should have check if your component is really installed. If not, just return..
* Don't use KunenaRoute for other components. There's JRoute::_() in Joomla + variations in some components.
* You do not need to edit admin.kunena.php -- those are leftover code and should be removed. All integration options should appear automatically without any changes. So Part2 is not needed.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I'm glad I was able to help you bzzik!
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
It works for me!
Please Log in or Create an account to join the conversation.