Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: [Solved] Problems with Community Board
Pages: [1]   Go Down
  Print  
Author Topic: [Solved] Problems with Community Board  (Read 1190 times)
0 Members and 1 Guest are viewing this topic.
Leviii
Newbie
*

Karma: 0
Offline Offline

Posts: 2


« on: July 17, 2010, 04:26:50 »

Hello!

I'm having problems integrating JComments with Community Board.
I set an option to link avatar to user profile.
The problem is that I receive 403 error.

I did some checking and... Before JComment I used JomComments. Link to user profile was like: http://blabla.com/index.php?option=com_comprofiler&task=userProfile&user=63&Itemid=     And everything worked perfectly!
With JComments link is http://blabla.com/index.php?option=com_comprofiler&task=userProfile&user=63&Itemid=10
And nothing works.
I can see the difference but I don't know how to fix it.

Is there any solution?  Sad
« Last Edit: July 18, 2010, 16:08:54 by Leviii » Logged
Leviii
Newbie
*

Karma: 0
Offline Offline

Posts: 2


« Reply #1 on: July 18, 2010, 16:07:33 »

Solved!

Changed file plugins\jcomments\jcomments.avatar.php Line 292

Code:
// link to profile
$comments[$i]->profileLink = $userid ? JoomlaTuneRoute::_('index.php?option=com_comprofiler&task=userProfile&user=' . $userid . $_Itemid) : '';


To

Code:
// link to profile
$comments[$i]->profileLink = $userid ? JoomlaTuneRoute::_('index.php?option=com_comprofiler&task=userProfile&user=' . $userid) : '';


And now evertything works! Smiley
Logged
smart
Administrator
Hero Member
*****

Karma: 146
Offline Offline

Gender: Male
Posts: 2579



WWW
« Reply #2 on: July 19, 2010, 18:03:50 »

This is really strange - it must work with Itemid too (this parameter is required for Joomla to determine what Joomla menu item is active. But if this fix solves your problem - ok.
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Integration with third-party extensions    Topic: [Solved] Problems with Community Board
 
Jump to: