Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Proper links to Kunena Posts in CB Activity

  • inelia
  • inelia
  • OFFLINE
  • Posts: 20
  • Thanks: 3
  • Karma: 2
9 years 3 months ago - 9 years 3 months ago #268319 by inelia
Hello,

The default links that are generated in Recent Activity for Kunena posts do NOT work well if the discussion has more that one page, because the link always posts to page one, so it will never jump to the correct post.

The workaround was to COPY the CB Auto Action called: Kunena - Reply and them unpublish the system action.

After that I have edited the COPY and changed the URL code from:
Code:
[cb:config param="live_site" /]/index.php?option=com_kunena&view=topic&catid=[var3_message_catid]&id=[var3_message_thread]#[var3_message_id]

to
Code:
[cb:config param="live_site" /]/index.php?option=com_kunena&view=topic&catid=[var3_message_catid]&id=[var3_message_thread]&mesid=[var3_message_id]

I have tested this and it works. See bellow the Kunena version and all that stuff.

Website Setup:
=================
Joomla version. 3.4.3
CB: 2.0.10
CB Activity: 3.0.0
CB Gallery: 1.0.5
CB AutoActions: 6.3.1
CB Subs: 4.0.1
Kunena: 3.0.6

PS: The code display is a bit funny and you can't see what was changed at the very end of the URL, but the change is there :)
Last edit: 9 years 3 months ago by inelia.
The following user(s) said Thank You: nant, krileon, paxx

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago #268339 by krileon
Replied by krileon on topic Proper links to Kunena Posts in CB Activity
Great, thanks for your contribution. Have implemented for next CB Auto Actions build.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: inelia

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

Moderators: beatnantkrileon
Powered by Kunena Forum