Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

Wrong forum link into activities

  • GUEST
8 years 6 days ago #290362 by
Hello,

if a user post something into the Kunena forum, then it appears into the CB Activities.

The link from the Activity stream to the posting is wrong and is ending into a "404 - Component not found" error.

For example
The wrong link from the stream: www.xxx.com/index.php?option=com_kunena&view=topic&catid=2&id=47&mesid=259
The right link to the posting: www.xxx.com/index.php?option=com_kunena&view=topic&catid=2&id=47&Itemid=342&lang=en


Greetings

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48711
  • Thanks: 8320
  • Karma: 1447
8 years 5 days ago #290393 by krileon
Replied by krileon on topic Wrong forum link into activities
Create a Joomla menu item to Kunena with language set to all. The URLs are hardcoded into the auto action at this time as CB Forums currently does not process its own activity (it will in a future release after CB Activity 4.0.0 API rewrite). You can modify the URL that gets stored by editing the "Kunena - Create" system action and saving a copy with Links > URL adjuted to whatever you like. Specifically to what what you're wanting you'd change it as follows.

FROM:
Code:
[cbpkb:ignore][cb:config param="live_site" /][/cbpkb:ignore]/index.php?option=com_kunena&view=topic&catid=[var3_message_catid]&id=[var3_message_thread]&mesid=[var3_message_id]
TO:
Code:
[cbpkb:ignore][cb:config param="live_site" /][/cbpkb:ignore]/index.php?option=com_kunena&view=topic&catid=[var3_message_catid]&id=[var3_message_thread]&Itemid=342&lang=en

This all works perfectly fine in my local tests and demo site.


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.

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

Moderators: beatnantkrileon
Powered by Kunena Forum