Kunena 6.3.0 released

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

This category contains miscellaneous, uncategorised user contributions, (templates, modules, plugins and hacks) relating to older versions of Kunena that are no longer supported.

The topics in this category are for historical interest only. Owing to the structural changes that occurred in K 1.7, many of the ideas in these topics will not work with later versions and, for that reason, the topics are locked.

Idea [solved] report to moderator through UddeIM - hack k1.6.x , language strings?

More
12 years 9 months ago - 12 years 9 months ago #1 by john7p
Hello

I have started working on this hack. Same as in this thread for k1.5x.

I have got it working, but I need to now where to put the language strings.

tried some files but it did not display the strings:
COM_KUNENA_REPORT_NO_SUCCES
COM_KUNENA_UDDEIM_API_MISSING

The above constants? names are shown, but not the values no matter where i put them in the language files.

Could someone tell me where to put them?

As soon as that works, I am going to put the choice in the backend if email or pm is used.


cheers
Last edit: 12 years 9 months ago by john7p.

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

More
12 years 9 months ago #2 by xillibit

I don't provide support by PM, because this can be useful for someone else.

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

More
12 years 9 months ago #3 by john7p
Thanks xillibit.

I already had the right file. I just tried to put 2 strings in the same
Code:
$this->app->enqueueMessage ( JText::_


and that didn't work. It does now

So time to start on the back-end.

The end result I will post here.

cheers

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

More
12 years 9 months ago - 12 years 9 months ago #4 by john7p
OK it works !!! :laugh: :laugh:

Donwload the attachment
Backup the file listed below !!!
Unpack the files to your joomla root.
create the language strings in your languagefiles

__________________________________________________
Report to Moderator Hack for Kunena 1.6.4 and PM = UddeIM


This hack needs to be redone after each kunena update but is not guarenteed.
It works for me for a vanilla Kunena 1.6.4 Joomla 1.6.3 UddeIM 2.4

After the hack, save the kunena config in the backend once so the
extra field "reportmsg_type"in the database can be created (table #kunena_config)

File Attachment:

File Name: kunenareporthack.zip
File Size:55 KB


These files are overwritten...... so back them up!!!!!!!
/administrator/components/com_kunena/admin.kunena.html.php
/administrator/components/com_kunena/admin.kunena.php
/components/com_kunena/lib/kunena.report.class.php
/components/com_kunena/lib/kunena.config.class.php

create the language text frontend for your language in: /language/xx-XX/xx-XX.com_kunena.ini

for english: /language/en-GB/en-GB.com.kunena.ini

COM_KUNENA_REPORT_NO_SUCCES = "Report NOT send!!!"
COM_KUNENA_UDDEIM_API_MISSING = "UddeIM-api not found!!!<BR>Try again. <BR> Or contact the Administrator"



create the languge text backend for your language in: /administrator/language/xx-XX/xx-XX.com_kunena.ini

for English /administrator/language/en-GB/en-GB.com_kunena.ini

COM_KUNENA_COM_A_REPORT_TYPE="How to report"
COM_KUNENA_COM_A_REPORT_TYPE_DESC="Choose <em>Email</em> to send reports through Email. Choose <em>PM</em> for using the personal message system. This only works if in the intergration section a PM-system is selected, AND if one is Installed !!"
COM_KUNENA_COM_A_REPORT_MAIL="Email"
COM_KUNENA_COM_A_REPORT_PM="PM"

All hacks are marked in the files as "hack report" so you can search for them in your editor.



cheers
Attachments:
Last edit: 12 years 9 months ago by john7p.

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

More
12 years 2 months ago - 12 years 2 months ago #5 by Houndy
Does it work with Kunena 1.7.2 and Joomla! 2.5.x?

Edit: I tested it and it worked fine but it caused following problem:




How I can fix that? I removed the hack until there's a fix for it.
Attachments:
Last edit: 12 years 2 months ago by Houndy.

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

Time to create page: 0.474 seconds