News:

Wondering if this will always be free?  See why free is better.

Main Menu

Mambo Open Source

Started by Sreya, February 24, 2004, 01:40:26 AM

Previous topic - Next topic

marcnyc

I have a question about this Mambo port/bridge that is available.
Will it change the table structure of SMF or will it adapt the structure of MAMBO?
In other words can I install SMF first and then MAMBO and after having installed MAMBO still be able to upload an SQL file to my SMF database or will tables/vars/names be different in the SMF database?
Thanks

davy19

Hmm I am getting further but still having some strange things...

If I log into mambo, it then takes me to the forums but i still have to log into the forums again.  It does not seem to also keep me logged into mambo

I am not sure what I did wrong?? 

http://www.thebandalliance.org/mambo

thanks

Kindred

Interesting, I had not gotten around to testing the polls.

Using the mambo-bridge login (through mambo), no polls can be added or voted on.

When I tried to add a new poll, an error message happened.
I then went into the forum through a direct link (not through Mambo) and added a poll successfully.

I was able to vote in the poll through the direct link.

Reentering the forums through Mambo, I get the following message when trying to enter a vote:

QuoteThe page you are trying to access does not exist.
Please select a page from the main menu. 

However, after adding a poll though the direct link, connecting through Mambo appears to let me add new polls now, even if it won't let me vote in them...

Сл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."

yardbird

Quote from: marcnyc on October 28, 2004, 07:18:03 AM
I have a question about this Mambo port/bridge that is available.
Will it change the table structure of SMF or will it adapt the structure of MAMBO?
In other words can I install SMF first and then MAMBO and after having installed MAMBO still be able to upload an SQL file to my SMF database or will tables/vars/names be different in the SMF database?
Thanks

You can have SMF already installed in its own directory ( like www.yoursite.com/smf )
and you can have Mambo installed afterwards ( like www.yoursite.com ... mambo can be in root or in it's own directory)

When installing either of these you want to have them use the same database. Mambo tables will have mos_ prefix (by default...unless you change it) and smf tables will have smf_ prefix (by default) so you can still import a sql file into the smf_ tables without disturbing the mos_ tables.

marcnyc

Thanks for your answer. That's what I wanted to know and what I was hoping to hear.
So, out of curiosity, if the two tables remain independent, how does the bridge "link" them? I imagined that one of the two user tables (either the smf_ or the mos_ one) would be deleted so that both softwares can use just one, I guess I was wrong...

So which is the best mambo bridge? I hear there are two or three around? True?
Is the integration perfect yet? What are the gray areas? I have been reading about issues (polls, log ins etc)...

I am about to install Mambo and I would like to make it as smooth as possible for my users (and myself) ;-)

Hope somebody can answer my questions. Thanks in advance.

Kris

Quote from: kindred on October 28, 2004, 10:06:57 AM
Interesting, I had not gotten around to testing the polls.

Using the mambo-bridge login (through mambo), no polls can be added or voted on.

When I tried to add a new poll, an error message happened.
I then went into the forum through a direct link (not through Mambo) and added a poll successfully.

I was able to vote in the poll through the direct link.

Reentering the forums through Mambo, I get the following message when trying to enter a vote:

QuoteThe page you are trying to access does not exist.
Please select a page from the main menu. 

However, after adding a poll though the direct link, connecting through Mambo appears to let me add new polls now, even if it won't let me vote in them...



A member  let me know about the poll. I didn't notice it myself before...

[Unknown]

Do attachments work?

-[Unknown]

Kris

Quote from: [Unknown] on October 28, 2004, 02:24:54 PM
Do attachments work?

-[Unknown]

no, upload directory is full I get

Claudek

#328
By polls you mean the SMF one or the Mambo one?
I have a test setup of Mambo and SMF using the latest v2.01 beta bridge. My environment is WinXP running Apache. As admininstrator, I was able to create a poll in Smf and vote on it as well.

[tested with a user in firefox and was able to add to poll with reply]

Just tested uploading, IE crashed but it did post the attachment. Maybe a permission thing as in Xp currently I have basically 777 permissions everywhere.

[tested with normal user, a gif attachment in Firefox and managed to post with no errors]

yardbird

Quote from: marcnyc on October 28, 2004, 10:58:43 AM
Thanks for your answer. That's what I wanted to know and what I was hoping to hear.
So, out of curiosity, if the two tables remain independent, how does the bridge "link" them? I imagined that one of the two user tables (either the smf_ or the mos_ one) would be deleted so that both softwares can use just one, I guess I was wrong...

So which is the best mambo bridge? I hear there are two or three around? True?
Is the integration perfect yet? What are the gray areas? I have been reading about issues (polls, log ins etc)...

I am about to install Mambo and I would like to make it as smooth as possible for my users (and myself) ;-)

Hope somebody can answer my questions. Thanks in advance.

No tables are deleted. In fact you can very easily UNbridge and continue to use Mambo normally and SMF normally. When you use Ortsio's bridge you UNpublish the standard Mambo login module and you publish the bridge login. At that point you no longer want people accessing the SMF directly. You want them to access SMF only from within your Mambo site and the link to SMF is then a link to com_smf .... NOT a direct link to SMF (I had that screwed up on mine for a while). It actually worked quite well.  I only UNbridged because I realized nobody needs to log in to my Mambo site for anything. The only part they had to log in to was the message boards. So I didn't NEED the bridge.

marcnyc

Thanks for your reply. I appreciate your time and contribution.
Can somebody answer my other questions?
<<< So which is the best mambo bridge? I hear there are two or three around? True?
Is the integration perfect yet? What are the gray areas? I have been reading about issues (polls, log ins etc)...
I am about to install Mambo and I would like to make it as smooth as possible for my users (and myself) ;-) >>>

Orstio

Quote from: [Unknown] on October 28, 2004, 02:24:54 PM
Do attachments work?

-[Unknown]

Attachments work, and I have IM'd you about the poll issue.  Hope you can help out with that.

Kris

Another weird thing...

I noticed that some members login in automatically got copied in the database of mambo, but some not (at least not in the backend). But when I look in the table directly I see them there.
The ones who can see the user menu got a gid with value 18 but registered before and after (have a value in the registered-field) I had the last version of the registration module that copies automaticaly all into the other table.
People that are copied by the module when logging into the portal throught the new login screen got a gid with value 1 and an empty registered field.

But strange things happen. Sone see the user menu and some not...
Even took over a pc of a member, deleted all cookies, deleted then record in the table, then logged in again into the portal and they show up in the table as a new record BUT not in the user list in Mambo ??? .
And then that don't see the user menu.

Anyone got this problem too??

I got 210 members in the mambo backend interface but the table shows 283 already converted...

Orstio

Thanks for that, Kris.  I've fixed it.

Kris

Quote from: Orstio on October 30, 2004, 03:00:05 AM
Thanks for that, Kris.  I've fixed it.

Thanx, got the file by mail. :)

Could you tell me what you fixed exactly, maybe I need to update the user table?

Orstio

I didn't have it setting the new entries in mos_users=>gid to 18.  You can probably do that manually for those already there (Just change them from 1 to 18).  The file I sent you will do it automatically for new entries.

Kris

#336
Quote from: Orstio on October 30, 2004, 05:01:58 AM
I didn't have it setting the new entries in mos_users=>gid to 18.  You can probably do that manually for those already there (Just change them from 1 to 18).  The file I sent you will do it automatically for new entries.

Also happens when they login again next time? or not?

edit: just ran a UPDATE mos_users set gid = 18 where gid = 1

Kindred

Ok, Orstio...   Here's my results from my latest playing around:

Went to add a new test user.

Regsitration went just fine, Mambo sent the user an activation notice, and sent the admins a notice that a new user had registered.
I have those features in SMF turned off to avoid duplication.

I see a potential problem here, however...   since the user is registered in SMF automatically, they can log into the forums even with activating their mambo side of the account.
If I turn on the SMF activation, then the user activates the mambo side and is still non-active on the SMF side.

I have to wonder if there is a way to request and tranfer more information from Mambo to SMF in terms of user details. Specifically, a user registers in Mambo with only username, real name email address and password. There is a host of other information that SMF would like that should (possibly) also be available in the mambo user info.


I wonder if we can get Mambo to use the SMF_MEMBERS table instead of the MOS_USERS and SMF_MEMBERGROUPS instead of MOS_USERTYPES


Now, other issues remaining...
I still have problems with the log-in, log-out.
If I go directly to SMF (in other words, bypass Mambo), I can not log out. The logout button does nothing.

If I log out from SMF within Mambo, using either the SMF logout button or the bridge logout, it logs me out of SMF, but not out of Mambo. I am listed as a guest in SMF, but as myself in Mambo.

If I then log out of Mambo (using the Mambo specific logout link) I am now listed as a guest (correctly) in both.

If I then log IN, using the bridge module, I am logged in to SMF (properly) but am still listed as a guest in Mambo until  some random time period...   I have tried with both Mambo Cache on and mambo cache off. It seems to make no difference.


I also am confused about what I am doing wrong if no one else is having these login/logout problems....

The last issue is the Polls...
From a direct connection to SMF (by passing Mambo) users can vote and create polls.
from within mambo to SMF, users can not vote.




Сл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

QuoteI wonder if we can get Mambo to use the SMF_MEMBERS table instead of the MOS_USERS and SMF_MEMBERGROUPS instead of MOS_USERTYPES

That can't be done without changing Mambo core files.  I didn't want to change either Mambo nor SMF beyond templates and themes.

I'll add a custom activation to my list of to-do's.  One activation should be able to handle both.


QuoteNow, other issues remaining...
I still have problems with the log-in, log-out.
If I go directly to SMF (in other words, bypass Mambo), I can not log out. The logout button does nothing.

If I log out from SMF within Mambo, using either the SMF logout button or the bridge logout, it logs me out of SMF, but not out of Mambo. I am listed as a guest in SMF, but as myself in Mambo.

If I then log out of Mambo (using the Mambo specific logout link) I am now listed as a guest (correctly) in both.

If I then log IN, using the bridge module, I am logged in to SMF (properly) but am still listed as a guest in Mambo until  some random time period...   I have tried with both Mambo Cache on and mambo cache off. It seems to make no difference.


I also am confused about what I am doing wrong if no one else is having these login/logout problems....

There is something strange going on with the sessions.  I will probably need some help from [Unknown] to get the sessions working 100%.  It's probably something really obvious that I'm missing.   :-\

QuoteThe last issue is the Polls...
From a direct connection to SMF (by passing Mambo) users can vote and create polls.
from within mambo to SMF, users can not vote.

I think that one's been fixed.

[Unknown]

#339
I think sessions are going to have to be forced as not database driven for this to work, technically speaking....

-[Unknown]

Advertisement: