• Welcome to Simple Machines Community Forum. Please login or sign up.
January 21, 2022, 01:00:29 PM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


Newbie bridge Clarification

Started by aducrejr, January 14, 2005, 01:56:21 AM

Previous topic - Next topic

aducrejr

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?

[Unknown]

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]

chadness

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.

aducrejr

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 [nofollow]) 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?

Orstio

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.

aducrejr

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?

Orstio

Add the component to your Main Menu.

aducrejr

January 16, 2005, 12:34:32 AM #7 Last Edit: January 16, 2005, 01:06:37 AM by aducrejr
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


Orstio

Have you edited your Mambo template, other than adding the code in the header?

aducrejr

After reading your post I tried a template that I only added header code to and I have the same results

Orstio

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?

aducrejr

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

Orstio

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.

aducrejr

would it help if I reeinstalled SMF?. I am not sure why that error is ocurring

Orstio

Possibly.  There is something very wrong there.

aducrejr

I am sure this error is new since I upgraded

Advertisement: