News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Trouble with User Registration

Started by NZeus, February 21, 2005, 11:15:46 AM

Previous topic - Next topic

NZeus

Hi again  >:(

At least I can install the Component ;)

But Now, I have another problem.

IF I register an user on Mambo the user can't login in the forum.
If I register an user on the forum he can't login on mambo.

I have installed a component called com_smf_registration but I dont know how to activate it. Can be this the problem?

Thanks :D

Kindred

NZeus...

How are you registering a user in Mambo or in SMF?

You must use the register link in the login module...  or call the smf_registration component, as mentioned in the readme included with that file.

You should NOT add users through the admin interface in Mambo... but any users that exist in SMF will be ported to mambo the first time they log-in using the bridge.

Most especially... you should UNPUBLISH the standard mambo login and only use the bridge login!
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

The Ovinie

it doesn't work with me >:( the mambo login and the smf login are separate ::)

Kindred

Give us LINKS folks...   often it's something simple that you missed that we can figure out by just looking at your site....
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

The Ovinie

hxxp:www.kwurgh.com/er/ [nonactive]  :)

chadness

The Ovinie - it looks like you are still using the Mambo built in login module instead of the one that came with the bridge.  That's problem number 1.  Problem number 2 is that you need to either modify your SMF theme as the readme states, or use the latest version 3.01.  I don't think that's happening either?

The Ovinie

the latest version didn't contain the files that were mentioned in the readme ::) and how do I use the bridge lgin ( i installed it, but it's stange that it's the only login that's "version 5.4.1")

chadness

You need to unpublish the login module that is built in to Mambo, and publish the one that came with the bridge.  The one that came with the bridge will list under the Type column in your module list, "mod_smf_login", while the built in to Mambo one will say "mod_login".  Publish mod_smf_login, unpublish mod_login.  You'll be most of the way there, then.

What files were missing?  The directory structure changed a little bit, but all the files should be there.

NZeus

Well..I fixed the Login Problem. the user will login in mambo using the com_login and then he will be redirected to the forum and he has to login again. But he only has to register once time using the com_smf_registration.

My question is, How can I set as default the com_smf_registration. Because the 2 modules (Login and Login SMF) use as register the normal module.

YOu can see it at hxxp:mza.topgearracing.net/portal [nonactive]

Kindred

NZeus...

You have not followed  the instructions...

UNPUBLISH the mambo login module (the one labeled mod_login in the type field)

PUBLISH the SMF bridge login module (labeled mod_smf_login in the type field)

have you installed and applied the SMF package that also comes with the login module?!
because your register link is incorrect in both Mambo and SMF.

The way you are doing it now, you don't actually have the bridge working...   logins are made to mambo and SMF separately.
When it's working, the user logs in ONCE and is logged in to both mambo and SMF. There is no need to have them login two separate times.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

NZeus

Look, I dont want to have the Login Module to log twice..

I only wants that the user only have to register once time and get access to Mambo and Forum.

So, I see that the COM_smf_registration do that but com_registration (the normal registration link no).

So, I want to know HOW to make that the Register link redirects to Com_smf_registration and NOT to com_registration.

thanks

Kindred

That doesn't make a whole lot of sense... You want your users to have to log in two separate times?!
Once for mambo and once for SMF???

If that is the case, you'll have to change the code in the mod_login and in the SMF index.template.php and login.template.php and possibly several other SMF template files...

(you are essentially bypassing the functionality that the bridge installs...)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Orstio

QuoteLook, I dont want to have the Login Module to log twice..

I only wants that the user only have to register once time and get access to Mambo and Forum.

So, you want the logins separate, but the registration combined?  This is possible.  :)

You can add the smf_registration component to your Main Menu, and that will provide the link to the combined registration. (Did I mention that this works now?) ;)

You may need to edit your login.html.php to exclude the link to the Mambo-only registration, or better, edit it to point to the smf_registration component.

The rest should take care of itself.

NZeus

Orstio, that's what I want!
Really thanks! :D

Quote from: kindred on February 21, 2005, 09:58:44 PM
That doesn't make a whole lot of sense... You want your users to have to log in two separate times?!
Once for mambo and once for SMF???

If that is the case, you'll have to change the code in the mod_login and in the SMF index.template.php and login.template.php and possibly several other SMF template files...

(you are essentially bypassing the functionality that the bridge installs...)

Well...I fixed that with only 1 line editing..instead of all you say.

I only change the login module and the Register option redirects to com_smf_registration and it works as I want

Just that.
Thanks anyway

The Ovinie

Quote from: chadness on February 21, 2005, 05:05:40 PM
You need to unpublish the login module that is built in to Mambo, and publish the one that came with the bridge.  The one that came with the bridge will list under the Type column in your module list, "mod_smf_login", while the built in to Mambo one will say "mod_login".  Publish mod_smf_login, unpublish mod_login.  You'll be most of the way there, then.

What files were missing?  The directory structure changed a little bit, but all the files should be there.
thanks! I already knew that you had to unpublish mod_login, but I couldn't find it, than I discovered that there is more than 1 page in the modules list :P stupid me ;)
erm..you mentioned that I have to change the smf theme? Well, I installed the packages again (the newest bridge), so do I still have to change the theme?

Orstio

Thanks, Ovinie, I just noticed another bug in the bridge going to your site.  ;D


Advertisement: