News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Mambo SMF Bridge and Mambo phpShop

Started by shanny, March 27, 2005, 06:14:16 PM

Previous topic - Next topic

shanny

Greetings Everyone,

Happy Easter to all,

I was wondering if anyone has a successful installation of Mambo, SMF (bridged/integrated login/registration) and Mambo phpShop. I am testing on my local PC. I have Mambo and SMF bridged and appearing to work properly. When testing the shopping cart, it prompts for registration info. After going through all the steps, the user is created in Mambo but not SMF.

If someone has a similar setup working and could give me some tips to force the phpShop users that are added to the mos users table to automatically be added to the SMF users table that would be VERY helpful.

Thank you


shanny

Can you tell me what versions you're using and patches, if any?

I'm testing using Mambo 4.5.2
SMF version 1.0.2
Mambo phpShop version 1.2

Thank you

shanny

Quote from: trenchteam on March 27, 2005, 06:18:46 PM
Dont know, but its working fine on my site.

http://www.shoyoroll.com/portal [nofollow]   



I just went to your site. I added an item to the cart and filled out the registration form. I was sent an activation link via email and I show up in the 5 newest users area but when I tried to log in to the site via the Mambo-SMF form, it errors saying the user doesn't exist....same problem I'm having here. Not sure if this is at the root of my issue but phpShop is using "com_registration" and not the smf_registration...

Orstio

QuoteNot sure if this is at the root of my issue but phpShop is using "com_registration" and not the smf_registration...

That will be the problem.

Search through the PhpShop files, and change "com_registration" to "com_smf_registration".

shanny

Quote from: Orstio on March 27, 2005, 09:14:42 PM
QuoteNot sure if this is at the root of my issue but phpShop is using "com_registration" and not the smf_registration...

That will be the problem.

Search through the PhpShop files, and change "com_registration" to "com_smf_registration".

Tried that but alas...not so simple  >:(

I suppose I should leave this alone for the night...I was comparing the Mambo phpShop shop.registration.php file to the values in the smf registration file and I noticed quite a few differences....if I could narrow down where in the shop.registration.php file to paste the smf functions I would be set...

trenchteam

^ wow. this is new to me.  Can you please let me know when you get the fix. didn't realize this was happening.

shanny

It may be awhile  :( My php knowledge is practically nil and so far no feedback from the phpShop and Mambo forums. What I tried doing was comparing the com_registration file to the phpShop shop.registration file. They look practically identical so I tried copying and pasting the phpShop sections into the smf_registration file but still a no go. After clicking on the send registration button I get a white screen with no user added to either Mambo or SMF.

Orstio

Find the text "com_registration" in the following files, and change all instances to "com_smf_registration":

administrator/components/com_phpshop/html/shop.registration.php
components/com_content/content.html.php
components/com_login/login.html.php
includes/sef.php

shanny

still no luck
the shop.registration.php from phpShop (if I'm understanding it correctly)
creates the user in the mos_users table...it is identical to Mambo's native
registration.php file....it just adds some custom code to create additional fields
for the shipping address, etc...and I'm wondering if this is why
just changing com_registration to com_smf_registration has no effect. There's no
code in shop.registration.php to add the user to SMF just Mambo.

I really appreciate your time and assistance on this issue, Orstio

Advertisement: