SimplePortal

Customization => Custom Coding => Topic started by: mrazz on April 16, 2009, 08:25:40 PM

Title: joomla-smf and simple portal
Post by: mrazz on April 16, 2009, 08:25:40 PM
i have installed joomla 1.0.15 and smf 1.1.8 and simple portal 2.2 versions. smf and joomla they are working fine through bridge but when i want to come by joomla to simple portal its not showing the portal. any help...
Title: Re: joomla-smf and simple portal
Post by: Eliana Tamerin on April 16, 2009, 08:40:40 PM
Is there a link so we can see how this is set up?

And which Joomla bridge are you using?
Title: Re: joomla-smf and simple portal
Post by: mrazz on April 17, 2009, 02:07:42 AM
i am using joomla-sfm bridge version 2.0.2.1a and at the moment the site is not online. i am developing it on my localhost. what i want is exactly a link to simpleportal index page. like http://localhost/smf/simpleportal.index. is there any not like "echo '<li><a href="', $scripturl, '" class="kwick opt0"><span>' , $txt[103] , '</span></a></li>';" i hope you understand what i mean.
Title: Re: joomla-smf and simple portal
Post by: [SiNaN] on April 17, 2009, 02:12:41 AM
Okay, I can guess the issue. SimplePortal tries to detect if you are really on portal or not by checking what's in the $_GET. If there is something that is not a usual portal action in $_GET, that means you aren't on portal and SimplePortal is not shown. If you can post the full url to the forum that you use to reach from Joomla!, I can show you how to add exceptions to the portal actions list.

Under normal conditions, portal will be displayed in http://localhost/smf/index.php and board index will be http://localhost/smf/index.php?action=forum.
Title: Re: joomla-smf and simple portal
Post by: mrazz on April 17, 2009, 02:45:13 AM
thanks SiNaN (http://simpleportal.net/index.php?action=profile;u=2)... you exactly get it what i want. i am developing on my local computer so it is not possible yet you can see the site. i will explain something. when i am in the joomla page there i put a top menu to link to forum and as usual the home button is for simple portal. now when i put my cursor on forum button i am getting this kind of link in my status bar :
Code: [Select]
http://localhost/smf/index.php?option=com_smf&Itemid=33&action=forumand when i put my my mouse cursor on arcade i am getthing this kind of code:
Code: [Select]
http://localhost/smf/index.php?option=com_smf&Itemid=33&action=arcadeand same codes like login, logout, register etc with ending of the button name. and i think i am getting the name of the code because in my index.template.php these all button have a command for example for forum index it will says "action=forum" and for aracad it's written "action=arcade". but when i put my cursor on the home button which is for portal it's showing me this code of line :
Code: [Select]
http://localhost/smf/index.php?option=com_smf&Itemid=33&on the end there is no actin written.. i hope you understand what i mean.
thanks for any help

edit: sorry i foget to mention i put there one chat button and in index.template.php i edit the chat button location to
Code: [Select]
http://localhost/smf/chat/index.phpand when i see through joomla i am not getting any additional word except what i put in index.template.php so i can enter in chat...it's a direct link to chat..is there any direct link to portal so i can put in my index.template.php...
Title: Re: joomla-smf and simple portal
Post by: [SiNaN] on April 17, 2009, 02:52:49 AM
Try this.

Subs-SPortal(1-1|2).php

Code: (Find) [Select]
'wwwRedirect' => true,
Code: (Replace) [Select]
'wwwRedirect' => true,
'option' => 'com_smf',
'Itemid' => 33,
Title: Re: joomla-smf and simple portal
Post by: mrazz on April 17, 2009, 03:07:50 AM
i see only one file in Sources named Subs-SPortal1-1.php so i edit it as you mention above and i am getting this parse error:
Code: [Select]
Parse error: syntax error, unexpected T_IF in /www/wamp/smf/Sources/Subs-SPortal1-1.php on line 1is there a way to make a custom action like forum.arcade.gallery i will put action in my index.template.php and it will jump to the portal...thanks
Title: Re: joomla-smf and simple portal
Post by: [SiNaN] on April 17, 2009, 04:20:42 AM
Are you sure you edited the file correctly? Error message says that it's a typo on the first line of the file. If you can't figure out the issue, attach the edited file here.
Title: Re: joomla-smf and simple portal
Post by: mrazz on April 17, 2009, 04:25:42 AM
i am attaching the file you can see i edit on line 362
Title: Re: joomla-smf and simple portal
Post by: [SiNaN] on April 17, 2009, 04:39:06 AM
I tested the file and its okay. Make sure you are uploading it correctly.
Title: Re: joomla-smf and simple portal
Post by: mrazz on April 17, 2009, 04:48:42 AM
yes you were right maybe there was problem in saving or what i don't know . but now its the same as before when i click home (portal) button it's not showing me anything except gloabal header and footer of the forum and everything else is working...
Title: Re: joomla-smf and simple portal
Post by: mrazz on April 18, 2009, 08:26:21 AM
thanks SiNaN for your help ...now i got working ... i put one custom button to the home page from joomla direct link. so it's like an external link from joomla to the portal....anyway thanks for your help...and i don't know if you can help me in one more thing about ajaxchat..i know maybe it not concern to you but maybe.... thanks for everything

here is my problem please read last post CLICK ME (http://www.smfhelper.info/forum/index.php?topic=4433.msg42353#msg42353)
Title: Re: joomla-smf and simple portal
Post by: [SiNaN] on April 18, 2009, 08:36:49 AM
Glad that you could solve your problem. Unfortunately I never used chat mods, so can't help much about that. I suggest that you try the support topic of the mod on sm.org.
Title: Re: joomla-smf and simple portal
Post by: mrazz on April 18, 2009, 08:39:55 AM
it' ok SiNaN thanks a lot for your support...God Bless you and Happy Easter to you and to all of you team
SimplePortal 2.3.8 © 2008-2024, SimplePortal