Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Mambo Bridge Support => Topic started by: aducrejr on January 14, 2005, 01:56:21 AM

Title: Newbie bridge Clarification
Post by: aducrejr on January 14, 2005, 01:56:21 AM
Sorry for the basic questions. I am have
I am having a very hard time with the read me files

1.   com_smf_registration_mos4.5.1
after I install the component I am not able to edit config. When I click on it I get redirect to the home page under mambo admin
Is this where you input ?option=com_smf_registration&task=register ( I am not sure were this goes)

2.   where does mos2smfusers.php go?
Title: Re: Newbie bridge Clarification
Post by: [Unknown] on January 14, 2005, 04:30:43 AM
Quote from: aducrejr on January 14, 2005, 01:56:21 AM
after I install the component I am not able to edit config. When I click on it I get redirect to the home page under mambo admin
Is this where you input ?option=com_smf_registration&task=register ( I am not sure were this goes)

No.  It has no configuration... you don't put that there, you put it in a few places of SMF.

Quote2.   where does mos2smfusers.php go?

I haven't had a chance to look at this utility yet, however... I would guess it's as simple as uploading it to the same folder as Mambo or the same folder as SMF, and pointing your browser to it ;).

-[Unknown]
Title: Re: Newbie bridge Clarification
Post by: chadness on January 14, 2005, 10:05:29 AM
1. Instructions for where to put that are in the readme for the login module.  You might also want to put that any where else in your theme it points to registration - if you're using the default template, I believe it's the login and board index temaplte files (can't remember their names off hand).

2. What [Unknown] said is correct.  Instructions are in the readme file.
Title: Re: Newbie bridge Clarification
Post by: aducrejr on January 15, 2005, 03:37:02 PM
1. after I insert the code from the readme file into the index.php file of the template I am using the modules/content on screen disaprears


<?php
global $sc, $context;

if (!defined('SMF')){
  require ($mosConfig_absolute_path."/administrator/components/com_smf/config.smf.php");
  require ($smf_path."/SSI.php");
}

$sc = &$context['session_id'];
$_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];

?>
[/sub]

2. I was able to change settings under components/simple machine forum/edit config
I change path to smf to: /forum (thats the dir on my sever www.aducrejr.com/forum) is this correct?

3. I am not able to change setting under components/simple machine forum registation. when I click on it I am loop back to mambo/control panel. Is this normal?
Title: Re: Newbie bridge Clarification
Post by: Orstio on January 15, 2005, 03:53:41 PM
Quote1. after I insert the code from the readme file into the index.php file of the template I am using the modules/content on screen disaprears


<?php
global $sc, $context;

if (!defined('SMF')){
  require ($mosConfig_absolute_path."/administrator/components/com_smf/config.smf.php");
  require ($smf_path."/SSI.php");
}

$sc = &$context['session_id'];
$_SESSION['USER_AGENT'] = $_SERVER['HTTP_USER_AGENT'];

?>
[/sub]

Your problem is fixed in #2.

Quote2. I was able to change settings under components/simple machine forum/edit config
I change path to smf to: /forum (thats the dir on my sever www.aducrejr.com/forum) is this correct?

No.  It should be just forum, without the leading slash.

Quote3. I am not able to change setting under components/simple machine forum registation. when I click on it I am loop back to mambo/control panel. Is this normal?

That is normal.  There is nothing there to change.
Title: Re: Newbie bridge Clarification
Post by: aducrejr on January 15, 2005, 11:21:06 PM
1. I removed the forward slash (/) from path to smf only forum in the box
It did not fix my problem

When I place code in index.php and publish mod_smf_login I lose content on left and right side of page.  any other suggestion on why this is happening?
Title: Re: Newbie bridge Clarification
Post by: Orstio on January 15, 2005, 11:36:08 PM
Add the component to your Main Menu.
Title: Re: Newbie bridge Clarification
Post by: aducrejr on January 16, 2005, 12:34:32 AM
Quote from: Orstio on January 15, 2005, 11:36:08 PM
Add the component to your Main Menu.

That was the step that I was missing

I have included the component to main menu

same problem still exist

when I  pubish module and add code content all module content disapears

I did unpublish mod_login when I publish mod_smf_login

The componet link work when you click on forum from main menu when when module is unpublish and code removed

Title: Re: Newbie bridge Clarification
Post by: Orstio on January 16, 2005, 07:44:32 AM
Have you edited your Mambo template, other than adding the code in the header?
Title: Re: Newbie bridge Clarification
Post by: aducrejr on January 16, 2005, 11:46:35 AM
After reading your post I tried a template that I only added header code to and I have the same results
Title: Re: Newbie bridge Clarification
Post by: Orstio on January 16, 2005, 12:00:17 PM
Hmmm.. There are some strange things going on there.

What version of the bridge are you using?  And, what version of Mambo?

Have you edited SSI.php or smf.php?
Title: Re: Newbie bridge Clarification
Post by: aducrejr on January 16, 2005, 12:05:19 PM
I am using the files in MOS_SMF_BRIDGEv2[1].11stable and Mambo 4.5.1a Stable


And I haven't edited SSI.php or smf.php

this is very strange
Title: Re: Newbie bridge Clarification
Post by: Orstio on January 16, 2005, 12:08:37 PM
OK, one of your problems is in SMF (stand alone):

http://www.aducrejr.com/forum/index.php?topic=2.0

QuoteDatabase Error
Please try again. If you come back to this error screen, report the error to an administrator. 

That should not have anything to do with the bridge.
Title: Re: Newbie bridge Clarification
Post by: aducrejr on January 16, 2005, 02:19:51 PM
would it help if I reeinstalled SMF?. I am not sure why that error is ocurring
Title: Re: Newbie bridge Clarification
Post by: Orstio on January 16, 2005, 02:21:12 PM
Possibly.  There is something very wrong there.
Title: Re: Newbie bridge Clarification
Post by: aducrejr on January 16, 2005, 02:23:37 PM
I am sure this error is new since I upgraded