×
Kunena 5.1 Beta 1 Released (05 Oct 2017)

The Kunena team is pleased to announce Kunena 5.1.0 Beta 1 [K 5.1 Beta 1].
Please read the blog post for information: www.kunena.org/blog/188-kunena-5-1-beta-released

× Topics must relate to a currently supported version of Kunena. If you are unsure what is the current supported version of Kunena, please go to the download page.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question Report Function - Kunena

More
2 months 4 weeks ago #1 by motherboard
motherboard created the topic: Report Function - Kunena
Hello I have api to work width ionic and kunena, and this api imports

include_once JPATH_BASE . '/libraries/kunena/bootstrap.php';
include_once JPATH_BASE . '/components/com_kunena/models/category.php';

I have some functions here..
now I am searching function for report post, can anyone help me find this function? where is this model?

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

More
2 months 4 weeks ago #2 by xillibit
xillibit replied the topic: Report Function - Kunena
Hello,

The report function is available in the following file : /components/com_kunena/controllers/topic.php at line 1805

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
2 months 3 weeks ago #3 by motherboard
motherboard replied the topic: Report Function - Kunena
Hi, Thanks for reply, I thont now how to call this function correctly. I can call

KunenaForumTopicHelper::getLatestTopics($catids, $offset, 30); like this but how to call report function, this one have no also any options

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

More
2 months 3 weeks ago #4 by xillibit
xillibit replied the topic: Report Function - Kunena
Hello,

Why you want to call KunenaForumTopicHelper::getLatestTopics($catids, $offset, 30); to call then report function ?

Maybe the report function should be moved in the KunenaForumTopicHelper or KunenaForumTopic to be called more easily

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.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.157 seconds