×
Kunena 5.2.4 and Blue eagle 1.6.4 released (04 Apr 2021)

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

REQUIREMENTS
Blue Eagle 1.6.x requires Kunena 5.2.x to work with, this template isn't designed to works with Bootstrap 3 and Bootstrap 4.

Solved How do I get a post URL via the post ID?

More
1 year 11 months ago #1 by ItsMichael
Hi,

I'm trying to create a custom plugin that will email the admin the modified posts weekly. The URL of each post would need to be included in this email.

I was able to query the modified posts table successfully but I'm unsure on how I can get the URL of each post. I have the post ID and other useful information though.

Is there a function that Kunena provides for this? If so or not, how can this be done?

I hope there is someone that can help me with this question.

Thanks!

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

More
1 year 10 months ago #2 by ItsMichael
Apparently not. I tried looking into the documentation with no luck. I'm hoping a developer can respond to help me figure this out. The project this is for is pretty urgent as well.

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

More
1 year 10 months ago - 1 year 10 months ago #3 by ItsMichael
Finally got some help on this from Jelle through email.

For anyone having the same question as me, this is what worked:
$message = KunenaForumMessageHelper::get($messageId);
$category = $message->getCategory();
$url   = $message->getUrl($category);
Last edit: 1 year 10 months ago by ItsMichael.

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

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