The Joomla Tips and Tricks Blog

Things we've found along the way, and other outstanding issues.

The Kunena Forum extension easily integrates in the JomSocial network (besides, you've got our JS G-KUNENA extension to improve that integration). Anyhow, there's still a pending issue: when you integrate Kunena in the JomSocial activities stream, the link to the user post doesn't really point to the user point but to the thread home.

It can be very disappointing when you want to check the user participation by cliking on the link, but then you still have to look for it. Also, when you use our JS FACE extension to integrate JomSocial into Facebook, Facebook users can preview the Kunena forum post, but when they click on the post link they go somewhere else (to the begining of the thread, instead).

 

Kunena activity stream on JomSocial    Kunena Forum integration on Facebook via JS FACE

 

On both the Kunena and the JomSocial support forums, they say this can't be done at the moment, but we've tested a little trick that works fine for us, and it will probably work fine for you also. It has been tested for Kunena 1.5.9, but it'll surely work on recent versions.

This is what you have to do:

1.- Open the post.php file under the components/com_kunena/template/default folder.

2.- Look for the text "//activity stream - reply post" (this is what gets done when a new reply post is submitted).

3.- Change the line below, from:
$JSPostLink = CKunenaLink::GetThreadPageURL($fbConfig, 'view', $catid, $thread, 1);

to:
$JSPostLink = CKunenaLink::GetThreadPageURL($fbConfig, 'view', $catid, $pid, 1);

 

This is it!!


As you can see, you only need to change the $thread variable with the $pid one.

Please let us know if this has worked for you.


Shopping Cart

Your Cart is currently empty.

Member Login






Follow us on

Twitter Facebook

JomSocial Partner

Build your own social network using JomSocial

News Subscription

Get the latest news from Latitud WEB Joomla Extensions using our syndication system.

Latitud WEB Joomla Extensions
Latitud WEB Joomla Extensions

About Us

Latitud WEB is a trademark from Business Excellence through Information Technologies S.L. (BEIT). BEIT is an Information Technology company based in Valencia (Spain). Our aim is to put the IT advantages at the service of companies and organizations of any size.