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: phpBB3 & JFusion with JComments
Pages: [1]   Go Down
  Print  
Author Topic: phpBB3 & JFusion with JComments  (Read 8305 times)
0 Members and 1 Guest are viewing this topic.
Bones
Newbie
*

Karma: 0
Offline Offline

Posts: 1


« on: October 24, 2009, 17:04:08 »

Hey everyone,
i'm having a little problem with phpBB3+JFusion with JComments... Everything works fine. I've got JComments doing the comments and avatars linked good with JFusion and phpBB3, however when I have the avatar in JComments link to the person's account to view their forum profile, for some reason it adds this stuff: http://mydomain.xxx/component/jfusion/memberlist.php/mode,viewprofile/u,55/ however I have the forum in a subfolder, http://mydomain.xxx/forum and I don't know what could be causing this.

I have the newest version of the Avatar Plguin, JFusion, phpBB3 and JComments.
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: October 25, 2009, 01:04:08 »

Hm, at this time I have no installed JFusion to test but we can try test it on you site Smiley

Open file /plugins/jcomments/jcomments.avatar.php

Find line:
Code: (php)
require_once(JPATH_ADMINISTRATOR .DS.'components'.DS.'com_jfusion'.DS.'models'.DS.'model.factory.php');
and add after it next:
Code: (php)
require_once(JPATH_ADMINISTRATOR .DS.'components'.DS.'com_jfusion'.DS.'models'.DS.'model.jfusion.php');

Some lines below find:
Code: (php)
$comments[$i]->profileLink = JRoute::_('index.php?mode=viewprofile&u=' . $avatars[$fusername]->user_id . '&jfile=memberlist.php&option=com_jfusion&Itemid=' . $Itemid);
and replace with:
Code: (php)
$comments[$i]->profileLink = JFusionFunction::routeURL('index.php?mode=viewprofile&u=' . $avatars[$fusername]->user_id . '&jfile=memberlist.php&option=com_jfusion', $Itemid);

I hope it must fix described problem... Please try and say if it help...

JFusionFunction
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: phpBB3 & JFusion with JComments
 
Jump to: