News:

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

Main Menu

Mambo Open Source

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

Previous topic - Next topic

Kindred

#260
Ok, I ran the install stuff...

Let me begin by saying, I like it. It's a better job than I can do.
That being said (and me being a QA person) I have some comments that hopefully will be easy to fix and viewed as constructive... :)

1st, for some reason (I assume my theme) the text in the login box is not really visible... it's the same colour as the background of the box.   Where is the text colour defined?

2nd, if I switch Themes, the login box is completely screwed up. I currently have "planetfall" loaded. it shows up with no text and no space in the text boxes in any of the other themes.
Actually, it goes further than that. When I switch to a different theme in Mambo, the forum link calls up a blank page and never gets to the SMF homepage.

3rd, I log in. SMF recognizes me as being in. Mambo doesn't... Mambo stil sees me as a guest... I can't get the system to recognize me as being logged in to Mambo.

<EDIT:  After about 60 minutes of being logged in to SMF, I reloaded the mambo homepage and it appear to have recognized me... however, if I log out of SMF (using the logout box) it still has me in Mambo. If I log out of Mambo suing the link in the user menu, and then log back in to SMF (using the login box), I am back to logged in to SMF, guest in Mambo.>

On the other hand, the Coppermine->SMF connection works like a charm and Coppermine recognizes that I have logged into SMF through Mambo. (running Coppermine as a wrapper)

4th, The top level off SMF doesn't link inline with the Mambo screens. The sidebar menu gets bumped down below the forum "window". Once I get into any opf the detailed screens (anything but the SMF top menu) it corrects itself.
4a) I also notice that the text of the message boards is quite large when SMF is loaded through Mambo...

5th, logging into the SMF portion doesn't work at all now. (I made the changed to the SMF code to call mambo_login rather than login2)

The registration link appears to work correctly, installing a new user in both SMF and Mambo. However, current SMF users (prior to the Mambo integration) are not ported.

6th, The "edit Config" links in Mambo admin for the two SMF components don't do anything. i clikc them and they bring up the top-level Mambo Admin page.


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

QuoteLet me begin by saying, I like it. It's a better job than I can do.

Thanks.  :)

QuoteThat being said (and me being a QA person) I have some comments that hopefully will be easy to fix and viewed as constructive...

I'll keep you in mind for alpha testing.... ;)

Quote1st, for some reason (I assume my theme) the text in the login box is not really visible... it's the same colour as the background of the box.   Where is the text colour defined?

That should be in your CSS.  Take a look at mod_smf_login.php to see where it is getting the style.

Quote2nd, if I switch Themes, the login box is completely screwed up. I currently have "planetfall" loaded. it shows up with no text and no space in the text boxes in any of the other themes.
Actually, it goes further than that. When I switch to a different theme in Mambo, the forum link calls up a blank page and never gets to the SMF homepage.

Don't forget that the include has to go in your Mambo template.  So, if you switch templates, you have to put the include in the template you switch to.

Quote3rd, I log in. SMF recognizes me as being in. Mambo doesn't... Mambo stil sees me as a guest... I can't get the system to recognize me as being logged in to Mambo.

<EDIT:  After about 60 minutes of being logged in to SMF, I reloaded the mambo homepage and it appear to have recognized me... however, if I log out of SMF (using the logout box) it still has me in Mambo. If I log out of Mambo suing the link in the user menu, and then log back in to SMF (using the login box), I am back to logged in to SMF, guest in Mambo.>

On the other hand, the Coppermine->SMF connection works like a charm and Coppermine recognizes that I have logged into SMF through Mambo. (running Coppermine as a wrapper)

That's rather odd behaviour.  Do you have a link so I can see?  Have you tried deleting your cookies?  I noticed something weird if I accessed the page halfway through installation, it did something funny to my Mambo cookie.  Is your Mambo username/password the same as your SMF username/password?

Quote4th, The top level off SMF doesn't link inline with the Mambo screens. The sidebar menu gets bumped down below the forum "window". Once I get into any opf the detailed screens (anything but the SMF top menu) it corrects itself.
4a) I also notice that the text of the message boards is quite large when SMF is loaded through Mambo...

This is because you need to alter your SMF theme and/or Mambo template a bit, to make it fit.

Quote5th, logging into the SMF portion doesn't work at all now. (I made the changed to the SMF code to call mambo_login rather than login2)

That's strange.  It should work, because the login for SMF is the first part of the function. 

QuoteThe registration link appears to work correctly, installing a new user in both SMF and Mambo. However, current SMF users (prior to the Mambo integration) are not ported.

Current SMF users are ported only when they login.  If a user exists in SMF, but not in Mambo, the login checks for that, and writes them into the Mambo database.  But that happens only when they login.

Quote6th, The "edit Config" links in Mambo admin for the two SMF components don't do anything. i clikc them and they bring up the top-level Mambo Admin page.

Yeah, I know.  I need to do a crash course on how to pretty that up.

[Unknown]

Sounds like it's coming along nicely....

When I have time, I'd like to give it a once over and try to give you some more in-depth comments on it; if you want?

Remember, my comments (even if they sound harsh, or mean you have to rewrite parts you didn't even like writing the first time) are given as a sign of gratitude - I consider comments to be (for me, and from me) a very very useful thing (importantly, I don't think mine are that special, except that I'm a fellow developer...) for any developer.

Some people take my comments and changes, etc... as "what are you doing writing this?" and "wrong, wrong, wrong... all wrong."  But, that's not what I mean.... Grudge I think, at first, thought this too... but I think he understands now what I mean by them.

-[Unknown]

Orstio

Quote from: [Unknown] on October 19, 2004, 05:30:39 AM
Sounds like it's coming along nicely....

When I have time, I'd like to give it a once over and try to give you some more in-depth comments on it; if you want?

Remember, my comments (even if they sound harsh, or mean you have to rewrite parts you didn't even like writing the first time) are given as a sign of gratitude - I consider comments to be (for me, and from me) a very very useful thing (importantly, I don't think mine are that special, except that I'm a fellow developer...) for any developer.

Some people take my comments and changes, etc... as "what are you doing writing this?" and "wrong, wrong, wrong... all wrong."  But, that's not what I mean.... Grudge I think, at first, thought this too... but I think he understands now what I mean by them.

-[Unknown]


Well, so far, I've taken your comments as useful, thought-provoking, and directive.  Twice (for sure) now, something you have posted has made me think of different ways to achieve this bridge correctly, which has definitely resulted in more work, but a better product. 

That said, I wouldn't mind at all if you took a look.  I'll warn you now that I haven't switched the smf.php to your code yet, but plan to do that in the next revision.  (BTW, when I tested that code, attachments came up as red X's.  ??? )

Keep in mind that I'm not a real programmer (not what I do for a living).  Developing this was something to pass the time while I was off work after surgery.  I'm back at work now, so I don't have quite as much time to work on it.

Kindred

Quote from: Orstio on October 19, 2004, 04:44:04 AM

Quote1st, for some reason (I assume my theme) the text in the login box is not really visible... it's the same colour as the background of the box.   Where is the text colour defined?

That should be in your CSS.  Take a look at mod_smf_login.php to see where it is getting the style.

I will take a look at that later... I should have thought of that first! :)

Quote

Quote2nd, if I switch Themes, the login box is completely screwed up. I currently have "planetfall" loaded. it shows up with no text and no space in the text boxes in any of the other themes.
Actually, it goes further than that. When I switch to a different theme in Mambo, the forum link calls up a blank page and never gets to the SMF homepage.

Don't forget that the include has to go in your Mambo template.  So, if you switch templates, you have to put the include in the template you switch to.


WHOOPS!  How could I have forgotten that?!

Quote
Quote3rd, I log in. SMF recognizes me as being in. Mambo doesn't... Mambo stil sees me as a guest... I can't get the system to recognize me as being logged in to Mambo.

<EDIT:  After about 60 minutes of being logged in to SMF, I reloaded the mambo homepage and it appear to have recognized me... however, if I log out of SMF (using the logout box) it still has me in Mambo. If I log out of Mambo suing the link in the user menu, and then log back in to SMF (using the login box), I am back to logged in to SMF, guest in Mambo.>

That's rather odd behaviour.  Do you have a link so I can see?  Have you tried deleting your cookies?  I noticed something weird if I accessed the page halfway through installation, it did something funny to my Mambo cookie.  Is your Mambo username/password the same as your SMF username/password?

Yes, you can take a look at what I have running at http://www.turtleshellprod.com/mambo
(alternatively, http://www.turtleshellprod.com/community is the SMF stand-alone link)
I have a user named test (password test22) set up.

Quote
Quote4th, The top level off SMF doesn't link inline with the Mambo screens. The sidebar menu gets bumped down below the forum "window". Once I get into any opf the detailed screens (anything but the SMF top menu) it corrects itself.
4a) I also notice that the text of the message boards is quite large when SMF is loaded through Mambo...

This is because you need to alter your SMF theme and/or Mambo template a bit, to make it fit.


Hmmm...  Ok, so I have to work on the themes a little bit...    but what is causing the enlarged text? If I look at SMF dirtectly, the text is "normal" (12 size(?)), but if I go in through mambo, the "header" text with user info and news is normal sized, but everything else, including the individual board titles and message titles is enlarged.

Quote
Quote5th, logging into the SMF portion doesn't work at all now. (I made the changed to the SMF code to call mambo_login rather than login2)

That's strange.  It should work, because the login for SMF is the first part of the function. 

Well, I figured out part of the problem. You readme instructions say to call "mambo_login" and "mambo_logout", but in the file that gets put into the SMF SOurces directory, the functions are actually called MOS_Login and MOS_Logout.

Unfortunately, changing the function calls does not seem to have an actual effect. I get the same. When I click Logout from inside SMF, the screen blinks and that's it. I stay logged in.

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

Kindred

#265
Hmmm.... still can't get login/logout to work form within SMF.

BUT!

I am accessing the site from a different system now.

this is some very strange behaviour...

Loging into Mambo from the login box (smf_bridge) now appears to properly log me IN to Mambo...
What it does not do is log me OUT.

I click Logout form the user menu and am taken to the logout screen for Mambo. I confirm logout and this removes the usermenu option (as is appropriate). However, the bridge-login-box still lists me as logged in... and the Mambo "users online" lists me logged in as my username AND as a guest.
I then logout from the box...   now it properly lists me as logged out...
but the user's online now lists me as TWO guests AND my username still logged in...

If I log back in, I now have TWO guests and TWO members logged in... and the count keeps going up....

{edit:}  eventually these sessions do time out and the count goes down...
Сл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."

Kris

Maybe you should uncheck database driven sessions in smf and check local cookies.

Kindred

However, there are warnings about using local cookies and the performance of SSI.php (which this bridge uses)

And doing that didn't help, anyway....
Сл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

QuoteWell, I figured out part of the problem. You readme instructions say to call "mambo_login" and "mambo_logout", but in the file that gets put into the SMF SOurces directory, the functions are actually called MOS_Login and MOS_Logout.

This is incorrect.  It must be mambo_login and mambo_logout.  This is an action definition, not a function call.

I cannot access your mambo/ directory.  It doesn't seem to be there.

Kindred

Orstio...

thanks for any and all help you can give me :)

I don't know why you would be having trouble...   the link in the above message takes me right to the mambo front-page.

I have renamed the calls back to mambo_login and mambo_logout...

and gaddamnit! it works now...   I must have had an extra character in there before.

Now I just have to get the rest of the stuff working....  8)
Сл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

Cool.  I did get in (with Mozilla Firebird), and everything seemed to work.  It was a little strange that when I was logged out, the SMF theme was Helios, and when I logged in, it switched to Apollo, but maybe you intended that?

Quick

also.. make sure you delete all cookies and internet content and restart your web browser. this was a problem for me.
smf, mos and cpg are all working together with users integrated. next is osc!! argg
hxxp:www.talbotautos.com [nonactive]

Kindred

No, actually I didn't...   the default theme is supposed to be Helios...

but maybe one of the test users I had set the test account to a different theme. :)
Сл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."

Quick

anyone figure out why the font changes?? ie..

in mambo;
hxxp:www.talbotautos.com/index.php?option=com_smf&Itemid=45 [nonactive]

outside mambo;
hxxp:www.talbotautos.com/forum/ [nonactive]


ive looked everywhere.. installed new css styles.. no luck!
smf, mos and cpg are all working together with users integrated. next is osc!! argg
hxxp:www.talbotautos.com [nonactive]

Francis_Drake

I have the same problem. I am logged in to SMF but not in Mambo. I have deletet Cookies and Cache, but no change. I tried it also with different Browser, but everywhere the same.
Sorry for my bad english.
"Führungsstärke ist eine Frage von Intelligenz, Glaubwürdigkeit , Gerechtigkeit, Mut und Autorität." - Sun Tzu, Die Kunst des Krieges

Orstio

QuoteI have the same problem. I am logged in to SMF but not in Mambo. I have deletet Cookies and Cache, but no change. I tried it also with different Browser, but everywhere the same.
Sorry for my bad english.

Hmmm....

How do I tell whether or not I am logged into your Mambo site?  The integrated login shows me as logged in.  Is there a menu item that only members can see/access?

Francis_Drake

#276
Yes the User Menu is of registered users. One is logged in only in the forum not in Mambo. If I place the menu on public has no authorization for the links, because one is not logged in.
Info: Mambo 4.5.0(1.0.9) 
"Führungsstärke ist eine Frage von Intelligenz, Glaubwürdigkeit , Gerechtigkeit, Mut und Autorität." - Sun Tzu, Die Kunst des Krieges

Sheemo

Short Question... Can i use 2 different databases, one for mambo and one for SMF or do i have to use the same? :)

i'd love to seperate those things...

Kyre

I'm having problems getting it up and operational. SMF 1 RC2 and mambo 4.5.1.

At first I thought it was this offending line (line 36 smg.php):


$sql = "SELECT id FROM mos_menu WHERE link='index.php?option=com_smf'";


Since you hardcoded in the prefix "mos" and i was using a different one. So I cleared out my mambo install (new to installing mambo) and used mos as a prefix. Same error. Looking under that table, I don't even see a line where link equals that. Is something missing in the install that is supposed to add that line?

Also from mod_smf_login.php (line 5):


$sql = "SELECT id FROM mos_menu WHERE link='index.php?option=com_smf'";

Orstio

#279
QuoteSince you hardcoded in the prefix "mos" and i was using a different one.

Thanks, that's something I will need to fix.


QuoteInsert Quote
Yes the User Menu is of registered users. One is logged in only in the forum not in Mambo. If I place the menu on public has no authorization for the links, because one is not logged in.
Info: Mambo 4.5.0(1.0.9)

Well, I can see the user menu, but I can't seem to logout of Mambo on your site now......

QuoteLooking under that table, I don't even see a line where link equals that. Is something missing in the install that is supposed to add that line?

It will only add that line when you add the component to your menu.  Mambo doesn't do that for you.

Advertisement: