Home arrow Forum Integration Issues with Profiles and PMs
  Welcome, Guest. Please login or register.
Did you miss your activation email?
January 09, 2009, 04:46:12 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.1.x (Moderators: -Wolverine, kai920)
| | | |-+  Integration Issues with Profiles and PMs
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] Go Down Print
Author Topic: Integration Issues with Profiles and PMs  (Read 4375 times)
p9939068
Joomla Expert
****

Karma: +18/-5
Offline Offline

Posts: 173


View Profile WWW
Re: Integration Issues with Profiles and PMs
« Reply #15 on: March 05, 2006, 01:40:36 PM »

paste an example of the url..?
Logged

-----
Owner of http://mike.simbunch.com
Creator of ParaInvite, AJAX Sandbox, AJAX SMF Polls, Profile URL etc..
dembrand
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 3


View Profile
Re: Integration Issues with Profiles and PMs
« Reply #16 on: March 05, 2006, 02:11:56 PM »

Here is an example link:

http://www.dembrand.hu/alpha/alpha/index.php?option=com_smf&Itemid=28&action=pm#2

Now, the issue is, that the main folder should be "/alpha" and not "/alpha/alpha". The folder name is doubled here!

This happens only in the PM subject, nowhere else. I checked the backend,
the path is set correctly there.

Any ideas?

Logged
Frando
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: Integration Issues with Profiles and PMs
« Reply #17 on: March 13, 2006, 02:31:55 PM »

Another way is to 'catch' the smf-URL in com_smf and then load index.php which will then load your pms component.

I've managed it that way to redirect the user profile links to CB...

Just open smf.php (in components/com_smf/) and paste the following after line 22 (for the user profiles):

Code:
$currentaction = explode(";",mosGetParam( $_GET, 'action', NULL ));
if ($currentaction[0] == 'profile') {
    $uid = explode("=",$currentaction[1]);
    $uid = $uid[1] + 61;
    $_REQUEST['taks'] = 'userProfile';
    $_REQUEST['user'] = $uid;
    $_REQUEST['option'] = 'com_comprofiler';
    $_GET['taks'] = 'userProfile';
    $_GET['user'] = $uid;
    $_GET['option'] = 'com_comprofiler';
    unset ($_GET['action']);
    unset ($_REQUEST['action']);
    include("index.php");
    exit();
}   

Of course it's not in particular nice, but for the time being it's the best solution I think ... it works fine for me, and you don't have to hack any code, just add this little part ...

I haven't done it yet for PMS, but it should be nearly the same ...

regards,
Frando
Logged
Pages: 1 [2] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
i-Vibe.com
Search Contact About Advertise Blogs Topsites Submit News Register Login