Kunena 6.0.8 Released (17 Jan 2023)

The Kunena team has announce the arrival of Kunena 6.0.8 [K 6.0.8] which is now available for download as a native Joomla extension for J! 4.2.x. This version addresses most of the issues that were discovered in K 6.0 and issues discovered during the development stages of K 6.0.

Question Kunena report function

  • C0n
  • C0n's Avatar Topic Author
  • Offline
  • Premium Member
  • Only the strongest will survive
More
12 years 4 weeks ago #1 by C0n
Kunena report function was created by C0n
Surely this is not right ?

www.kunena.org/forum/report

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

More
12 years 4 weeks ago #2 by Mortti
Replied by Mortti on topic Re: Kunena report function
No...that is not right way to tell that...

Joomla! Backend -- Components -- Kunena Forum

Then you will see Kunena Control Panel... where you can see this 2 buttons:





There will be come texts of you Kunena configuration and then copy that and paste all that as a message in the forum when you have problems.
Attachments:

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

More
12 years 4 weeks ago #3 by Mortti
Replied by Mortti on topic Re: Kunena report function
Or are you talking about "Report to moderator" function?

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

More
12 years 4 weeks ago #4 by xillibit
Replied by xillibit on topic Re: Kunena report function

C0n wrote: Surely this is not right ?

www.kunena.org/forum/report

Hello,

this is weird, i need to investigate what is going on with it

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 4 weeks ago #5 by etusha
Replied by etusha on topic Re: Kunena report function
@xillibit

i think you should remove
some line from /kunena.php
534-539

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

More
12 years 4 weeks ago #6 by xillibit
Replied by xillibit on topic Re: Kunena report function

etusha wrote: @xillibit

i think you should remove
some line from /kunena.php
534-539

I think it's not so easy like that

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.

  • C0n
  • C0n's Avatar Topic Author
  • Offline
  • Premium Member
  • Only the strongest will survive
More
12 years 4 weeks ago - 12 years 4 weeks ago #7 by C0n
Replied by C0n on topic Re: Kunena report function
www.your-domain.com/forums/report

Yeah well with kunena 1.5.13 It has a stranger effect it redirects you to the forum home but your url looks like this.

www.your-domain.com/forums/id-0#0

Also just testing other url's for K1.6 it seems to want to report every submitted url O_O
www.kunena.org/forum/mylatest/report
www.kunena.org/forum/search/report
www.kunena.org/forum/newtopic/report
Last edit: 12 years 4 weeks ago by C0n.

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

More
12 years 2 weeks ago #8 by etusha
Replied by etusha on topic Re: Kunena report function
Please can someone try this patch

Code:
# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: /var/www/kunena/trunk/1.6 # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: build/build.number --- build/build.number Base (BASE) +++ build/build.number Locally Modified (Based On LOCAL) @@ -1,3 +1,3 @@ #Build Number for ANT. Do not edit! -#Fri Jan 07 13:03:47 EET 2011 -build.number=4165 +#Thu Jan 13 12:54:14 CET 2011 +build.number=4166 Index: components/com_kunena/template/default/plugin/report/report.php --- components/com_kunena/template/default/plugin/report/report.php Base (BASE) +++ components/com_kunena/template/default/plugin/report/report.php Locally Modified (Based On LOCAL) @@ -24,6 +24,12 @@ $this->id = JRequest::getInt('id', 0); $this->catid = JRequest::getInt('catid', 0); + +if(!$this->id){ + echo JText::_('YOU CAN NOT REPORT THIS'); + return; +} + \ No newline at end of file ?> <div class="kblock kreport">
Attachments:

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

More
12 years 2 weeks ago #9 by xillibit
Replied by xillibit on topic Re: Kunena report function
Thanks for this patch, i wil take a look

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.

  • C0n
  • C0n's Avatar Topic Author
  • Offline
  • Premium Member
  • Only the strongest will survive
More
12 years 2 weeks ago - 12 years 2 weeks ago #10 by C0n
Replied by C0n on topic Re: Kunena report function
Hmm it looks good. Appears to be using "$this->id = JRequest::getInt('id', 0);" To check if the user requesting the url is a logged in registered user or not.

But i dont think this is realy the method to be using. I think it should not even be a valid url and redirect you to the error page. just like if you requested something like, www.kunena.org/This_is_not_a_real_page_give_me_a-error

I would rather see a 404 page error than be looking at that, "YOU CAN NOT REPORT THIS"
Last edit: 12 years 2 weeks ago by C0n.

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

Time to create page: 0.291 seconds