Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Mambo Bridge Support => Topic started by: Sreya on February 24, 2004, 01:40:26 AM

Title: Mambo Open Source
Post by: Sreya on February 24, 2004, 01:40:26 AM
Just wondering if there's anyone else planning to use SMF with Mambo Open Source. I'm currently converting my site into Mambo, and working on a bridge to create a sort of universal registration and login system -- not really creating a component out of the boards, but just hooking them in a bit.

There are several of us working on different ways to do this with several different programs -- eFiction, phpBB, Gallery, YaBBSE, etc.

Anyway, just wondering if there's anyone else interested in the project, or if someone has tried something similar, and has any useful suggestions.

Sreya
Title: Re: Mambo Open Source
Post by: Brat on February 24, 2004, 05:14:16 PM
I'm in the same situation.

My site is powered by Mambo, and has been for some time.

Just like with the above poster, I'd like Simple Machines to interface with Mambo (NOT integrate). If Simple Machines had "hooks" so that it could exchange information (particularly user info) with the portal, that'd be so very nice.

Currently, I am using YABBSE, and am eagerly anticipating Simple Machines. I truly dislike PHPBB (and its various clones), but those forums do offer an option to interface with MANY portal systems, including a new Mambo component that was just released.

Again, I'm not asking for integration (though if anyone is thinking of making an SM component for Mambo, I won't cry about it  ;)), but the ability to have "One Login To Rule Them All" would be great.

Regards,
Brat.
Title: Re: Mambo Open Source
Post by: Brat on February 27, 2004, 12:50:00 PM
Anyone?

I really do hope the SMF programming team is at least considering Mambo. I have been a faithful user of YABBSE since Version 1.4.1, and do not want to go anywhere else. I'm TIRED of the only option being PHPBB (which I still do not like). Even now, the Mambo main site forum is down due to "technical issues" (translation: their PHPBB forum is acting up).

I love YABBSE because it has been STABLE, performed well, and has at its core a dedicated and talented development team who has been very responsive to user needs and requests. Even if the answer is "no", the team at least tells me why.

I have tried other portal systems - darn near ALL of them, and Mambo has been fantastic for me. To have SMF as a Mambo component would just be the end-all for me.

Please, please consider Mambo - it deserves a product as wonderful as SMF.

Regards,
Brat.
Title: Re: Mambo Open Source
Post by: Grudge on February 27, 2004, 01:46:30 PM
Hey,

I have to say I haven't looked at portal integration myself but if you had no problem getting YABB SE to work I can't see why SMF would be a problem. Things like the member table and authentication method have stayed pretty much the same - so I can't see why there would be a problem using SMF. If the only hooks you need are to the login type functions of SMF I think it will be fine. There may be a few tweaks that are needed but if so I'd hope we could help you with that if you had any problems once it's released. At the moment all our effort is in getting SMF bug free and ready for public release.

Grudge
Title: Re: Mambo Open Source
Post by: Brat on February 27, 2004, 01:51:37 PM
Whoops! Sorry if I'd lead you to believe that somehow I got it all integrated.  :-[

My YABBSE is not integrated. I simply am using a portal wrapper for now. If my only choice was between YABBSE and the PHPBB Mambo component... I'll stick with my wrapped YABBSE, thank you very much.  ;D

Currently, there is NO known Mambo component using YABBSE. The ONLY option right now is either PHPBB and SimpleForum (IIRC). Yeah... not real options for me.

What I'd like is either a full on Mambo module or (just as good if not better) for SMF to have "hooks" into the Mambo system. In other words, I need these systems to share AT LEAST member information.

I wish I knew PHP better, I'd try to attack it myself. As I said before, I love YABBSE, would LOVE to upgrade to SMF, but my members are getting tired of having to log in all over the place.

ANY help (and I do mean ANY) with respect to this issue is and will be greatly appreciated. Again, thank you.

Regards,
Brat.
Title: Re: Mambo Open Source
Post by: Winters on February 27, 2004, 03:38:48 PM
Quote from: Sreya on February 24, 2004, 01:40:26 AM
Just wondering if there's anyone else planning to use SMF with Mambo Open Source. I'm currently converting my site into Mambo,

Yes, I am!

I am currently in the process of testing 3 CMS, namely Mambo, Xmentor, and phpwmcs. I'm not sure I will really switch from html to cms sites, but if I did, I would really appreciate a smooth integration of SMF.
Title: Re: Mambo Open Source
Post by: AmphetaMarinE on March 19, 2004, 09:26:24 AM
I also am planning on using mambo... and am in the same position as you...
Wish i knew php well enough to get it integrated with SMF....

For me there is no other option as far as forum software goes....
I simply refuse to use anything other than smf or YABBSE....
There is nothing else i have seen / used which comes close to the power and flexibility of this forum software.

I would dearly love a module to integrate it into mambo... but i think i might be stuck having to learn more php and write it myself...

If i ever manage to accomplish that, be sure i will post it here for all to use   :D

Might take a while... i have never played with php until using YABBSE a few months ago....
but i'm a fast learner...
Title: Re: Mambo Open Source
Post by: Raine on March 20, 2004, 04:17:13 AM
I'm definitely all in for this one!
Title: Re: Mambo Open Source
Post by: Sreya on March 20, 2004, 10:14:06 PM
Just so people don't think I've abandoned this after starting the thread  ;), at this point I'm planning on figuring out how to hook into the registration and login, and just direct Mambo's login to also login to the boards when a user logs into the portal. I'm doing the same with several other systems. It will probably end up working as a modified login module, instead of making a component out of the boards.

Unfortunately, I won't have the time to put it together until June. So if anyone comes up with a better way to do it before then, like actually creating a full component, great. But otherwise, I'll hopefully have a SMF-linked module for Mambo sometime this summer.
Title: Re: Mambo Open Source
Post by: [Unknown] on March 20, 2004, 10:56:04 PM
If you want to contact me, some of the developers here have already done basic work on Mambo integration.

-[Unknown]
Title: Re: Mambo Open Source
Post by: Tony Reid on March 23, 2004, 06:29:05 PM
Ive been using Mambo for some time now - and integrating it with SMF will be an excellent move!



Title: Re: Mambo Open Source
Post by: [Unknown] on March 25, 2004, 03:42:51 PM
I got an email from someone telling me that this project may be supporting SMF:

http://mosforge.net/projects/mambridge/

-[Unknown]
Title: Re: Mambo Open Source
Post by: sylvester on March 28, 2004, 11:09:07 AM
Quote from: [Unknown] on March 20, 2004, 10:56:04 PM
If you want to contact me, some of the developers here have already done basic work on Mambo integration.

-[Unknown]
Could you define 'basic work'? :)
Title: Re: Mambo Open Source
Post by: Grudge on March 28, 2004, 11:58:12 AM
I believe we have it so that when you login/register with one it registers/logs you in/out on the other. However, we haven't got a script to "convert" members accross that are already in one or the other - and that's essential on anything bar a clean setup.
Title: Re: Mambo Open Source
Post by: [Unknown] on March 28, 2004, 05:14:27 PM
We do, however, have someone - Purple Raine from Eldaronline - who wants this integration, which is why I've sorta been pushing it.

-[Unknown]
Title: Re: Mambo Open Source
Post by: sylvester on March 28, 2004, 05:44:55 PM
I don't have the time to do it by myself at the moment. But, I've got a lot of time from 27th April - 6th May.... ;)
Title: Re: Mambo Open Source
Post by: wood_flower on April 07, 2004, 05:18:08 AM
Hello all of you!
I'm also using Mambo 4.5 to create my own site (http://my-juju.com) and i'm thinking about add a comunity forum (not desired to use phpBB) to my site! If any of you already successfully plug SMF or YaBB SE into Mambo as a component/module, please tell me how to do? Thanks very much!
Title: Re: Mambo Open Source
Post by: the13th on April 10, 2004, 06:44:47 PM
I would also be glad, is someone could create a "bridge" between both systems - so that a registration is shared between MOS and SMF etc.

I hope that this will be done ;)

Title: Re: Mambo Open Source
Post by: Tony Reid on April 10, 2004, 06:47:33 PM
This guy has done some wonderful stuff with SMF & Mambo :)

http://www.simplemachines.org/community/index.php?topic=8832.0
Title: Re: Mambo Open Source
Post by: the13th on April 10, 2004, 09:02:50 PM
Hmm - yeah..
But this doesn't fix my problem.. ;)
Because I'm interested in sharing the userbase of MOS and SMF - because I still would like to have both "systems" work alone.

Maybe someday my wishes will get fullfilled.. lol

~13~
Title: Re: Mambo Open Source
Post by: Brat on April 28, 2004, 02:56:20 AM
At my other hangout, the official Mambo OS site, I stumbled upon this thread:

http://forum.mamboserver.com/viewtopic.php?p=73039&highlight=smf#73039

And the link to a site where there is an active SMF Mambo integration.

http://www.magnificentworld.net/index.php

Seems this person is doing the SMF Mambo integration via extensive use of SMF SSI, hopefully meaning he isn't doing any real changes to the core files.

According to the news on the front page of the site, a script handling the porting of pre-existing SMF members to Mambo is current in progress, and is "working" (though not yet ready for real use).

I think anyone who is interested in this should go visit and check it out if you haven't done so already.

Regards,
Brat.
Title: Re: Mambo Open Source
Post by: [Unknown] on April 28, 2004, 04:10:01 AM
He has actually posted this here, and I've asked him about it and maybe making it a bit more official ;).

-[Unknown]
Title: Re: Mambo Open Source
Post by: neo on April 28, 2004, 06:02:36 AM
Quote from: Brat on April 28, 2004, 02:56:20 AM

According to the news on the front page of the site, a script handling the porting of pre-existing SMF members to Mambo is current in progress, and is "working" (though not yet ready for real use).
:D :D :D

my Mambo + SMF (iframe  ::)  )
www.boehsebaeren.de
Title: Re: Mambo Open Source
Post by: ms_ukyankee on April 28, 2004, 06:19:38 AM
They're both really impressive. Wow. I'd switch plans to use Mambo instead of phpnuke, the thing that put me off about Mambo was the big flower icons, and orange. Small minded, but there ya go. ;) Following this with great interest.
Title: Re: Mambo Open Source
Post by: Room11 on April 28, 2004, 12:47:21 PM
Mambo seems like a great choice.
I once tried Php_Nuke with PBBB and it was ****** :'( (exceuse language :P)

When is the mambo portal going to be written?
Title: Re: Mambo Open Source
Post by: Brat on April 28, 2004, 01:14:00 PM
Quote from: [Unknown] on April 28, 2004, 04:10:01 AM
He has actually posted this here, and I've asked him about it and maybe making it a bit more official ;).

-[Unknown]

Whoops!  :-[

Still, this news is so good it needs to be mentioned twice!  :P

Sorry... overly giddy. Just so exciting that we will finally have a great CMS merged with a truly great forum software package.   ;)

[now proceeds to do the llama happy dance]

Regards,
Brat.
Title: Re: Mambo Open Source
Post by: Brat on April 28, 2004, 01:22:04 PM
Quote from: Room11 on April 28, 2004, 12:47:21 PM
Mambo seems like a great choice.
I once tried Php_Nuke with PBBB and it was ****** :'( (exceuse language :P)

When is the mambo portal going to be written?

Mambo portal is written. ;)

The official home site for the portal system is http://www.mamboserver.com. There is also a huge user community and you can probably find darn near every answer to every question you have about Mambo there.

Regards,
Brat.
Title: Re: Mambo Open Source
Post by: Thunderace on April 28, 2004, 05:19:26 PM
Blatant bump!!

I'm building a Mambo site and am a 2 year convert to YABBSE/now SMF I won't publish my site until I have a fully integrated (via module) SMF forum ...

Any news guys?
Title: Re: Mambo Open Source
Post by: whiterabbit on May 01, 2004, 05:15:20 AM
Thanks Brat
It's one of my experiments ;D
It's working pretty OK now, so I might be able to release an alpha version soon
Thanks to SMF beta5, it already fixed some problems I was planning to fix.  ;)

I agree Mambo is great and have future.. Let's see when 4.6 release how much change it would be.
Title: Re: Mambo Open Source
Post by: elvensage on May 03, 2004, 03:57:30 AM
I'm working on porting SMF to work with Mambo as well.  I'm getting pretty far with it, but I'm not going to be releasing it.  Not because I'm cold and heartless, but because I'm just coding it to work with my site, and would have no plans of updating it and supporting it.  :)  Just wanted to let you all know that I have found the power of Mambo, and I've known the power of YabbSE for a long time... it's great to see that we can get them working together :)
Title: Re: Mambo Open Source
Post by: Thunderace on May 03, 2004, 03:41:13 PM
Quotebut because I'm just coding it to work with my site, and would have no plans of updating it and supporting it. 

Ok .. well maybe you could help the guys here who are modding from scratch .. I'm sure you must have overcome some obvious problems that may help them out???
Title: Re: Mambo Open Source
Post by: elvensage on May 04, 2004, 05:46:52 AM
Possibly.  What problems are you guys currently having?  Mine isnt fully working, but I habe it sharing data alright.  If you all working on the project want some help, I can offer some.  I just dont have the time to support and help others with what I write (nor am I very good with that kind of thing)  :P
Title: Re: Mambo Open Source
Post by: whiterabbit on May 06, 2004, 04:29:55 AM
>> elvensage

A link to your web site would be nice, so I may get more idea what I should do more ;)

Cheers,
Title: Re: Mambo Open Source
Post by: elvensage on May 06, 2004, 07:37:14 PM
My website isnt the Mambo/SMF integration, because it's not even close to being as finished as I want.  The Mambo/SMF integration is something I'm playing with on my home computer.  I help you with it if you'd like, maybe join your dev team.  I would like to test what you have done so far though.
Title: Re: Mambo Open Source
Post by: whiterabbit on May 07, 2004, 05:50:36 AM
Thank you elvensage, :D

If you want to see how it's going, you are welcome to visit my experimental site anytime :)
The link was in brat post and also in my topic on showcase board.
http://www.simplemachines.org/community/index.php?topic=8832.0

Cheers,
Title: Re: Mambo Open Source
Post by: Brat on May 12, 2004, 02:32:05 AM
For anyone who has been following this...

the ALPHA version of the now-famous ( ;D) SMF Mambo component is available. Here is the thread explaining the guidelines:

http://www.magnificentworld.net/index.php?option=com_smf&Itemid=30?topic=15.new;boardseen#new

As soon as I've had enough sleep and can trust myself to pay attention, I am going to participate. I strongly encourage everyone who can to likewise do so. The more testers, the faster bugs will be found, and the better this component will be.

Regards,
Brat.
Title: Re: Mambo Open Source
Post by: Thunderace on May 30, 2004, 02:24:39 PM
Apologies to Whiterabbit.

This worked "out of the box"

The problems I encountered were due to me running 2 seperate DBs (Doh)

Soon to be beta I recon as Alpha testers are not seeing problems
Title: Re: Mambo Open Source
Post by: stingrey on June 01, 2004, 01:06:19 AM
All this integration work is great to read.

Im a mambo evangalist and a heavy poster on the mambo forums and I am gratified to read that the SMF devs are supporting or at least encouraging this development.


I am looking for a forum for my site www.stingrey.biz (http://www.stingrey.biz) to handle support for my mambo addons and I am very much liking the look of SMF.
With integration into Mambo it would be the #1 forum choice for mambo users.



BTW what editor do you use for SMF, it looks awesome, seomthing we could use in Mambo and noticed in works in firefox
Title: Re: Mambo Open Source
Post by: Thunderace on June 01, 2004, 02:23:28 AM
Integration is up and running and in late Alpha testing.

Seems to work perfectly

See HERE (http://www.magnificentworld.net/) for latest info.

Title: Re: Mambo Open Source
Post by: Oldiesmann on June 01, 2004, 12:30:54 PM
Looks good... Now you need to convince the Mambo developers to use SMF :)
Title: Re: Mambo Open Source
Post by: Thunderace on June 01, 2004, 02:39:36 PM
LOL .. errrm .. went to mambo to do a tad of SMF spamming.

They've changed to VBULLETIN!  ::)
Title: Re: Mambo Open Source
Post by: Oldiesmann on June 01, 2004, 04:49:09 PM
That doesn't make any sense... I see it, but I don't believe it. Why would a free open-source CMS site want a forum system that isn't free? See that "wishlist" section? Try starting a thread there saying that you'd like to see Mambo come with a forum system and then discretely mention that you've already got it working with SMF and will gladly show them how to do it if they lose vBulletin... ;)
Title: Re: Mambo Open Source
Post by: Thunderace on June 04, 2004, 12:07:11 PM
Well i've done it HERE (http://forum.mamboserver.com/showthread.php?t=9193)

Albeit in my usual unsubtle fashion.

Tbh as a Mambo user I'm really very offended by it, so much so that it would sway me to leave Mambo for the "suggested" integrated portal.
Title: Re: Mambo Open Source
Post by: Oldiesmann on June 04, 2004, 12:23:04 PM
Quote from: Thunderace on June 04, 2004, 12:07:11 PM
Well i've done it HERE (http://forum.mamboserver.com/showthread.php?t=9193)

QuoteInvalid Thread specified. If you followed a valid link, please notify the webmaster

Are you sure that's the correct URL?

Quote from: Thunderace
Tbh as a Mambo user I'm really very offended by it, so much so that it would sway me to leave Mambo for the "suggested" integrated portal.

Tell them that.
Title: Re: Mambo Open Source
Post by: jorgen on June 04, 2004, 12:46:42 PM
It worked 20 minutes ago.
Maybe it was killed......    :-\
Title: Re: Mambo Open Source
Post by: Thunderace on June 04, 2004, 12:51:00 PM
Thread was deleted.
Title: Re: Mambo Open Source
Post by: Oldiesmann on June 04, 2004, 12:52:53 PM
What exactly did you say to them?
Title: Re: Mambo Open Source
Post by: Thunderace on June 04, 2004, 01:00:26 PM
I spoke genuinley as a Mambo user voicing my true concerns.

I said I was dissapointed "as a Mambo user" at the use of a commercial forum "vbulletin" when there are superb opensource products like SMF (linked)

I mentioned that it had been integrated with Mambo with no problems and asked them to consider it.
Title: Re: Mambo Open Source
Post by: jorgen on June 04, 2004, 01:03:37 PM
He was not offensive at all..
I'm baffled by such censorship.
Title: Re: Mambo Open Source
Post by: Oldiesmann on June 04, 2004, 02:08:05 PM
Hmmm... Go use that "contact us" form and explain your situation. Throw in some stuff about abandoning the Mambo portal because of the way you were treated and that you'll gladly tell all your friends (and other Mambo users) how Mambo treats people. If they still refuse to own up to their rudeness, then you can go complain to everyone and tell people not to use Mambo.
Title: Re: Mambo Open Source
Post by: Thunderace on June 04, 2004, 02:17:09 PM
Have done, this matter is resolved.

The action of the Moderators was harsh but they are currently trying to get things "straight and normal" after some recent actions.
Title: Re: Mambo Open Source
Post by: Oldiesmann on June 06, 2004, 09:33:21 PM
Glad you got it taken care of.
Title: Re: Mambo Open Source
Post by: idigital on June 12, 2004, 01:16:32 PM
Well, I was banned from the official forums without warning. A series of posts regarding licensing issues which went awry, despite my continued apologies and disclaimers, and then my dissappointment with the behaviour of the core developers gave the head of the project the impression I was trying to destroy his community. Not my words btw.

Apart from the rudeness towards 'noobs' regarding release dates, when the official forums changed to VBB things went pear shaped. The head core developer made the statement that if anyone didn't like their decisions they could "find another community". There's been no effort to apologise for this comment or any other inappropriate comments.

At the same time there were many other dramas going on with other core developers and prominent members of the community over who should code what and such. Since I've been banned everyone seems to have gotten that frustration out of their systems and it's back to normal like nothing happened.

I might add that before I was banned I posted a retraction of my last comment, which was then deleted. Very frustrating.

IMHO not the behaviour one would expect from a project that has the pretense of professionalism. Although the head dev did recently comment that he considered MOS "a hobby".

Anyway, just had to clarify things slightly as I noticed that the reasoning behind the rudeness of the core devs towards Thunderace was explained by their "trying to get things straight and normal after some recent actions".  It seems to me that the devoted community around the core devs always excuses any temperamental behaviour due to such things as personal pressures and such, without the need for any actual apology. I reckon if you run a big OS project, you should make sure you have the time and temperament for it from the beginning.

Good work integrating SMF btw, MOS needs more community oriented extensions! :)
Title: Re: Mambo Open Source
Post by: Oldiesmann on June 13, 2004, 01:55:08 PM
Yeah... Things seem to be going crazy over there. I still don't understand why an open-source system would go with a commercial application like vBulletin - sure, they could probably find a way to integrate vB with Mambo, but that would cause all kinds of problems as well.
Title: Re: Mambo Open Source
Post by: idigital on June 13, 2004, 07:26:51 PM
The wierdest thing about the change to VB was that the biggest community forums (Mambers.com) setup in april is also using VB. There has been some rivalry between the two and now they look exactly the same.

The other wierdness is, the core devs are adamant that Mambo is *not* a community management system - it is a content management system. Thus they feel no obligation to integrate community features, or even use an integrated forum for their official site.

I think this attitude could scare off a large number of potential users, after all most people interesting in open source cms are wanting to setup community based sites not commercial ones.

I've almost been scared away from MOS myself, but it really is a very versatile bit of s/w. Considering TextPattern, looks good. And it needs an integrated forum btw ;)
Title: Re: Mambo Open Source
Post by: jack on June 13, 2004, 07:44:53 PM
Quote from: Oldiesmann on June 13, 2004, 01:55:08 PMsure, they could probably find a way to integrate vB with Mambo, but that would cause all kinds of problems as well.

Too true, we're experiencing that at Coppermine too - Invision and VBulletin are commercial products (and IPB has their own integrated gallery) ... there's little or no chance of the dev team actually being able to activley support either.

The amount of in-fighting at MOS seriously put me off it when I was looking for a CMS a few eeks back. It also seemed to lack the flexibility I needed, I've since plubped for Typo3 - time will tell if my insticts were right.
Title: Re: Mambo Open Source
Post by: Brat on June 14, 2004, 03:28:10 PM
I too was shocked and deeply disappointed by the choice of vBulletin to power the forums for an OPEN SOURCE project. The most obvious problem, of course, is with issues of licensing and such. You simply CANNOT alter or otherwise customize vBulletin (and expect to distribute said alterations) without the express permission of the program creators - which, btw, they can rescend at a moment's notice.

But, even worse, is the obvious "slap in the face" this presents to outstanding OS forums (particularly YABBSE now SMF) which have been around for a LONG period of time, are proven quantities, and have outstanding programming teams who have the OS spirit and would be far easier to collaborate with.

The infighting with Mambo is NOT new, sadly. I've seen these sort of antics before with other products. Just hang around the OS community long enough - some crap is GUARANTEED to go down at some point.  Anyone remember some of the livelier 'Nuke discussions? :P

That said, I love Mambo for what it is - an outstanding, powerful, easily customizable CMS that allows me as a webmaster to spend more time improving and working on my site than fighting the software that's supposed to drive it. I WILL NOT allow the missteps of certain individuals to dissuade me from using it. Just gimme the code and let me do my thing, that's all I ask. If you find the official user community too daunting or unfriendly... there are others you can go to and find the same (or better) help.

Please do not let the idiotic actions of a handful of people turn you off to a fantastic product. Said individuals most probably do not represent the views of most of the community - trust me, more than the posters here were peeved about the choice of forum software.

You know how I get revenge? By using this forum software, by touting it to all who listen (I have four direct converts under my belt.  :D), and by using SMF Mambo - which, BTW, is an absolutely FANTASTIC mod and my members and I are LOVING LIFE. I ran YABBSE for YEARS (starting with Version 1.4.0) and it NEVER died or corrupted data. Take THAT IPB!!!  :P

(Sorry... had to get THAT dig in)

I love Mambo. I loved YABBSE and am developing a wonderful relationship with SMF. I have them both working together. I fully and completely show my love of Open Source by supporting it however and wherever I can.

Viva OS!

Regards,
Brat.

Title: Re: Mambo Open Source
Post by: idigital on June 16, 2004, 06:29:36 AM
Those were exactly my thoughts, although I made the mistake of voicing them in the official forum and then not letting a certain comment drop. I've recovered from that now, I was deeply shocked due to my own dedication to the Mambo software and my emotional investment in it as an Open Source project.

I've been out of touch with the web for a while, Mambo is the first Open Source project I've been involved with. I spent months investigating the various CMS projects out there, and learned about the infighting that seems to happen more to CMS projects than any other.  I almost chose e107 before the scriptkiddie drama over there and then chose Mambo for it's versatility and simplicity and also for it's apparent lack of drama.

This was at the end of March. Any mambers out there will remember the incredible drama that happened with Arthur Konze and another member of the community, resulting in the largest Mambo site vanishing overnight. Then it blew over and Arthur and several other members of the community setup a community forum named Mambers. Then much more drama ensued and all the moderators left. Then tension leading up to the release and then non-release of 4.6 exploding into the recent debacle.

I've heard since then that this is actually a common pattern, and similar eruptions have happened in the past.

So as far as I can see this is the result of a really good product attracting very creative people. Creative people can be very temperamental and even a bit crazy ;)

I continue to develop for Mambo Open Source because it is great software and an ambitious project, I still love it. It would be nice if it incorporated community features, although the core developers have made it clear that MOS is a business-oriented content management system.

So any community features, usually a core part of any CMS, have to be developed by 3rd parties and installed independently.

SMF is a great candidate for a standard Mambo forum, I think it could quite easily become an essential add-on.

I'll be supporting this project and plan to develop modules etc. (called 'elements' in 4.6) for SMF/Mambo. It's a lot easier than phpBB as well  8)
Title: Re: Mambo Open Source
Post by: [Unknown] on June 16, 2004, 05:21:00 PM
Well, you might be glad to hear that while there has been drama here too.... I hate it and try to avoid it :P ;).

If there's anything you think should be changed to make integration more plausable or flexible, please say so....

-[Unknown]
Title: Re: Mambo Open Source
Post by: idigital on June 16, 2004, 08:42:20 PM
Good stuff, I'll be starting my research into this development today. I'm very interested in MOS as a community platform, the most important part of which is the forum. SMF looks like the best way to go :)

Cheers,

Damian
Title: Re: Mambo Open Source
Post by: jorgen on June 18, 2004, 04:23:01 AM
Quote from: Brat on June 14, 2004, 03:28:10 PMYou know how I get revenge? By using this forum software, by touting it to all who listen (I have four direct converts under my belt.  :D), and by using SMF Mambo - which, BTW, is an absolutely FANTASTIC mod and my members and I are LOVING LIFE.

The only problem with this is that the SMF-mambo mod is still in alfa state, and not recommended for live sites yet.

Jorgen
SMF and mambo user, VERY eager to use this mod...
Title: Re: Mambo Open Source
Post by: Brat on June 18, 2004, 04:26:28 PM
Generally, I DO NOT use alpha mods on my live site. However, for THIS mod, I made an exception for one specific reason...

The databases remain unaltered.

See, SMF and Mambo merely "share" an environment and information. There are some SMF files (in the Sources folder) that have been altered for use with this component, but the data (which is what is REALLY important) is pretty much unaffected. In fact, you can still control how SMF looks even as a Mambo component.

I've been using this particular mod now for a couple of weeks, and it's been absolutely stable. That DOES NOT mean it's bug free or "final" in any way. In fact, NO software is ever final (except for when it's discontinued  ;)).

Then again, my site is not a pay site or otherwise for-profit, so I can afford a little experimentation.

I strongly support his particular mod, and for those who are a bit adventureous, please try it out. After all, the more users, the better the mod will become.

Regards,
Brat.
Title: Re: Mambo Open Source
Post by: yardbird on June 18, 2004, 04:51:12 PM
I'd like to get the SMF+Mambo component. Can someone tell me how to get this?  I was looking at SMF, I already use Mambo, and after seeing WhiteRabbit's site I may try his gallery as well. If I can get the 3 working together I'll have one happy client.    ME!

:)

thanks

One quick question to WhiteRabbit (sorry... a bit rushed here at work).  Can registered users create their own galleries using your gallery and can you make it a Mambo component as well?
Title: Re: Mambo Open Source
Post by: Thunderace on June 18, 2004, 05:11:37 PM
Credit to mr Whiterabbit

This mod is on my 2 live sites, only issues are ..  (to my knowledge)

1) Transporting across members with odd characters (ie "_") mambo does not accept them

2) If you joined as "Aardvark" then aardvark will not work (caps sensitive)

But look at what he's achieved ..

1 -  One click transfer of SMF members to Mambo

2 - Syncronisation system that simply asks (1st time only) for new joiners to restate their email and pass which then ensures both DB tables are syncronised (also activates on email changes etc)

3 - Admin panel (mambo) options that allow you to create SSI functions on the fly

4 - No critical bugs found since release

5 - template examples to guide you through integration both in (wrapped) and out of mambo

Awesome work imo, he's very busy with work atm and I expect the Charter Members only release (1.0 beta 6) may hold this up some more, but alpha 2 is incomming, expect it to be good.

Why aren't you charter members anyway? Support the cause  :P



Title: Re: Mambo Open Source
Post by: Raine on June 18, 2004, 05:32:09 PM
Let me just add that this is amazing.  I will definitely be using this when the new release is available to us Chartered people...

Keep up the good work and I look forward to being a huge supporter of this project (and of the most annoyingly ignorant users of it too! =)
Title: Re: Mambo Open Source
Post by: idigital on June 18, 2004, 05:48:33 PM
I'd be using it now, but I'm not a tester and it's not available for public download yet is it?

I'd like to use it as a commenting system for content on my secret project.

I guess I'll be haunting the magnificient world forums a bit from now on ;)
Title: Re: Mambo Open Source
Post by: Brat on June 18, 2004, 08:16:06 PM
Quote from: idigital on June 18, 2004, 05:48:33 PM
I'd be using it now, but I'm not a tester and it's not available for public download yet is it?

I'd like to use it as a commenting system for content on my secret project.

I guess I'll be haunting the magnificient world forums a bit from now on ;)

Are you referring to the SMF Mambo component? If so, I got it by downloading it directly from Whiterabbit's site.

Regards,
Brat.

PS: I do plan on becomming a charter member... gimme a minute!  :P
Title: Re: Mambo Open Source
Post by: idigital on June 18, 2004, 08:26:43 PM
Woohoo! That wasn't there before, the downloads area was empty a few days ago I swear :)

Now to get to work!
Title: Re: Mambo Open Source
Post by: damo1065 on June 25, 2004, 10:21:57 PM
I've recently tested intergrating SMF and Mambo and it's worked brilliantly, but my forum font in the site is too big - how do I fix the font size in the forums so it's smaller?

Thanks
Title: Re: Mambo Open Source
Post by: Thunderace on June 26, 2004, 01:24:21 PM
Copy across from style.css any commands missing from template_css.css

Most of the style will be driven by the mambo CSS. Also if you prefer SMF fonts a.link etc replace mambo ones with these too.

Also this is an integration issue best dealt with HERE (http://www.magnificentworld.net/)
Title: Re: Mambo Open Source
Post by: Putera on June 26, 2004, 01:31:25 PM
Is Mambo and SMF still use 2 different member's accounts?

I had installed them and when a new user want to register at my forum, it goes to the Mambo register page. And then the user can't access the forum as the user account was at the Mambo database.
Title: Re: Mambo Open Source
Post by: Thunderace on June 26, 2004, 02:48:16 PM
Works perfectly

Yes it uses 2 accounts but it integrates them, for example ..

I join my site, it sends me an email saying follow this link ..

When I get there it says "this must be your 1st time here, please re-enter your email and password ..

I do and it syncronises the user DBs
Title: Re: Mambo Open Source
Post by: Orstio on June 26, 2004, 06:34:23 PM
Wouldn't it be simpler to just have Mambo and SMF read from the same user table?

Title: Re: Mambo Open Source
Post by: Thunderace on June 26, 2004, 10:26:11 PM
No by all acounts it would require hard code changes.
Title: Re: Mambo Open Source
Post by: yardbird on June 28, 2004, 12:53:23 PM
Anyone tried doing the Mambo/SMF integration and then adding a Coppermine bridge for SMF?
Title: Re: Mambo Open Source
Post by: keliix06 on June 29, 2004, 02:13:29 PM
I'm coming from the same boat Stingrey is (we actually work together on occasion). I am very active and recognized in the Mambo community. I would like to address a couple points I've read in defense of a wonderful CMS system.

- Development is a "hobby"
Yes, it is. The core team does not get paid. They make the best open source software in the world (2004 Linux User & Developer Award for Best Open Source Software) out of the kindness of their hearts.

- Use of vBully
I personally do not like vBully, but for what they want to do with the forums (spend time developing Mambo and not working on the forums) it simply cannot be touched. SMF is a great forum and it will be in use on a commercial site I recently launched (http://www.industrympls.com, not integrated as I don't want people signing up for the Mambo part), but it does not have as many admin options or as much control as vBully.

- Bickering amongst the community
There will always be bickering in any active community. This is human nature. For the most part, the dev team has stayed out of it, however some of their actions have been inexcusable. This never can and never will be avoided.

- Not community software
It's not. It was developed to be a business class solution. Granted it can be used as a very powerful community portal, that is not at all what it is designed for. Honestly, if you can't install your own forum and shoutbox to make it a community site, go deal with the nukes forking every other day.
Title: Re: Mambo Open Source
Post by: Thunderace on June 29, 2004, 05:42:42 PM
Good point well made I recon.

Glad to see you're an SMF convert though  :D

Joking aside, Mambo is superb and the official (SMF) addon here will have to go a long way to change me.

SMF .. well I'm simply unconvertable  :D

The two together .. simply awesome .. below is an (SMF/Mambo)  baby site .. may not be your colours but still ...
Title: Re: Mambo Open Source
Post by: yardbird on June 30, 2004, 09:31:28 AM
I have a Mambo site with SMF integration as well.  Excellent combination.
I was looking at Coppermine for a Gallery and then found zOOm Gallery by Mike Deboer as a Mambo component (version 2.1.2 is working wonderfully)

My only real concern with all of this is that Mambo 4.6 will come out and all of the add-ons will be broken until their respective developers adapt.
Title: Re: Mambo Open Source
Post by: Thunderace on June 30, 2004, 01:48:34 PM
Or ... stay as you are and don't upgrade until the mods catch up  8)

In my experience mods take far less time to be updated than their original creation.
Title: Re: Mambo Open Source
Post by: Orstio on July 03, 2004, 08:37:19 PM
OK, I did this integration, and I must say I am impressed.  It went very smooth.

Not sure if this bug has been reported or fixed yet, but I did have to change one thing, in MOSinterface.php, because I have links in the menu without question marks, so the $t2 array does not split:

in line 1074:

$smflink = $t2[1];

I had to change it to:

if (sizeof($t2)>1){
  $smflink = $t2[1];
}
Title: Re: Mambo Open Source
Post by: andr01d on July 04, 2004, 06:29:01 PM
watching this thread for few days now...
checking to see that the people involved here are serious...

Well, [deep breath] now i've decided to dive in. Rabbit (tell me if u mind me calling u like that, whiterabbit, no offence implied... ;) ) has (hopefuly) got my first contribution to this project...

Lamper, head of Hebrew translation team, will get my further contribution in shape of some 5-6 translated language files tomorow, after i re-check em...

Needless to say, i'm a Mambo user. Needless to say i was very dissapointed by their choice of vBulletin. Needless to say i was also shocked at their reaction on proposition to integrate SMF
into Mambo. :-\

What I DO must say is that this is one of the more focused, balanced & motivated development teams
i've seen in the last year. Hope to be a part of this project if it's possible.

Droid,
Head of http://shevah.us - Just another community.... ;)
Title: Re: Mambo Open Source
Post by: Jekyl on July 06, 2004, 06:35:02 PM
hi,
Could someone send me the Mambo SMF integrate component files please? I cant seam to get them from anywhere :(

Regards
Title: Re: Mambo Open Source
Post by: Thunderace on July 07, 2004, 12:46:39 AM
magnificentworld (http://www.magnificentworld.net/)
Title: Re: Mambo Open Source
Post by: andr01d on July 12, 2004, 04:05:48 PM
any1 knows whats going on with http://www.magnificentworld.net/ ?
i get 404 error...
Title: Re: Mambo Open Source
Post by: Vinoth on July 12, 2004, 11:02:48 PM
Yes, search for the thread it is available here,

A mambo and SMF intergation is done/
Title: Re: Mambo Open Source
Post by: neo on July 13, 2004, 05:02:03 AM
Quote from: Jekyl on July 06, 2004, 06:35:02 PM
hi,
Could someone send me the Mambo SMF integrate component files please? I cant seam to get them from anywhere :(

Regards
me too please :)
Title: Re: Mambo Open Source
Post by: RSM on July 19, 2004, 11:08:55 PM
Guys .. be aware that at present the Mambo/SMF interface works extremely well with B5, however installing B6 breaks it - ask me how I know ::).

Title: Re: Mambo Open Source
Post by: Thunderace on July 20, 2004, 12:28:28 AM
It was a stated fact on Magnificent World that the integration would not work with B6, until JZ returns from Europe and gets the time to adapt it.
Title: Re: Mambo Open Source
Post by: Core on July 21, 2004, 10:43:27 AM
  I've been out of the loop for a while, had other projects going on.

  Went to get the component... it's not there, only patches.

  Anyone willing to send a copy of it? Whiterabbit is apparently out of touch for the coming month or longer and I have a project to work on. This setup is one of the top considerations, but without being able to present something, even if slightly buggy, I am sure the client will go with some other configuration..

  ~C
Title: Re: Mambo Open Source
Post by: compa on July 21, 2004, 10:56:12 AM
i guess everybody wants it (including me) but there sure is a reason why he removed the links (if you read carefully he states why) ... nevertheless i'd like to help debug too ...
Title: Re: Mambo Open Source
Post by: pete_w on July 21, 2004, 11:32:12 AM
I'm also dying to get hold of this and have a play  :D
Title: Re: Mambo Open Source
Post by: Ryan on August 03, 2004, 11:19:59 AM
Taken form the mambo website lmao  :-\

What is Mambo?

What Mambo is!

First and foremost Mambo is a Content Management System (CMS). There is an excellent article on How to evalute a Content Management System written by James Robertson.

The goal of the Mambo project is to meet most of the requirements highlighted in the above article. As each day in development goes by we are getting nearer and nearer, whilst at the same time building a solid core which can be expanded upon by 3rd Party Developers.

Mambo is the engine behind your website that provides the ability to simplify the creation of content.

What Mambo isn't!

Mambo is not a portal solution.

Now whilst Mambo can be modified, added to etc. to provide this style of site this is not the goal of the project. Mambo is aimed at the more professional of sites e.g. small to medium business, family or personal sites.

The Mambo Development Team will not develop modules and components but concerntrate purely on the core foundations.
Title: Re: Mambo Open Source
Post by: True Colors on August 03, 2004, 04:12:27 PM
Can someone please e-mail me the software to integrate SMF with Mambo? I did not see it on that magnificent world site. My address is [email protected]

Thanks,

TC
Title: Re: Mambo Open Source
Post by: compa on August 03, 2004, 04:19:35 PM
it states that alpha1 is not available for downlaod any more ...

so i think the author has way too many alpha/beta testers and/or way to many bugs to solve .... he states somewhere that he is first travelling to europe and will be working on it later on
Title: Re: Mambo Open Source
Post by: mcsolas on August 08, 2004, 12:51:21 AM
Yeah I didn't find it either .. but saw last post.

What mambo is: Impressive
What its not: A forum integrated with a single login. (outside of SB) but I kept reading how people felt they wanted more sophisticated forum app in mambos forum. So I looked into phpbb, vbulletin ( so far #1 choice I would say ) and the guy is working on that too he told me.

Sounds like this one is going to work well with it soon enough. Simple machines is the first one I thought is equiv. of vb

Its stand beside mambo and works how I am used to integrating apps in coldfusion. I pass a session variable stored on my server over to the other app. Is dood logged in ? YES ? sweet, tell that other program DOODS HERE.

SMF .. I will wait and see how its going.
Title: Re: Mambo Open Source
Post by: Brat on August 09, 2004, 12:53:05 PM
A word of caution about VB or any other "commercial" software.

The licensing requirements for such products are vastly different  than for, say, open source applications. Mixing apples and oranges can be complex from a license standpoint.

As far as SMF, I've been using the bridge for quite some time now with absolutely no snags. That does not mean that bugs are not present, but that is true of even so-called professional software (Micro$oft, anyone?  :P).

With regard to Mambo, most portal systems do not come standard with a forum. Unless there have been changes I am not aware of (and that is possible), that includes the Nukes and several others.

Put it like this - if you are going to choose a portal system, choose one that is well supported, fairly clean code-wise, with a strong supportive user base and active contributions.

You simply cannot go wrong with Mambo.

Regards,
Brat.
Title: Re: Mambo Open Source
Post by: mcsolas on August 10, 2004, 09:27:30 PM
Quote from: Brat on August 09, 2004, 12:53:05 PM
A word of caution about VB or any other "commercial" software.
The licensing requirements for such products are vastly different  than for, say, open source applications. Mixing apples and oranges can be complex from a license standpoint.
! Well I hope its not too bad... but I am really considering this one now. I have been clicking around into threads, using it a little on this one .. its really really nice. Better than I was expecting. This decision is a little bit off anyways. I can wait for the next revision of this one which is to break the current bridge right ? Then I will build up on the new system. Same would go with vB too .. but the licensing thing is a big deal. I mean, as long as we buy

Quote from: Brat on August 09, 2004, 12:53:05 PM
As far as SMF, I've been using the bridge for quite some time now with absolutely no snags. That does not mean that bugs are not present, but that is true of even so-called professional software (Micro$oft, anyone?  :P)
Yeah we all love them dont we. hehe. Good thing I am moving to costa rica where those laws ( copyright, patent) do not apply or exist. We wont go into the details but computing there is a little more flexible  ;)

Good to hear that your not having any troubles. I liked the idea of the bridge vs. full integration. At first I was just looking for an solution like that but then realize that as long as the user logs in once, I could care how it all works on the inside ( I do but you know what I mean .. )

Quote from: Brat on August 09, 2004, 12:53:05 PM
Put it like this - if you are going to choose a portal system, choose one that is well supported, fairly clean code-wise, with a strong supportive user base and active contributions. You simply cannot go wrong with Mambo

From what I have seen I have made that choice and I am NOT LOOKING BACK. 100% I am in. .. and I wish I could even say what I am planning on doing with mambo. All I will say is this: its going to make a HUGE difference and could potentially affect nearly all americans in a positive manner. Its quite the ambitious project.  8)

What about the bridge, the new one or whatever .. whats an eta for something new from SMF that I can play with?
Title: Re: Mambo Open Source
Post by: Tywick on August 10, 2004, 11:59:40 PM
[
Quote from: Brat on June 14, 2004, 03:28:10 PM
<snip>

But, even worse, is the obvious "slap in the face" this presents to outstanding OS forums (particularly YABBSE now SMF) which have been around for a LONG period of time, are proven quantities, and have outstanding programming teams who have the OS spirit and would be far easier to collaborate with.

<snip>

While SMF comes from YaBB SE the license is no longer OS.

Nothing against SMF but I thought I should point this out before people start getting themselves into trouble.
Title: Re: Mambo Open Source
Post by: [Unknown] on August 11, 2004, 02:06:20 AM
If you contact us, we may give you permission to redistribute in most cases....

The problem in the past was people trying to redistribute who, basically, didn't understand the basic rules of copyright law... so we decided to ban it entirely by default, except under... exceptions.

-[Unknown]
Title: Re: Mambo Open Source
Post by: Tywick on August 11, 2004, 12:49:51 PM
Understandable. I'll probably do some more contacting when Sphinx (http://sphinx-cms.com) is ready for beta testing.
Title: Re: Mambo Open Source
Post by: whiterabbit on August 13, 2004, 12:29:15 PM
Thank you for all interest in Mambo + SMF component.
I have been away for awhile.

As I stated on my web site, the integration was an Alpha version and was NOT a Publicly released, so it would be better to limit the distribution.

SMF RC1 released, the component beta will be coming soon ;)

Since, unlike Mambo, SMF is not GPL license; thus if I will make the integration public release I must contact SMF dev. team beforehand.

Cheers,
Title: Re: Mambo Open Source
Post by: Oldiesmann on August 14, 2004, 07:27:45 PM
Keep us updated on this. I know someone who would be interested (just re-vamped the site - from a custom site + SMF (converted from YaBB SE) to Mambo).
Title: Re: Mambo Open Source
Post by: LaurieC on August 15, 2004, 01:14:41 AM
Glad you are back from vacation whiterabbit. Hope you enjoyed it! I am very interested in the SMF + Mambo integration as well.

Lace
Title: Re: Mambo Open Source
Post by: Kris on August 15, 2004, 01:36:09 AM
/me is also interested

I need a portal soon and I have the feeling Kevin won't be ready soon...
Title: Re: Mambo Open Source
Post by: Tony Reid on August 16, 2004, 04:54:13 AM
Quote from: whiterabbit on August 13, 2004, 12:29:15 PM
Thank you for all interest in Mambo + SMF component.
I have been away for awhile.

As I stated on my web site, the integration was an Alpha version and was NOT a Publicly released, so it would be better to limit the distribution.

SMF RC1 released, the component beta will be coming soon ;)

Since, unlike Mambo, SMF is not GPL license; thus if I will make the integration public release I must contact SMF dev. team beforehand.

Cheers,

Very interested!
Title: Re: Mambo Open Source
Post by: Raine on August 18, 2004, 12:41:14 AM
Please do keep it coming!
Title: Re: Mambo Open Source
Post by: guido on September 01, 2004, 10:00:12 PM
Quote from: yardbird on June 30, 2004, 09:31:28 AM
I have a Mambo site with SMF integration as well.  Excellent combination.
I was looking at Coppermine for a Gallery and then found zOOm Gallery by Mike Deboer as a Mambo component (version 2.1.2 is working wonderfully)

My only real concern with all of this is that Mambo 4.6 will come out and all of the add-ons will be broken until their respective developers adapt.
humm, zoom gave problems me.  I integrate cpg in my site, by means of brigde to the data base of smf, and cpg put like wrapper, was very simple.  watch as it works in http://www.aestoaspiramos.cl

and see in http://www.magnificentworld.net/component/option,com_smf/Itemid,30/topic,58.0.html
Title: Re: Mambo Open Source
Post by: Thunderace on September 05, 2004, 08:25:15 AM
SMF RC1 integration (http://www.magnificentworld.net/) with Mambo,

Magenta aquamania theme (http://www.simplemachines.org/community/index.php?topic=15917.0) by the talented Andrea

All mistakes and odd looking bits by the untalented Thunderace

See here uk baby website and forum (http://www.babygurgles.com)
Title: Re: Mambo Open Source
Post by: yardbird on September 07, 2004, 12:26:59 PM
Problem is that JZ hasn't made the SMF RC1/Mambo 4.5.1 RC3 integration available publicly yet.  When he does I'll be jumping on this. The really neat thing about it is that it appears you can link direct to your forums OR open them in Mambo wrappings.
Title: Re: Mambo Open Source
Post by: Thunderace on September 07, 2004, 02:35:51 PM
You could allways link direct (standalone) or wrap in Mambo  ???
Title: Re: Mambo Open Source
Post by: yardbird on September 07, 2004, 03:06:18 PM
yeah I might direct link it as a standalone for now, but still install it into components/com_smf and feed it the Mambo database name. That way I should be able to do the integration easily when JZ gets it completed.
Title: Auto-registration into SMF from Mambo
Post by: Orstio on September 13, 2004, 07:35:41 PM
I made a mod to Mambo's registration, so that it automatically writes the username and password to the SMF members table.  New users should be able to register, and use their username and password immediately without the confirmation form on entry to SMF.

If you have SMF RC1, Mambo Open Source 4.5 and WhiteRabbit's integrated component, this should work for you.

You can download the modified Mambo registration file here:

http://www.everything-science.com/uploadfiles/registration.zip

(Could somebody who is able to attach files do that for me?)

Unzip and upload to your com_registration folder.

Note that this will not synchronize existing users.  It will only synchronize new registrations.


Edit: file attached to this post as requested
Title: Re: Mambo Open Source
Post by: whiterabbit on September 13, 2004, 09:20:38 PM
:D actually in the PM I meant you can post it on my board, since I will not edit anything Mambo's (for compatibility's sake), and it will help people who need it, and over there is more related to the integration than here. ;)
But this is a good help.

For the people who have installed the integration, if you like, you can try this Mambo modification, and if you have any problem I may be able to suggest something and also Orstio, I believe you can ask him for suggestion as well. :) Thanks.


Quote from: Thunderace on September 07, 2004, 02:35:51 PM
You could allways link direct (standalone) or wrap in Mambo ???

Yes you can ;) if you have read my post in the early stage of the integration, it was
among my intensions to make it so SMF can work as stand alone as well as Mambo component.
Title: Re: Mambo Open Source
Post by: Orstio on September 13, 2004, 09:35:21 PM
I can post it at your site as well.  I thought here may be more appropriate, because people here are focused more on SMF, and making registration from Mambo to SMF for the end user simpler would be of interest here.

Title: Re: Mambo Open Source
Post by: BCCZeus on September 14, 2004, 11:37:20 AM
I've got a Mambo/SMF integration working over here (http://www.benscustomcases.com).  It's an active site, but I still have some templating to do to make the forum appear like it belongs.  Awesome support and work by whiterabbit and all the people over at the Magnificent world.
Title: Re: Mambo Open Source
Post by: NEMINI on September 14, 2004, 01:23:04 PM
I'm looking forward to the public release of this :)
Title: Re: Mambo Open Source
Post by: The Anvil on September 19, 2004, 04:19:22 AM
So how is it comming along? Any more exciting news?  ;)

Yea, I'm very very looking forward to this because i'm about to start a Mambo site, and would love to have an SMF board to accompany my new site.  Hope everything is going well, and the release is soon.  :)
Title: Re: Mambo Open Source
Post by: Orstio on September 20, 2004, 03:49:38 AM
I have made a functioning Mambo-SMF bridge, without altering any SMF or Mambo source code.

I will have a Mambo component installation package ready in a few days, hopefully.

8)
Title: Re: Mambo Open Source
Post by: Orstio on September 21, 2004, 11:29:08 PM
Here it is:

http://www.everything-science.com/uploadfiles/com_smf.zip

(Again, could somebody attach that for me?)

Follow the instructions in the readme file.  Please note that this bridge will not work with WhiteRabbit's modified files.  You must have the original SMF files to make this work.
Title: Re: Mambo Open Source
Post by: [Unknown] on September 22, 2004, 12:57:14 AM
Hmmm...

-[Unknown]
Title: Re: Mambo Open Source
Post by: andrea on September 22, 2004, 01:37:34 AM
Quote from: Orstio on September 21, 2004, 11:29:08 PM
Here it is:

http://www.everything-science.com/uploadfiles/com_smf.zip

(Again, could somebody attach that for me?)

Follow the instructions in the readme file.  Please note that this bridge will not work with WhiteRabbit's modified files.  You must have the original SMF files to make this work.

Suggestion: work together with WhiteRabbit.
Title: Re: Mambo Open Source
Post by: [Unknown] on September 22, 2004, 01:48:15 AM
Next version (RC2), this will work:

<?php
/*
* This is an SMF bridge component for Mambo Open Source.
* Based on component created by Theodore Hildebrandt, September 20, 2004
*/

// First let's load the configuration.  This should give us $smf_path.
require("components/com_simplemachinesforum/config.smf.php");

// Now, let's set up the correct URL to this component.
$myurl $_SERVER['PHP_SELF'] . '?option=com_simplemachinesforum&amp;Itemid=' $Itemid '&amp;';

// Start rewriting URLs and links.
ob_start('smf_mosrewrite');

// This is sorta a hack; disable output compression.  We take it off later.
echo ' ';

// Now load index.php as normal.
require($smf_path '/index.php');

// Flush the buffer - if we don't, Mambo won't do it for us :(.
ob_end_flush();
ob_end_flush();

// Back to Mambo's database we go!!
mysql_select_db($GLOBALS['mosConfig_db']);
$db_prefix '`' $db_name '`.' $db_prefix;

// Rewrite any links in SMF's format to Mambo's format.  May require PHP 4.2.0+.
function smf_mosrewrite($buffer)
{
global $scripturl$Itemid$myurl;

// Replace index.php? with $myurl, and index.php with $myurl.
$buffer preg_replace('/"' preg_quote($scripturl'/') . '\?/''"' $myurl$buffer);
$buffer preg_replace('/"' preg_quote($scripturl'/') . '(?=[^&?])/''"' $myurl$buffer);

// Take off that wee little space we put on before ;).
return ltrim($buffer);
}

?>


Tested and working ;).  Thanks for giving me the idea ;).

(still a few things might need to be redone *a little* though...)

-[Unknown]
Title: Re: Mambo Open Source
Post by: Orstio on September 22, 2004, 02:47:21 AM
QuoteSuggestion: work together with WhiteRabbit.

Sorry, it's not that I made an effort to make sure that WhiteRabbit's files worked or didn't work.  The changes he has made to SMF did not seem necessary to me, and when I started on this bridge, it became apparent that I couldn't make both the original SMF and WhiteRabbit's modified files work.  That note is more of a caveat, that if you already have those modified files, this will not work for you.  It was not meant in spite, and I do appreciate all the work he has put into his integrated component.

QuoteNext version (RC2), this will work:

Does this work with SMF RC1?  If so, I'd rather use it;  Your code is a lot cleaner.
Title: Re: Mambo Open Source
Post by: [Unknown] on September 22, 2004, 03:03:56 AM
I'm afraid it doesn't, but it accomplishes the same thing a lot cleaner with a few little changes to SMF here and there ;).

-[Unknown]
Title: Re: Mambo Open Source
Post by: packman on September 22, 2004, 08:32:28 AM
Are the 'few little changes' things that can be made to the distributed SMF so that it works with the bridge(s). It would be fantastic to use an out-of-the-box SMF with an out-of-the-box Mambo just by adding a standard bridge component into Mambo.
Title: Re: Mambo Open Source
Post by: NEMINI on September 22, 2004, 01:30:41 PM
caution here comes a noob question:

Not being familiar with 'bridging' components at all, what does this accomplish?  Is it just making smf appear inside mambo? Does one still have to log into mambo then into smf?  or is the login bridged as well?
Title: Re: Mambo Open Source
Post by: [Unknown] on September 22, 2004, 01:46:19 PM
Quote from: GMINI03 on September 22, 2004, 01:30:41 PM
caution here comes a noob question:

Not being familiar with 'bridging' components at all, what does this accomplish?  Is it just making smf appear inside mambo? Does one still have to log into mambo then into smf?  or is the login bridged as well?

No, you're correct.  User authentication will have to be solved elsewhere, but at least it is shown within Mambo (you'll want to edit your template too, because this will produce two <html>s...)

There are a few problems with this still; access denied errors, like "you don't have permission to do x" will not be shown inside Mambo.  Does anyone know if Mambo has a shutdown function?  Forcing everything to just "fall through" the included file to show the layout is a bit too much; perhaps there's a "mos_show_footer"?  Anyone?

Orstio also made a component that handles duplicating registration information.  I don't know exactly what work Whiterabbit has done here, but this methodology can still simplify integration efforts, I think.  I asked both parties to tell me what needed to be done, and no one would - turns out it just needs to "fall through" index.php and everything will work, mostly.

Though, again, that really isn't ideal for error messages.

-[Unknown]
Title: Re: Mambo Open Source
Post by: [Unknown] on September 23, 2004, 01:29:31 AM
Notes:

It should use setPageTitle or something, if possible.  Perhaps some other functions like that to affect html output.  Mambo really needs to make the end of index.php/index2.php a function, such that it can be called by components.  SMF would integrate like 50% better at the least.

-[Unknown]
Title: Re: Auto-registration into SMF from Mambo
Post by: Vhexor on September 23, 2004, 05:22:02 PM
Quote from: Orstio on September 13, 2004, 07:35:41 PM
I made a mod to Mambo's registration, so that it automatically writes the username and password to the SMF members table.  New users should be able to register, and use their username and password immediately without the confirmation form on entry to SMF.

If you have SMF RC1, Mambo Open Source 4.5 and WhiteRabbit's integrated component, this should work for you.

You can download the modified Mambo registration file here:

http://www.everything-science.com/uploadfiles/registration.zip

(Could somebody who is able to attach files do that for me?)

Unzip and upload to your com_registration folder.

Note that this will not synchronize existing users.  It will only synchronize new registrations.


Edit: file attached to this post as requested

Will this work if I have SMF set to send users an activation email?
Title: Re: Mambo Open Source
Post by: Orstio on September 23, 2004, 05:40:36 PM
QuoteWill this work if I have SMF set to send users an activation email?

Yes, it works.
Title: Re: Mambo Open Source
Post by: [Unknown] on September 23, 2004, 05:45:48 PM
Quote from: [Unknown] on September 23, 2004, 01:29:31 AM
<ambo really needs to make the end of index.php/index2.php a function, such that it can be called by components.  SMF would integrate like 50% better at the least.

http://forum.mamboserver.com/showthread.php?t=16466

There's also redirectexit... that can be fixed... and a template (sans html, etc.) needs to be written to maximize possible width, etc.

-[Unknown]
Title: Re: Mambo Open Source
Post by: Tony Reid on September 24, 2004, 03:21:03 AM
Just so you all know....

Mambo4.51 has been released from RC status today is now a Final Release..

http://www.mamboportal.com/content/view/1643/2/

For anyone wishing to integrate it with SMF you can download it here as they dont seem to have updated the mamboserver.com site yet ....
http://mamboforge.net/

Title: Re: Mambo Open Source
Post by: packman on September 24, 2004, 07:22:57 AM
If my experience is typical I suspect uptake of 4.51 will be slow. I don't use a lot of extra components. but I found  most of the ones I have installed didn't work when I tested an upgrade using RC4. Unfortunately there aren't a lot of 4.5.1 compatible components around.
Title: Re: Mambo Open Source
Post by: [Unknown] on September 24, 2004, 03:21:56 PM
Hmm... I was testing with 4.5.1.  I couldn't even get the link on the menu with previous.

Looks like they're ignoring my suggestion.  That's gonna mean minor modifications to both Mambo and SMF.

-[Unknown]
Title: Re: Mambo Open Source
Post by: packman on September 24, 2004, 03:35:24 PM
Starting out with 4.5.1 is OK, as long as you don't want masses of components/modules. The problem is for users with sites based on earlier versions. Despite only being a 0.0.1 version upgrade there appear to have been some fairly significant structural changes. I found whole directory structures seem to have disappeared or moved.

Can you point us at where you've asked for the change to make SMF integration easier? Perhaps some other Mambo users could add their weight to the suggestion if we knew where to look?
Title: Re: Mambo Open Source
Post by: [Unknown] on September 24, 2004, 04:35:31 PM
Quote from: [Unknown] on September 23, 2004, 05:45:48 PM
Quote from: [Unknown] on September 23, 2004, 01:29:31 AM
Mambo really needs to make the end of index.php/index2.php a function, such that it can be called by components.  SMF would integrate like 50% better at the least.

http://forum.mamboserver.com/showthread.php?t=16466

There's also redirectexit... that can be fixed... and a template (sans html, etc.) needs to be written to maximize possible width, etc.

-[Unknown]

The link I gave above is where I made my suggestion.

-[Unknown]
Title: Re: Mambo Open Source
Post by: Orstio on September 25, 2004, 06:41:45 PM
Hey [Unknown], I got approval at MamboForge to create a Mambo-SMF bridge component project.  Do you think the changes to Mambo you suggest can fall under that project?  If so, all bridge component files can be distributed from there.  This would probably get a few Mambo users converting to SMF.

I guess the biggest concern about this change would be to ensure that it doesn't keep other components from working properly.

I have to agree with Packman that MOS 4.5.1 is not yet fully supported.  There are only a few components and templates that have been updated for it.
Title: Re: Mambo Open Source
Post by: Kris on September 25, 2004, 06:51:10 PM
So far, the bridge from Orstio works fine in my dev-site.
Just some little changes I made to the css file from SMF.
Mambo had some problems with font sizes like "small" and so. Really had to put 9pt.

Beside that I'm gonna make some mods for displaying some SSI stuff.
That way you can put some announcements and so on the frontpage.

I'm also thinking about a stripped down version of the forum layout like omitting the header with user and date. That one you already see in the portal.
Title: Re: Mambo Open Source
Post by: Slack on September 25, 2004, 06:51:57 PM
Orstio, what version of Mambo are you building the bridge for? (I'd like to start looking at that version)

Thanks,
John

Title: Re: Mambo Open Source
Post by: Slack on September 25, 2004, 06:53:20 PM
Kris, can we see you Development site?

Thanks,
Title: Re: Mambo Open Source
Post by: Kris on September 25, 2004, 06:55:32 PM
Quote from: Slack on September 25, 2004, 06:53:20 PM
Kris, can we see you Development site?

Thanks,

I hope to get it online next week.
Title: Re: Mambo Open Source
Post by: Orstio on September 25, 2004, 06:57:23 PM
The component that i uploaded here is for 4.5.0, but I believe the changes that [Unknown] was talking about apply to 4.5.1.  I don't know if they would also apply to 4.5.0.
Title: Re: Mambo Open Source
Post by: Slack on September 25, 2004, 07:55:49 PM
OK, thanks guys - enough to get me looking at Mambo.

Cheers,
Title: Re: Mambo Open Source
Post by: [Unknown] on September 25, 2004, 08:00:48 PM
Orstio, I don't mind at all if it's under there... my point was only that it would hurt nothing (and yes, it would hurt nothing) to implement my suggestion, and only be to the benefit of Mambo....

The changes I suggested are the same in 4.5.0 and 4.5.1, and are very simple.

Doesn't look like my suggestion is getting much attention, though.  Here, I'll describe it with code:

index.php, find:
$_MOS_OPTION['buffer'] = ob_get_contents();
ob_end_clean();

initGzip();

header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" );
header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" );
header( "Cache-Control: no-store, no-cache, must-revalidate" );
header( "Cache-Control: post-check=0, pre-check=0", false );
header( "Pragma: no-cache" );

if (!file_exists("templates/$cur_template/index.php")){
echo _TEMPLATE_WARN;
} else {
require_once( "templates/$cur_template/index.php" );
echo "<!-- ".time()." -->";
}
if ($mosConfig_debug) {
echo $database->_ticker . ' queries executed';
echo '<pre>';
foreach ($database->_log as $k=>$sql) {
    echo $k+1 . "\n" . $sql . '<hr />';
}
}
doGzip();


Replace:
mos_terminate();

function mos_terminate()
{
foreach ($GLOBALS as $name => $value)
$$name = &$GLOBALS[$name];
   
$_MOS_OPTION['buffer'] = ob_get_contents();
ob_end_clean();

initGzip();

header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" );
header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" );
header( "Cache-Control: no-store, no-cache, must-revalidate" );
header( "Cache-Control: post-check=0, pre-check=0", false );
header( "Pragma: no-cache" );

if (!file_exists("templates/$cur_template/index.php")){
echo _TEMPLATE_WARN;
} else {
require_once( "templates/$cur_template/index.php" );
echo "<!-- ".time()." -->";
}
if ($mosConfig_debug) {
echo $database->_ticker . ' queries executed';
echo '<pre>';
foreach ($database->_log as $k=>$sql) {
    echo $k+1 . "\n" . $sql . '<hr />';
}
}
doGzip();

}


There, changes nothing for most everyone, and everything still works fine.

-[Unknown]
Title: Re: Mambo Open Source
Post by: roboter88 on September 25, 2004, 10:33:25 PM
*wow*
Just installed Mambo and i must say it looks very neat so far.

When i researched and read about mambo i found this news:
Furthermore plans to warn mambo user?
Eventually did some1 know something about this?
Furthermore said mambo stole code.
Mambo codet something but says he changed it and made it dynamicly.

Also mybe HERE is a good point to start with more changes for syndicating purpose and for tweaking meassure - like announced on their boarding :p

Also why they use vB makes no sense also here is another point for team work.

I will later try to bridge this

cheers
Title: Re: Mambo Open Source
Post by: Orstio on September 25, 2004, 10:49:05 PM
QuoteOrstio, I don't mind at all if it's under there... my point was only that it would hurt nothing (and yes, it would hurt nothing) to implement my suggestion, and only be to the benefit of Mambo....

Cool, I'll put it in the project.  That way, at least, it will get attention among people who use Mambo with SMF, and might work its way into a future core release that way.  As you said, it can only help with infrastructure in future components.

QuoteDoesn't look like my suggestion is getting much attention, though.

After searching through the forum there a few times, I discovered that not a whole lot of development takes place, or is discussed openly there.  Most of that takes place within the projects themselves.

QuoteFurthermore plans to warn mambo user?
Eventually did some1 know something about this?
Furthermore said mambo stole code.
Mambo codet something but says he changed it and made it dynamicly.

I'm wondering if that didn't have something to do with the release of 4.5.1.  The piece of code that Furthermore is threatening about is completely gone in 4.5.1.  At any rate, he can't do anything to the end user.  If he feels his copyright to the code was violated, it is the people who distribute that code that he needs to go after, not the end users.
Title: Re: Mambo Open Source
Post by: Orstio on September 25, 2004, 11:21:53 PM
Strange, that is not the code I have at the end of index.php in 4.5.0.

Here's what mine looks like:


$do_gzip_compress = FALSE;
if ($mosConfig_gzip==1) {
$phpver = phpversion();
$useragent = (isset($_SERVER["HTTP_USER_AGENT"]) ) ? $_SERVER["HTTP_USER_AGENT"] : $HTTP_USER_AGENT;

if ( $phpver >= '4.0.4pl1' && ( strstr($useragent,'compatible') || strstr($useragent,'Gecko') ) )
{
if ( extension_loaded('zlib') )
{
ob_start('ob_gzhandler');
}
}
else if ( $phpver > '4.0' )
{
if ( strstr($HTTP_SERVER_VARS['HTTP_ACCEPT_ENCODING'], 'gzip') )
{
if ( extension_loaded('zlib') )
{
$do_gzip_compress = TRUE;
ob_start();
ob_implicit_flush(0);

header('Content-Encoding: gzip');
}
}
}
} else {
ob_start();
}
header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" ); // Date in the past
header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" ); // always modified
header( "Cache-Control: no-store, no-cache, must-revalidate" );
header( "Cache-Control: post-check=0, pre-check=0", false );
header( "Pragma: no-cache" );

if (!file_exists("templates/$cur_template/index.php")){
echo "Template File Not Found!";
} else {
require_once( "templates/$cur_template/index.php" );
}

if ( $do_gzip_compress )
{
//
// Borrowed from php.net!
//
$gzip_contents = ob_get_contents();
ob_end_clean();

$gzip_size = strlen($gzip_contents);
$gzip_crc = crc32($gzip_contents);

$gzip_contents = gzcompress($gzip_contents, 9);
$gzip_contents = substr($gzip_contents, 0, strlen($gzip_contents) - 4);

echo "\x1f\x8b\x08\x00\x00\x00\x00\x00";
echo $gzip_contents;
echo pack('V', $gzip_crc);
echo pack('V', $gzip_size);
} else {
ob_end_flush();
}
Title: Re: Mambo Open Source
Post by: [Unknown] on September 26, 2004, 01:31:33 AM
I didn't say it was exactly the same, I'd said it was basically the same.

Just wrap that in a function, make sure the function is called, and extract the globals (as REFERENCES!!)

-[Unknown]
Title: Re: Mambo Open Source
Post by: packman on September 26, 2004, 02:53:02 AM
Quote from: Orstio on September 25, 2004, 10:49:05 PM
Cool, I'll put it in the project.  That way, at least, it will get attention among people who use Mambo with SMF, and might work its way into a future core release that way.  As you said, it can only help with infrastructure in future components.

I think you'll find that the mods that [Unknown] is suggesting should go into the core Mambo project, not into a component project. I don't think components or modules are supposed to change core Mambo code. I'm not sure how a SMF-Mambo bridge component would help future components, other than them perhaps using the same code. Even then if you modify core code, you're liable to get problems because one component slightly tweaks the code to support what it wants and that breaks another component. Components and/or Mambo are also likely to break if the Mambo dev team produce a patch to the modified core code.

I'd much rather see this code change implemented in the Mambo core, so we need to start lobbying the Mambo dev team...in a nice way. I've already added comments to support [Unknown]'s message.
Title: Re: Mambo Open Source
Post by: packman on September 26, 2004, 02:57:19 AM
And whilst I was typing my last reply Stingrey (a member of the Mambo Dev team) has just said..."Just so you know I'll keep this issue in mind when working on 4.5.2"

They have said that 4.5.2 won't take as long to arrive as 4.5.1 did after 4.5.0, so maybe we won't have to wait long.

Yippee  :D
Title: Re: Mambo Open Source
Post by: Abedie on September 26, 2004, 08:29:34 AM
Hi,

Quote from: roboter88 on September 25, 2004, 10:33:25 PM
..........(zap) Also why they use vB makes no sense (zap).....

This is happening to other scripts too, like OCportal. Does they realy think people would trust the use of the sometimes included forums if they don't use it themselves?

Just my two cents,
Abedie.
Title: Re: Mambo Open Source
Post by: mmx on September 26, 2004, 08:50:57 AM
I believe that Stingrey is referring to the use of XML-RPC in RAMBO to allow cross-site authentication on a single server and acrosss remote servers. If you check the mamforge.net CVS, you will note that renewed experimentation on RAMBO is underway. The RAMBO concept is much more than just authentication or webservices and probably won't be fully exploited until 4.6 and 5.0 when individual Mambo components become XML-RPC servers. However, the webservices portion of the concept is being introduced across 4.5.2 and 4.5.3 using what appears to be a component with associated plugins (mambots). In 4.5.1, a secret key parameter was introduced and this is the precursor to cross-site communications using XML-RPC.

Thus, I think Stingrey is thinking along the lines of broadening the original authentication concept to include third-party applications.
Title: Re: Mambo Open Source
Post by: yardbird on September 26, 2004, 09:02:09 AM
The developers really do pay attention to those boards. Obviously they can't respond to everything but I know from experience that they often watch a topic develop, see where it's going and how it plays out, and then suddenly a new feature appears.  As an example please read this thread...
http://forum.mamboserver.com/showthread.php?t=15908&page=1&pp=10&highlight=dream+sequence

I am reikimaster on that board. The thread shows what can happen if an idea is presented to a dev that they can sink their teeth into. I use Mambo. I like it. I upgraded immediately to 4.5.1 because the new features are worth it.  I jumped in here to comment because if I'm reading you correctly, the core code change you're talking about would be a benefit to anyone developing for Mambo. I have my SMF forums as a separate entity at the moment. My web site doesn't require login but obviously the message boards do. So I "wrapped" SMF in my Mambo template quite easily while waiting for a true integration to come along.

Please continue to explain to the devs why your code change ideas are worthwhile. They do listen.
And if your core code change to Mambo would be rather easily implemented, Why not do a Mambo 4.5.1 install, modify the code, show them the site with modified code and how developers can now use that for new components and modules.  I only suggest this if it's not a big time sink as I know you have other development on SMF being worked on. But if you could show them an example.....

Title: Re: Mambo Open Source
Post by: roboter88 on September 26, 2004, 10:01:11 AM
Quote from: Abedie on September 26, 2004, 08:29:34 AM
Hi,

Quote from: roboter88 on September 25, 2004, 10:33:25 PM
..........(zap) Also why they use vB makes no sense (zap).....

This is happening to other scripts too, like OCportal. Does they realy think people would trust the use of the sometimes included forums if they don't use it themselves?

Just my two cents,
Abedie.
Well i just think it is a bigger adventure to use a open source project instead of a commercial also for integration in later releases cause whtever they say a forum is a CMS standard feature nowadys :p

And the argument its not stable/not enough tested - well i just guess they dont had the time yet to check everything.
Also its always not easy to change a desission :p

cheers
Title: Re: Mambo Open Source
Post by: Puc conDoin on September 29, 2004, 10:16:36 AM
Is this the site to look at? http://mos-smf.mamboforge.net/

It's pretty empty!

I'm looking for integration of SMF into Mambo. We plan to use a CMS (Mambo?) with SMF on our site http://www.4gm.nl
Title: Re: Mambo Open Source
Post by: Slack on September 29, 2004, 11:33:11 AM
Quote from: Orstio on September 25, 2004, 06:57:23 PM
The component that i uploaded here is for 4.5.0, but I believe the changes that [Unknown] was talking about apply to 4.5.1. I don't know if they would also apply to 4.5.0.

Orstio,

Does your compnent also work with 4.5.1?  or are you working on a component for 4.5.1?

Thanks.
Title: Re: Mambo Open Source
Post by: [Unknown] on September 29, 2004, 10:34:49 PM
I'm afraid I made a very crucial typo in my code, although it's not that big a deal, it does make a big difference:

index.php, find:
$_MOS_OPTION['buffer'] = ob_get_contents();
ob_end_clean();

initGzip();

header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" );
header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" );
header( "Cache-Control: no-store, no-cache, must-revalidate" );
header( "Cache-Control: post-check=0, pre-check=0", false );
header( "Pragma: no-cache" );

if (!file_exists("templates/$cur_template/index.php")){
echo _TEMPLATE_WARN;
} else {
require_once( "templates/$cur_template/index.php" );
echo "<!-- ".time()." -->";
}
if ($mosConfig_debug) {
echo $database->_ticker . ' queries executed';
echo '<pre>';
foreach ($database->_log as $k=>$sql) {
    echo $k+1 . "\n" . $sql . '<hr />';
}
}
doGzip();


Replace:
mos_terminate();

function mos_terminate()
{
foreach ($GLOBALS as $name => $value)
$$name = &$GLOBALS[$name];
   
$_MOS_OPTION['buffer'] = ob_get_contents();
ob_end_clean();

initGzip();

header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" );
header( "Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT" );
header( "Cache-Control: no-store, no-cache, must-revalidate" );
header( "Cache-Control: post-check=0, pre-check=0", false );
header( "Pragma: no-cache" );

if (!file_exists("templates/$cur_template/index.php")){
echo _TEMPLATE_WARN;
} else {
require_once( "templates/$cur_template/index.php" );
echo "<!-- ".time()." -->";
}
if ($mosConfig_debug) {
echo $database->_ticker . ' queries executed';
echo '<pre>';
foreach ($database->_log as $k=>$sql) {
    echo $k+1 . "\n" . $sql . '<hr />';
}
}
doGzip();

exit;
}


The only difference you'll notice is that the exit function should use exit; if at all possible to simplify things.

-[Unknown]
Title: Re: Mambo Open Source
Post by: Orstio on September 30, 2004, 02:34:37 AM
QuoteIs this the site to look at? http://mos-smf.mamboforge.net/

It's pretty empty!

Yes, that is it, and it is empty.  I need to put some files in there.

QuoteOrstio,

Does your compnent also work with 4.5.1?  or are you working on a component for 4.5.1?

Thanks.

I have since upgraded my site to 4.5.1, and the component works fine.  The registration file is a little different, though.  What I want to do with this is make an alternative login component, so that the registration that I have made doesn't replace Mambo's, it acts as an alternative by letting the administrator unpublish the core login and publish the SMF-bridge login.  That way no core Mambo components are touched.
Title: Re: Mambo Open Source
Post by: Kris on September 30, 2004, 10:58:15 AM
But when you register mambo ypu are automatically regostered in SMF and the way around, or... ???
Title: Re: Mambo Open Source
Post by: Orstio on September 30, 2004, 03:48:21 PM
QuoteBut when you register mambo ypu are automatically regostered in SMF and the way around, or...

Are you asking if the SMF Bridge includes the registration across both databases?  The answer to that is no.  Registration in Mambo is handled by Mambo's registration component.  That component either has to be modified to include SMF registration, or an alternative component installed that will do the job (and then the login module needs to be replaced also so that new registrations are routed to the alternative component).

The registration zip that is uploaded here (look back a few pages) will do that for Mambo 4.5, but not for 4.5.1.  I'm going to put that together as an easy-to-install component as well, one that does not overwrite the Mambo core files, but instead acts as an alternative by allowing the administrator to unpublish the core login and publish the modified login.

Maybe this is more clear:  The part of Mambo that displays SMF is not the same as the part that handles registration.
Title: Re: Mambo Open Source
Post by: SVT242 on September 30, 2004, 04:02:41 PM
First off Theodore let me tell you THANK YOU for your efforts in trying to bridge the two. I am glad you have stepped up to the plate to make these two softwares work side by side together.

My question to is...

* Are you going to design a mod to where a user can register via Mambo and that user will also be registered in SMF as well?

I would prefer to run SMF *not* within the frame, but as a stand alone similar to a phpBB component that give the ADMIN the CHOICE of whether or not the forum is displayed from WITHIN Mambo or Not. 

I am currently running phpBB w/mambo and love the SHARED USER DATABASE FEATURE and that is the ONLY thing that is keeping me away from switching to SMF. I think SMF is the MOST sophisticated open source forum software that rivals ANY commercial forum software I know my users would thank me ten fold for using SMF for our forums, but we need to get better support for the mambo users that want to use.

I am concerned that my users would not like to have to register twice.
Also I am concerned with importing my current mambo/phpbb (same) over to SMF.


-Thanks,

Chris
(LightningRodder.com)

p.s.: Theodore, I am willing to make a small contribution to you for your efforts if you plan to seriously work on this module (bridge).
PM ME or e-mail me so we may discuss such. [email protected]

Title: Re: Mambo Open Source
Post by: Orstio on September 30, 2004, 04:23:53 PM
Quote* Are you going to design a mod to where a user can register via Mambo and that user will also be registered in SMF as well?

Yep, that's the next thing I'm working on.  I already have that working on my site, but I want to set it up right, so that it will be easy for the administrator to install/uninstall. 

QuoteI would prefer to run SMF *not* within the frame, but as a stand alone similar to a phpBB component that give the ADMIN the CHOICE of whether or not the forum is displayed from WITHIN Mambo or Not.

Because no SMF files are changed at all, that is easy.  You just set up your Mambo menu item to link to the URL of your SMF, instead of to the component.

For example, here is the component, inside Mambo:

http://www.everything-science.com/index.php?option=com_smf&Itemid=31&

And, here it is without Mambo:

http://www.everything-science.com/components/com_smf/



Title: Re: Mambo Open Source
Post by: [Unknown] on September 30, 2004, 05:29:51 PM
What about a registration component that does both?

Meaning, this component might register in SMF *and* in Mambo.  Then maybe the new login component might log them into Mambo *and* SMF.

Within Mambo or not shouldn't be a problem.  You should be able to install the login/register part without the SMF component, and have it still do its magic.

I am very much hoping to avoid double registration.

This also brings up conversion.  Is there any way to convert (copy) all Mambo users to SMF?  And the reverse - copy SMF users to Mambo?  This would be great for someone wanting to use SMF with Mambo who already has a membership, or similarly wanting to switch to using SMF.

Thanks,
-[Unknown]
Title: Re: Mambo Open Source
Post by: trenchteam on October 01, 2004, 01:09:33 AM
Looking foward to this
Title: Re: Mambo Open Source
Post by: Kris on October 01, 2004, 01:44:21 AM
Good point Unknown.

Next week I will need to import the current production database (Beta 6 into RC2 integrated in Mambo) into my current new site/portal. (Might need some help)

I fear my users need to register again in Mambo. Must be great if Mambo recognizes the usertable and synchronizes it with the mambo usertable.
Title: Re: Mambo Open Source
Post by: Kris on October 01, 2004, 04:28:45 AM
Orstio, another remark: after conversion of SMF from RC1 to RC2, the new footer in mambo isn't shown and the new buttons (Mark Unread) not displayed. When displaying the forum directly through the originsal url all is displayed as meant to be.

Title: Re: Mambo Open Source
Post by: Orstio on October 01, 2004, 07:45:38 AM
Quote from: [Unknown] on September 30, 2004, 05:29:51 PM
What about a registration component that does both?

Meaning, this component might register in SMF *and* in Mambo.  Then maybe the new login component might log them into Mambo *and* SMF.

Within Mambo or not shouldn't be a problem.  You should be able to install the login/register part without the SMF component, and have it still do its magic.

I am very much hoping to avoid double registration.

This also brings up conversion.  Is there any way to convert (copy) all Mambo users to SMF?  And the reverse - copy SMF users to Mambo?  This would be great for someone wanting to use SMF with Mambo who already has a membership, or similarly wanting to switch to using SMF.

Thanks,
-[Unknown]

I think we're all talking about the same thing here.

The component that I released already is the display of SMF in Mambo.  This has nothing to do with registration.

What I am working on now is the registration/login.  It requires that SMF be installed in the same database, but the display of SMF within a Mambo page is not required for this to work.  This will avoid double registration.  It will register new users into both Mambo and SMF from a single input form.

The two components will work together, or separately.  It's up to the administrator.

Perhaps you could help out a bit with converting current users, [Unknown].  How would I take the Mambo encrypted password, and convert it to the SMF encryption, or vice versa?  This is easy enough to do with new regsitrations, because it is a case of one input, and two outputs.  But how do you convert one into the other?
Title: Re: Mambo Open Source
Post by: Orstio on October 01, 2004, 07:48:12 AM
Quote from: Kris on October 01, 2004, 04:28:45 AM
Orstio, another remark: after conversion of SMF from RC1 to RC2, the new footer in mambo isn't shown and the new buttons (Mark Unread) not displayed. When displaying the forum directly through the originsal url all is displayed as meant to be.



[Unknown] posted the code that you'll have to use for smf.php with RC2 a few pages back. 
Title: Re: Mambo Open Source
Post by: Prone on October 01, 2004, 10:49:02 AM
I've taken my own steps and worked on it, not being the best coder in php. Problem is that the Mambo devs I tried to talk to were very reluctant :( Hmm, no answers.

I just want to do two things:

1. Make users register once only, not twice. It just keeps users from registering on the site altogether. Problem will be aswell that I can not merge the two projects (i.e. Mambo and SMF)'s databases. The new system I will use is asp.NET based (being developed at the moment) and I will have to find a way to handle it.

2. I want to have a box on my site like it is when you come to this site now (last thread, users online). That should be no problem, right?

My only question is (so I can integrate the users online thing) for now: is there a code snippet somewhere that I can integrate into my template, using the original SMF routines, i.e. grabbing users online etc. from the SMF database like it is on the front page of simplemachines.org?

Thanks,
Phil
Title: Re: Mambo Open Source
Post by: [Unknown] on October 01, 2004, 02:39:08 PM
Quote from: Orstio on October 01, 2004, 07:45:38 AM
I think we're all talking about the same thing here.

The component that I released already is the display of SMF in Mambo.  This has nothing to do with registration.

I understand that.

QuoteWhat I am working on now is the registration/login.  It requires that SMF be installed in the same database, but the display of SMF within a Mambo page is not required for this to work.  This will avoid double registration.  It will register new users into both Mambo and SMF from a single input form.

There's no reason to require it to be in the same database; this can be worked around.  I also understood this, and of course I meant that this is desirable.

QuoteThe two components will work together, or separately.  It's up to the administrator.

I also understood this.

QuotePerhaps you could help out a bit with converting current users, [Unknown].  How would I take the Mambo encrypted password, and convert it to the SMF encryption, or vice versa?  This is easy enough to do with new regsitrations, because it is a case of one input, and two outputs.  But how do you convert one into the other?

Well, how does Mambo encrypt?  Just a simple md5?

Well, you can use SSI.php.  This site is not using any portal software.

-[Unknown]
Title: Re: Mambo Open Source
Post by: Orstio on October 01, 2004, 07:16:45 PM
QuoteThere's no reason to require it to be in the same database; this can be worked around.  I also understood this, and of course I meant that this is desirable.

You are correct:  There should be a way to work around the two needing to be in the same database.

QuoteWell, how does Mambo encrypt?  Just a simple md5?

Yeah, Mambo just uses md5. 
Title: Re: Mambo Open Source
Post by: [Unknown] on October 01, 2004, 07:29:33 PM
If you put Mambo's password in the SMF database, it will automagically convert it to SMF's encryption once they log in.

Converting the other way is actually not possible.  However, when they log in, the conversion could be done if the SMF password matches but the Mambo one doesn't exist.

You can access cross-database tables like so:
database.tablename.columnname

The idea would be simply to prefix the database prefix with "`databasename`." - you may notice that smf_api.php automatically does this.

Of course, the MySQL user has to have access to both databases, or this will fail.

-[Unknown]
Title: Re: Mambo Open Source
Post by: Orstio on October 01, 2004, 08:05:24 PM
Thanks, [Unknown], that helps a lot.  :D

So, it should be pretty easy to make a script that compares Mambo users to SMF users, and then writes the ones that don't exist in SMF to the SMF table.

Now you've got me thinking, though.  What's to stop the Mambo login module from verifying the password via the SMF table?

I could get it to do something like this:

1) Check to see if the user/password exists in Mambo;  if so, login
2) Else check to see if the user/password exists in SMF; if so, write user/password into Mambo, and login

This way, migration of the users from SMF to Mambo could be handled by the act of logging in to Mambo.
Title: Re: Mambo Open Source
Post by: [Unknown] on October 01, 2004, 08:11:22 PM
Yeah, that would work fine.... sounds like a plan indeed ;).

-[Unknown]
Title: Re: Mambo Open Source
Post by: Kris on October 02, 2004, 02:05:20 AM
Orstio, looking forward to that plug in ;)
Title: Re: Mambo Open Source
Post by: Kris on October 02, 2004, 09:15:09 AM
btw, the registration.php orstio uploaded doesn't wotk for me...
Title: Re: Mambo Open Source
Post by: roboter88 on October 02, 2004, 09:16:48 AM
This is only for 4.5.0 ?
Title: Re: Mambo Open Source
Post by: Kris on October 02, 2004, 10:39:43 AM
Quote from: Kris on October 02, 2004, 09:15:09 AM
btw, the registration.php orstio uploaded doesn't wotk for me...

I found this:

include_once ('components/com_smf/smfSSI.php');

???

Is an unknown file
Title: Re: Mambo Open Source
Post by: roboter88 on October 02, 2004, 10:47:01 AM
Which version you usiing 4.5.1 or earlyer?
Title: Re: Mambo Open Source
Post by: Kris on October 02, 2004, 10:55:05 AM
working with 4.5.0
Title: Re: Mambo Open Source
Post by: Orstio on October 02, 2004, 05:08:39 PM
I've uploaded a registration that works with 4.5.1 here:

http://mamboforge.net/frs/?group_id=543
Title: Re: Mambo Open Source
Post by: Kris on October 03, 2004, 03:20:15 AM
and with 4.5.0?

(upgrades from 4.5.0 to 4.5.1 are not recommended until 4.5.1.1 is out)
Title: Re: Mambo Open Source
Post by: Orstio on October 03, 2004, 03:48:13 AM
The quick fix for 4.5.0 is to change:

include_once ('components/com_smf/smfSSI.php');



to:


require_once ("components/com_smf/config.smf.php");
include_once ($smf_path . "/SSI.php");
Title: Re: Mambo Open Source
Post by: Kris on October 03, 2004, 03:52:09 AM
Quote from: Orstio on October 03, 2004, 03:48:13 AM
The quick fix for 4.5.0 is to change:

include_once ('components/com_smf/smfSSI.php');



to:


require_once ("components/com_smf/config.smf.php");
include_once ($smf_path . "/SSI.php");


Thnaks, I will check this one out immediately.

Have you tested the version RC2 in 4.5.0?
It is not possible to logout in the forum.


(I presume it is in registration.php ?)

Got a com_ and mod_ version for 4.5.0 too?
Title: Re: Mambo Open Source
Post by: Kris on October 03, 2004, 04:00:57 AM
Nope not working..



Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/site/public_html/MPortal/smforummix/Sources/Subs.php on line 161

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/site/public_html/MPortal/smforummix/Sources/Load.php on line 107

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/site/public_html/MPortal/smforummix/Sources/Load.php on line 109

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/site/public_html/MPortal/smforummix/Sources/Subs.php on line 161

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/site/public_html/MPortal/smforummix/Sources/Load.php on line 742

Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /home/site/public_html/MPortal/smforummix/Sources/Load.php on line 752

Warning: array_unshift(): The first argument should be an array in /home/site/public_html/MPortal/smforummix/Sources/Load.php on line 821
Title: Re: Mambo Open Source
Post by: Kris on October 03, 2004, 04:32:27 AM
database driven sessions don't work well wit mambo (looging out didn't work) but subdomain independant cookies work fine.
Title: Re: Mambo Open Source
Post by: Orstio on October 03, 2004, 05:39:40 AM
QuoteHave you tested the version RC2 in 4.5.0?
It is not possible to logout in the forum.

I haven't done anything with RC2 yet.

QuoteGot a com_ and mod_ version for 4.5.0 too?

The module will work for both versions.  That hasn't changed.  The component will need some work.  I'll try to release something tomorrow for 4.5.0.

QuoteNope not working..



Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/site/public_html/MPortal/smforummix/Sources/Subs.php on line 161

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/site/public_html/MPortal/smforummix/Sources/Load.php on line 107

etc.

Sorry about that.  The SSI include should go at the top. 

Move this (the code I posted earlier):
require_once ("components/com_smf/config.smf.php");
include_once ($smf_path . "/SSI.php");


right after this:

require_once( $mainframe->getPath( 'front_html' ) );
Title: Re: Mambo Open Source
Post by: Kris on October 03, 2004, 10:16:05 AM
works now :)
Title: Re: Mambo Open Source
Post by: SVT242 on October 03, 2004, 06:11:35 PM
Theodore, how do we roll over existing users from mambo into SMF after we do your registration mod?
Title: Re: Mambo Open Source
Post by: Orstio on October 03, 2004, 06:31:11 PM
Quote from: SVT242 on October 03, 2004, 06:11:35 PM
Theodore, how do we roll over existing users from mambo into SMF after we do your registration mod?


I haven't made anything that does that yet.

It's really just a matter of querying the mos_users table, making sure that you only select users that do not already exist in the smf_members table, and then adding the rows into the smf_members table.

[EDIT]OK, try this:

http://www.everything-science.com/uploadfiles/mos2smf.zip
Title: Re: Mambo Open Source
Post by: Kris on October 04, 2004, 01:59:21 AM
Orstio, handy would be an integration script that copies existing users from SMF into the memberbase of mambo.

I have almost 3000 members that I need to migrate ;) or they have all to register once again... (and the problem is they will then be registered into smf again because of the integration component.

Idea: what if..
- you register in mambo
- script checks if your username exist in SMF
- username exists -> ask for existing password
- if correct -> account is added to memberbase mambo. ;)
Title: Re: Mambo Open Source
Post by: trenchteam on October 04, 2004, 02:46:10 AM
^ yea, that would be great!  SO far though, the shared database is great! Thanks for the script! Waiting paitently for the migration script too
Title: Re: Mambo Open Source
Post by: trenchteam on October 04, 2004, 03:36:35 AM
My users are getting this when the register in Mambo. Not sure what this means.  Please help! Thanks.

Warning: main(components/com_smf/SSI.php): failed to open stream: No such file or directory in c:\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\components\com_smf_registration\smf_registration.php on line 15

Warning: main(): Failed opening 'components/com_smf/SSI.php' for inclusion (include_path='.;c:\php\pear') in c:\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\components\com_smf_registration\smf_registration.php on line 15
Title: Re: Mambo Open Source
Post by: neo on October 04, 2004, 03:46:13 AM
Quote from: Kris on October 04, 2004, 01:59:21 AM
Orstio, handy would be an integration script that copies existing users from SMF into the memberbase of mambo.

I have almost 3000 members that I need to migrate ;) or they have all to register once again... (and the problem is they will then be registered into smf again because of the integration component.

Idea: what if..
- you register in mambo
- script checks if your username exist in SMF
- username exists -> ask for existing password
- if correct -> account is added to memberbase mambo. ;)

I have 428 members
gute idee :)
Title: Re: Mambo Open Source
Post by: Orstio on October 04, 2004, 04:08:59 AM
Quote from: trenchteam on October 04, 2004, 03:36:35 AM
My users are getting this when the register in Mambo. Not sure what this means.  Please help! Thanks.

Warning: main(components/com_smf/SSI.php): failed to open stream: No such file or directory in c:\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\components\com_smf_registration\smf_registration.php on line 15

Warning: main(): Failed opening 'components/com_smf/SSI.php' for inclusion (include_path='.;c:\php\pear') in c:\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\components\com_smf_registration\smf_registration.php on line 15


You haven't changed the variable $smf_path in the file config.smf.php.  You can find the config file in components/com_smf.  For your site, you'll want to change it to "forum" instead of "components/com_smf".
Title: Re: Mambo Open Source
Post by: trenchteam on October 04, 2004, 05:35:01 AM
Does this have to be manually via FTP?  I tried installing by changing the file, then installing, but it doesn't work.  I also tried using the Edit configuration link in the admin menu, but it just re-routes me back to the Home of the Administration. 
Title: Re: Mambo Open Source
Post by: Orstio on October 04, 2004, 08:43:43 AM
Yes, sorry, it has to be done by FTP.  I'm not yet familiar enough with Mambo administration modules to make it configurable from the control panel.  :(
Title: Re: Mambo Open Source
Post by: roboter88 on October 04, 2004, 10:53:53 AM
Hi,
i added all 4.5.1 + rC1 and now i get a error
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /custom/www/mbo/components/com_smf/smf.php on line 40
(SMF code scrollbar not functional.)

Move this (the code I posted earlier):
require_once ("components/com_smf/config.smf.php");
include_once ($smf_path . "/SSI.php");


right after this:

require_once( $mainframe->getPath( 'front_html' ) );

i dont have
require_once( $mainframe->getPath( 'front_html' ) ); in smf.php

mos_smf_registration_b_3(i dont know for which version this is cause its not mentioned anywhere....)- SMF login - when i try install i get=XML setup file is not for a "component".

Well currently i will just stick to the wrapper - also a smf login woul dbe just fine ....

Any ideas?
Title: Re: Mambo Open Source
Post by: Kris on October 04, 2004, 11:41:38 AM
Quote from: roboter88 on October 04, 2004, 10:53:53 AM


i dont have
require_once( $mainframe->getPath( 'front_html' ) ); in smf.php




Any ideas?

Should go into your registration.php
Title: Re: Mambo Open Source
Post by: roboter88 on October 04, 2004, 11:43:34 AM
Is this optional?
Also the login component  want work so i guess registration makes not much sense till both work.

Title: Re: Mambo Open Source
Post by: Kris on October 04, 2004, 11:47:46 AM
Quote from: roboter88 on October 04, 2004, 11:43:34 AM
Is this optional?
Also the login component  want work so i guess registration makes not much sense till both work.



You can also put it before the </head> in your index.php from your portal.
Title: Re: Mambo Open Source
Post by: roboter88 on October 04, 2004, 12:09:25 PM
Thank you Kris,

this finally worked :-)

<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO?>" />
<?php mosShowHead(); 
require_once( 
$mainframe->getPath'front_html' ) );?>

<link href="<?php echo $mosConfig_live_site;?>/templates/rhuk_planetfall/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/templates/rhuk_planetfall/images/favicon.ico" />

</head>

http://roboter88.de/mbo/
cheers
Title: Re: Mambo Open Source
Post by: Orstio on October 04, 2004, 03:57:04 PM
Quotemos_smf_registration_b_3(i dont know for which version this is cause its not mentioned anywhere....)- SMF login - when i try install i get=XML setup file is not for a "component".

The registration contains two zips inside it.  one is a component, and the other is a module.  You have to unzip the main package, and then install each.  The entire thing won't install as one component.
Title: Re: Mambo Open Source
Post by: roboter88 on October 04, 2004, 04:39:08 PM
I did extraceted till i had 2 zips.... eg. registration.zip and loign.zip login not working.... it gives me a XML error under 4.5.1 i coul dinstall the register with no problem....






Title: Re: Mambo Open Source
Post by: Orstio on October 04, 2004, 04:55:19 PM
The login is a module, not a component.  You have to go to your Mambo admin/Install Module for that, not Install Component.
Title: Re: Mambo Open Source
Post by: trenchteam on October 05, 2004, 01:13:13 AM
any news on a SMF -->Mambo Migration?  That would be great. Currently, I have them registering for both, which is a bit much.  I feel bad about it. :(
Title: Re: Mambo Open Source
Post by: Orstio on October 05, 2004, 04:20:35 AM
I'm working on it, but I can't guarantee a time.   :(
Title: Re: Mambo Open Source
Post by: trenchteam on October 05, 2004, 04:27:33 AM
Thats fine Ortiso. The fact that you took the time to work on it at all, is great to know....... ;D
Title: Re: Mambo Open Source
Post by: SVT242 on October 06, 2004, 08:43:54 PM
ttt...

Good work gentlemen! Keep it up! :)
Title: Re: Mambo Open Source
Post by: Kris on October 07, 2004, 01:29:17 AM
I made some modules that display through ssi the different subsets of data as you see in ssi_examples.php.

Will share them later this week in a larger zip. Still need to make some to cover all of them.
Title: Re: Mambo Open Source
Post by: riekl on October 07, 2004, 12:38:04 PM
HrM Ok I've read this thread and everthing is in such a flux I am not sure what the proper steps are.  I am at a lucky stage of starting from scratch.  I have Mambo 4.51 installed and running, i'm about to install SMFRC1 .. what do i need to do so that users only need to register once, and login once to access both the portal and the forums ?
Title: Re: Mambo Open Source
Post by: roboter88 on October 07, 2004, 12:40:55 PM
If any1 need a beta tester PM me.

Running latest public  mambo (4.5.1a)


cheers
Title: Re: Mambo Open Source
Post by: neo on October 08, 2004, 06:54:59 AM
QuoteFatal error: Call to undefined function: get() in /home/boehsebaeren.de/www/modules/mod_smf_login.php on line 18
ich habe 4.5 Stable-1.0.9
SMF 1.0 RC1

www.boehsebaeren.de
Title: Re: Mambo Open Source
Post by: Orstio on October 08, 2004, 08:52:07 AM
Quote from: neo on October 08, 2004, 06:54:59 AM
QuoteFatal error: Call to undefined function: get() in /home/boehsebaeren.de/www/modules/mod_smf_login.php on line 18
ich habe 4.5 Stable-1.0.9
SMF 1.0 RC1

www.boehsebaeren.de

Thank you, I fixed it.  You should be able to download the zip and install just that module.

Your registration link should say "&task=register" at the end, instead of "&Itemid=99" ;)
Title: Re: Mambo Open Source
Post by: Orstio on October 08, 2004, 09:55:53 PM
For those afraid to upgrade for fear of breaking something;  I just applied the Mambo 4.5.1a patch to upgrade from 4.5.1, and the bridge still works, same as before.  :D

I recommend the upgrade, actually.  It fixes a few security issues, and the site seems to load faster.
Title: Re: Mambo Open Source
Post by: repete on October 09, 2004, 02:53:33 PM
I have a clean install of Mambo 4.5.1a and SMF 1.0, I installed the bridge component with no problem but I can't get to the config. In the readme it says:

"Edit the file config.smf.php in the com_smf folder to reflect the path to your SMF installation.  This will be the relative path from your Mambo index.php.  For example, if your Mambo index.php is at "http://www.yourdomain.com/index.php, and SMF is at "http://www.yourdomain.com/SMF/board/index.php", your path to SMF would be "SMF/board/"." 

If my mambo index is /var/www/html/index.php and SMF is /var/www/html/smf/index.php then I would think the path would be "smf/" in config.smf.php. But it doesn't work. Any help?
Title: Re: Mambo Open Source
Post by: Orstio on October 09, 2004, 04:30:44 PM
Try getting rid of the trailing "/".
Title: Re: Mambo Open Source
Post by: repete on October 10, 2004, 01:03:25 PM
I've tried a number of combinations but I always get sent to the Mambo control panel when I click on edit config with SMF bridge. Is there a separate config for the bridge component alone?

Anyways, keep up the great work!

Title: Re: Mambo Open Source
Post by: Orstio on October 10, 2004, 07:29:13 PM
QuoteI've tried a number of combinations but I always get sent to the Mambo control panel when I click on edit config with SMF bridge. Is there a separate config for the bridge component alone?

I haven't written a configuration editor yet.  You'll have to change the path manually.
Title: Re: Mambo Open Source
Post by: yardbird on October 11, 2004, 09:14:30 AM
Orstio,

First of all this is in no way intended to be insulting. I'm going to ask a couple questions about which I am admittedly ignorant and I wanted to state that up front because typed stuff sometimes doesn't come across the way we want. :)

I went to (what I think was) your web site to look at the SMF-Mambo bridge.   I created an account at the Mambo login/create account on the home page. After account confirmation I went to home page, logged in, and then opened forums. I was not logged in to forums, but rather I had to log in again.  Is this bridge simply passing user info between the 2 databases, but not actually logging in to both at the same time? (and I realize "simply" is probably a poor choice of words considering the work it takes to make this happen).

If I'm understanding what's happening as things are right now.... when you create an account in Mambo... Mambo passes that info to SMF, so now you're in both user databases. I wouldn't have to create an account in SMF, but I would still have to log in both in Mambo front and in SMF when I click to forums.

Is that correct?  Or have I missed something?
Title: Re: Mambo Open Source
Post by: Orstio on October 11, 2004, 03:57:05 PM
QuoteI went to (what I think was) your web site to look at the SMF-Mambo bridge.   I created an account at the Mambo login/create account on the home page. After account confirmation I went to home page, logged in, and then opened forums. I was not logged in to forums, but rather I had to log in again.  Is this bridge simply passing user info between the 2 databases, but not actually logging in to both at the same time? (and I realize "simply" is probably a poor choice of words considering the work it takes to make this happen).

If I'm understanding what's happening as things are right now.... when you create an account in Mambo... Mambo passes that info to SMF, so now you're in both user databases. I wouldn't have to create an account in SMF, but I would still have to log in both in Mambo front and in SMF when I click to forums.

For the versions I have released so far, that is correct.

If you go to my site now, you will see a single login for both Mambo and SMF.  I am currently working on the part that writes users into Mambo if they exist only in SMF.  Once I'm done that, I'll release a beta single-login.
Title: smf/mambo bridge and inframing.. and couple other questions please
Post by: alibak on October 12, 2004, 11:48:49 PM
Hi guys,

I'm using the available bridge component and login and regisration zip files from mamboforge.net of 10/01/04 for my mambo 4.51a stable and smf RC2 (recently released)...

I'm getting the following issues and would very much appreciate help.

1.  I get this error in the bottom of the installed forum ONLY if going there from the menu I made in mambo through the com_smf:

Fatal error: Call to undefined function: db_debug_junk_temp() in c:\mysite\components\com_smf\smf.php on line 52

Note, that this error does not appear if I just go to /forum and NOT using the component.

it has to do with the smf.php file in the bridge component ...

is this component old? is there a newer version by someone circulating that is better for recent release of smf and mambo 4.51a stable?

2.  registration module gives all kinds of errors something about SSI!  I have no clue who to fix this.. something about "can not open connecction" and wrong path.. and etc!  is this thing made for 4.50? and not for 4.51?  I thought I downloaded one that said for 4.51! but the error of "open connection" and stuff are usually when using mods that are meant to be for 4.50 and one uses them in 4.51!  But your input is appreciated....

with respect to the registration component.. all I did was install.. did I need to alter anything?/

how to I set the path to ssI?  is this forum/  ?  my mambo is root and forum is a folder in mambo.

3.  howcome forum does not appear within the framework of mambo? as in the directory structure of my main site doesn't show and forum shows up in separate page....

how can I make it appear in framework of mambo?

4.  I have setup coppermine gallery and used its bridge to connect to smf.  but nothing of coppermind shows in smf? is this how it should be? it's juse connection for user system?  so once I connect smf to mambo.. does it mean coppermine is connected indirectly to mambo this way?

Please write back and help me fix this.

I really want the forum to go under the frame of the mambo and appear in between (middle of the page) of my left and right mambo menus (in-frame)

Thanks..

Ali

Email: [email protected]
Title: Re: smf/mambo bridge and inframing.. and couple other questions please
Post by: [Unknown] on October 13, 2004, 12:10:05 AM
Quote from: alibak on October 12, 2004, 11:48:49 PM
1.  I get this error in the bottom of the installed forum ONLY if going there from the menu I made in mambo through the com_smf:

Fatal error: Call to undefined function: db_debug_junk_temp() in c:\mysite\components\com_smf\smf.php on line 52

The component needs to be updated for RC2, as I described... but it may take time.

-[Unknown]
Title: Re: Mambo Open Source
Post by: alibak on October 13, 2004, 12:39:37 AM
So you're saying all those issues mentioned (4) are all because component is not updated for RC2? even when forum doesn't show up within the framework of mambo? ??

I mean when I make the menu for forum, it DOES take me there!! so that means it's sort of working! but to a standalone looking forum....

Well, I just turned on the mod for login in mambo, and installed the registration component..

I get this error.. it's big!

I would appreciate it if you or someone could please in more detail respond to my 2 posts here.. I want to know what part of all these errors is because of version difference and what parts just simply needs manipulation now and etc!

here's the error after loging in via mambo/smf login mod:


Warning: main(/smf_api.php): failed to open stream: No such file or directory in c:\mysite\modules\mod_smf_login.php on line 15 Warning: main(): Failed opening '/smf_api.php' for inclusion (include_path='.;e:\php') in c:\mysite\modules\mod_smf_login.php on line 15 Warning: main(/SSI.php): failed to open stream: No such file or directory in c:\mysite\modules\mod_smf_login.php on line 16 Warning: main(): Failed opening '/SSI.php' for inclusion (include_path='.;c:\php') in c:\mysite\modules\mod_smf_login.php on line 16
Hi, Administrator Fatal error: Call to undefined function: smf_authenticateuser() in c:\mysite\modules\mod_smf_login.php on line 49
Title: login mod
Post by: alibak on October 13, 2004, 12:47:57 AM
Also, I was wondering as a request for whoever that works and does a GREAT job in making the mods and components for integration of mambo and smf.....

If working in updating for 4.51a stable and RC2 smf, could you please have in mind to make the mod compatible not just with mambo login but rather the more widely used Community Builder Beta 3 version Login module (just came out in second week of october)  As I'm sure lots will be using that over the default mambo login since it has more features....

or at least make it so that it would be compatible with all three? (and if I'm not pushing it....  also coppermine gallery :) although there is a bridge between coppermine and smf already.. for userlist)

:)

Thanks!

Ali
Title: Re: Mambo Open Source
Post by: Orstio on October 13, 2004, 06:50:36 AM
I've done a bunch of cleanup on the files.

The next release will have a login module that will log you into both Mambo and SMF at once (already working).  It also checks to see if the user logging-in exists in SMF only, and creates a Mambo user if that is the case, and then logs the user into both (already working).

I have versions for:

Mambo 4.5.0
Mambo 4.5.1 and 4.5.1a
SMF 1.0 RC1
SMF 1.0 RC2

These are all already created, I just have to put the installation packages together and write a few readme's.

I don't plan to do any work with Coppermine, sorry.
Title: Re: Mambo Open Source
Post by: alibak on October 13, 2004, 07:17:09 AM
could you please read your simple machine email now!  I just emailed you.. and you're online...

Also, I was wondering if the login mod could become compatible with the login mod of community builder beta 3 of mambo as lots use it for the registration!

Please check the email and get back to me.

thanks

Ali
Title: Re: Mambo Open Source
Post by: alibak on October 13, 2004, 07:36:38 AM
thanks for your reply email...

but as I see that you're still online.. I replied back and you could read your reply in your PM now :)

thanks again.

Title: Re: Mambo Open Source
Post by: Vanish on October 13, 2004, 07:37:53 PM
Patience is a virtue, alibak. ;)
Title: Re: Mambo Open Source
Post by: Kindred on October 15, 2004, 12:21:11 PM
Orstio,

I installed Mambo 4.5.1a.
I have SMF RC2

I ran your installation as described, and Mambo says the component and the module were successfully installed.
I unpublished the old login and published the SMF login module.

However, now in the login section, I get
Quote
Warning: main(/smf_api.php): failed to open stream: No such file or directory in /home/www/turtleshellprod.com/mambo/modules/mod_smf_login.php on line 15

Warning: main(): Failed opening '/smf_api.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/turtleshellprod.com/mambo/modules/mod_smf_login.php on line 15

Warning: main(/SSI.php): failed to open stream: No such file or directory in /home/www/turtleshellprod.com/mambo/modules/mod_smf_login.php on line 16

Warning: main(): Failed opening '/SSI.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/turtleshellprod.com/mambo/modules/mod_smf_login.php on line 16

Hi, Kindred
Fatal error: Call to undefined function: smf_authenticateuser() in /home/www/turtleshellprod.com/mambo/modules/mod_smf_login.php on line 49


Any suggestions?

One further question...   Can the component link be worked so that it opens SMF wrapped by Mambo? (I don't want SMF in a window by itself, I want to have all the Mambo menus, with SMF in the main section.)
I know I can do it if I link as a wrapper, but will that keep the login information?
Title: Re: Mambo Open Source
Post by: Kris on October 15, 2004, 12:24:19 PM
Mine works fine and is almost ready for the public ;)
Title: Re: Mambo Open Source
Post by: Kris on October 15, 2004, 12:41:59 PM
Using components from Orstio (changed one :P)
Made some of my own for the ssi-functionality.
Using buttons made by Andrea.

I'm pretty new with Mambo, so more will change soon (or will be added) when I'm used to the interface and the way the components work together.
Title: Re: login mod
Post by: DAB Empire on October 15, 2004, 03:13:46 PM
Quote from: alibak on October 13, 2004, 12:47:57 AM
or at least make it so that it would be compatible with all three? (and if I'm not pushing it....  also coppermine gallery :) although there is a bridge between coppermine and smf already.. for userlist)

There should already be a full bridge file for SMF to coppermine.  I use it.  ;)  Install that and then the Mambo so SMF bridge and you already have all three working.  Once you login to Mambo, which would log you into SMF, which would log you into coppermine as well.
Title: Re: Mambo Open Source
Post by: Orstio on October 15, 2004, 04:51:56 PM
Quote from: kindred on October 15, 2004, 12:21:11 PM
Orstio,

I installed Mambo 4.5.1a.
I have SMF RC2

I ran your installation as described, and Mambo says the component and the module were successfully installed.
I unpublished the old login and published the SMF login module.

However, now in the login section, I get
Quote
Warning: main(/smf_api.php): failed to open stream: No such file or directory in /home/www/turtleshellprod.com/mambo/modules/mod_smf_login.php on line 15

Warning: main(): Failed opening '/smf_api.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/turtleshellprod.com/mambo/modules/mod_smf_login.php on line 15

Warning: main(/SSI.php): failed to open stream: No such file or directory in /home/www/turtleshellprod.com/mambo/modules/mod_smf_login.php on line 16

Warning: main(): Failed opening '/SSI.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/www/turtleshellprod.com/mambo/modules/mod_smf_login.php on line 16

Hi, Kindred
Fatal error: Call to undefined function: smf_authenticateuser() in /home/www/turtleshellprod.com/mambo/modules/mod_smf_login.php on line 49


Any suggestions?

One further question...   Can the component link be worked so that it opens SMF wrapped by Mambo? (I don't want SMF in a window by itself, I want to have all the Mambo menus, with SMF in the main section.)
I know I can do it if I link as a wrapper, but will that keep the login information?

Your problem is that you are using the components and modules for RC1, and you have RC2 installed.  It will be wrapped in Mambo when you use the correct bridge components.  The components for RC2 are not yet public.  I'm awaiting a bit more feedback yet, and then I will release the package.
Title: Re: Mambo Open Source
Post by: Orstio on October 15, 2004, 05:12:37 PM
QuoteThere should already be a full bridge file for SMF to coppermine.  I use it.    Install that and then the Mambo so SMF bridge and you already have all three working.  Once you login to Mambo, which would log you into SMF, which would log you into coppermine as well.

I'm not sure that will work.
Title: Re: Mambo Open Source
Post by: [Unknown] on October 15, 2004, 05:19:12 PM
Quote from: Orstio on October 15, 2004, 05:12:37 PM
QuoteThere should already be a full bridge file for SMF to coppermine.  I use it.    Install that and then the Mambo so SMF bridge and you already have all three working.  Once you login to Mambo, which would log you into SMF, which would log you into coppermine as well.

I'm not sure that will work.

If you're not modifying SMF at all, and you're setting its cookie... it should.

-[Unknown]
Title: Re: Mambo Open Source
Post by: Orstio on October 15, 2004, 05:28:48 PM
Quote from: [Unknown] on October 15, 2004, 05:19:12 PM
Quote from: Orstio on October 15, 2004, 05:12:37 PM
QuoteThere should already be a full bridge file for SMF to coppermine.  I use it.    Install that and then the Mambo so SMF bridge and you already have all three working.  Once you login to Mambo, which would log you into SMF, which would log you into coppermine as well.

I'm not sure that will work.

If you're not modifying SMF at all, and you're setting its cookie... it should.

-[Unknown]

I just wasn't sure how the SMF to Coppermine bridge worked.  If it reads from the SMF cookie, then there is no problem.

You'll be happy to know, [Unknown], that no SMF files were harmed in the making of my bridge.  ;)

I do suggest a few changes to the theme, but that's up to the administrator.
Title: Re: Mambo Open Source
Post by: [Unknown] on October 15, 2004, 05:47:31 PM
Yeah... more than a few need to be changed.

The only remaining issue, I think, is the one of redirectexit() and obExit().... which would take the changes I noted above, and another small change to SMF.

-[Unknown]
Title: Re: login mod
Post by: alibak on October 15, 2004, 05:54:44 PM
Quote from: EliteRides on October 15, 2004, 03:13:46 PM
Quote from: alibak on October 13, 2004, 12:47:57 AM
or at least make it so that it would be compatible with all three? (and if I'm not pushing it....  also coppermine gallery :) although there is a bridge between coppermine and smf already.. for userlist)

There should already be a full bridge file for SMF to coppermine.  I use it.  ;)  Install that and then the Mambo so SMF bridge and you already have all three working.  Once you login to Mambo, which would log you into SMF, which would log you into coppermine as well.



Hi, thanks for the note.  I have already done that.  I'm connected ok between smf and coppermine.   smf is now integrated into mambo... BUT the mod login of smf gives errros:


Fatal error: Cannot redeclare ssi_shutdown() (previously declared in c:\mysite\forum\SSI.php:150) in c:\mysite\forum\SSI.php on line 152

error pertains to the following code in ssi.php:

// This shuts down the SSI and shows the footer.
function ssi_shutdown()
{
   if (!isset($_GET['ssi_function']) || $_GET['ssi_function'] != 'shutdown')
      template_footer();
}


Is this error because of language incompatibility since I'm using php5.02 and not php 4.3? 


Also, the coppermine login takes me to smf page but not back to coppermine! no redirection! any suggestions?

I really care to fix the errors I get with the mod login of smf/mambo!

I'm using php 5.02, mambo 4.51a stable, RC2 smf, and 1.40 coppermine (cvs development-- has a bridgemanager for smf/coppermine)


So help with login is appreciated!  Why do I get shutdown problems!
Title: Re: Mambo Open Source
Post by: Orstio on October 15, 2004, 06:06:13 PM
I wasn't able to use your code for RC2, however.

I had to have access to the action array, to add the action "mambo_login".  This allowed me to create a separate file, called MOS_SMF.php, which contains the code to set both the SMF and Mambo cookies.  Otherwise I would have had to change core files in either one or the other, and I did not consider that a viable option.

The main suggestion that I make is this:


$txt['welcome_guest'] = 'Welcome, <b>' . $txt[28] . '</b>. Please <a href="' . $scripturl . '?action=login">login</a> or <a href="' . $scripturl . '?action=register">register</a>.';

to:

$txt['welcome_guest'] = 'Welcome, <b>' . $txt[28] . '</b>. Please login or <a href="http://www.your-mambo-installation.com/directory/index.php?option=com_smf_registration&task=register">register</a>.';


This is to ensure that all new users are registering in the integrated registration, instead of through SMF only.  The bridge works without this, and will login to both, but it is much cleaner to write people in upon registration than to wait until after they have logged in the first time.  This change also cuts off the link to the SMF-only login, which does not synchronize between Mambo and SMF.


Title: Re: Mambo Open Source
Post by: [Unknown] on October 15, 2004, 06:22:48 PM
But that makes any installation of SMF used with Mambo... practically unmoddable.  Actions can no longer be added with the package manager.  It would be better to edit index.php, I would argue.

Why does mambo_login have to be an action?  Couldn't it be a file, on the side...?

-[Unknown]
Title: Re: Mambo Open Source
Post by: Orstio on October 15, 2004, 06:40:55 PM
QuoteBut that makes any installation of SMF used with Mambo... practically unmoddable.  Actions can no longer be added with the package manager.  It would be better to edit index.php, I would argue.

Why does mambo_login have to be an action?  Couldn't it be a file, on the side...?

-[Unknown]

I certainly do not want to impede people from being able to mod their forums.

My problem came with the form submission.  Mambo needs to know where to send the info from the URL, and it was easiest to have it send it to SMF, and have SMF deal with it.  There is already an existing structure there, and I had to add only the one line to make it work.

Hmmmm..... you've got me thinking again (you're evil  :P ).  I could create *another* component for the login actions, and have Mambo worry about it there (with a "option=com_smf_login" or something similar).  Or, I could take a look at the SMF package manager, and try to add mambo_login that way.  With either of those options, I could use your code,  and it would require only one more installation step for the administrator.

Do you think it would be possible to do this via the package manager?  I will try the component method first, because most of the bridge is installed via the Mambo administration panel, but if I can't get that working, I'd like to try another option.
Title: Re: Mambo Open Source
Post by: Quick on October 16, 2004, 01:05:04 PM
ok, with fresh install of Mambo 4.5.1a Stable and SMF RC1 the registration works fine however the login on mambo doesnt log user into SMF or vis versa. i installed the component and module on mamboforge and im stuck now.

EDIT:: Just read this.. i gues im done working on the site until you upload. btw.. you have a paypal donations email?
Quote from: Orstio on October 13, 2004, 06:50:36 AM
I've done a bunch of cleanup on the files.

The next release will have a login module that will log you into both Mambo and SMF at once (already working).  It also checks to see if the user logging-in exists in SMF only, and creates a Mambo user if that is the case, and then logs the user into both (already working).

I have versions for:

Mambo 4.5.0
Mambo 4.5.1 and 4.5.1a
SMF 1.0 RC1
SMF 1.0 RC2

These are all already created, I just have to put the installation packages together and write a few readme's.

I don't plan to do any work with Coppermine, sorry.
Title: Re: Mambo Open Source
Post by: wideye on October 16, 2004, 07:41:42 PM
First off, I'm totally excited about this component. I discovered Mambo this week and thought, gee, I wonder if I could use SMF with it...lo and behold...

I just had a thought that might be interesting: Do you think it would be possible to sync the calendar in SMF with the Events Calendar component for Mambo? It might be redundant, but interesting. I'm not terribly good with PHP or MySQL, otherwise I'd fiddle with it myself.

Just tossing the idea out there for your amusement.
Title: Re: Mambo Open Source
Post by: Quick on October 17, 2004, 02:12:47 PM
smf, mos and cpg are all working together with users integrated.
http://www.talbotautos.com

now i just need to work on the smf templete and the pointing links to and from the gallery, smf and mos.
thanks to Orstio!!!
Title: Re: Mambo Open Source
Post by: wideye on October 17, 2004, 02:29:16 PM
Quick,

the site looks great. I wondered if I could get a package of RC1 from you? I can't download it and I haven't gotten any answers yet about where I can get it. I'll likely upgrade before the site launch to RC2, but I wanted to fiddle with it today to see how it generally worked. I'd really appreciate it.

I realize this will upset the SMF developers, but by the time my site is ready to go they'll probably have finished the mod for RC2.
Title: Re: Mambo Open Source
Post by: Abedie on October 17, 2004, 02:50:20 PM
RC2 is allready available for days now.
If you can't download it there must be a reason for that. Did you PM or mail some staff member or post a question?

Greetings, Abedie.
Title: Re: Mambo Open Source
Post by: [Unknown] on October 17, 2004, 03:55:21 PM
Quote from: wideye on October 17, 2004, 02:29:16 PM
I realize this will upset the SMF developers, but by the time my site is ready to go they'll probably have finished the mod for RC2.

Please look on the downloads page under "archived releases".  It is available there.

I haven't had time to respond to, or even fully read, your message yet - sorry.

-[Unknown]
Title: Re: Mambo Open Source
Post by: wideye on October 17, 2004, 03:58:42 PM
It's alright, man. You're obviously insanely busy and I just had some unexpected free time. Thanks for the info - I didn't see that link.
Title: Re: Mambo Open Source
Post by: Orstio on October 17, 2004, 04:46:53 PM
Wideye, it shouldn't be long now.  Quick had it up and running really fast without problems (at least nothing that can't be solved by looking in the readme).

There should be no need to move back to RC1.

Quotenow i just need to work on the smf templete and the pointing links to and from the gallery, smf and mos.

I've been thinking that releasing a theme for this as an example might be a good idea as well.  I'm not certain there are many people who are aware of all the things that can be done with theming.
Title: Re: Mambo Open Source
Post by: mattisme on October 17, 2004, 07:23:45 PM
Wow, this is pretty exciting.. but i've got a question..

I discovered Mambo long after I've had a SMF running, so is there [or will there be] a way to bridge over my exsisting users to mambo?  Or is the database actually shared, so that won't be something to worry about?

If this has already been answered.. sorry.. I'm rather new to a lot of this, so please excuse my incompetence.
Title: Re: Mambo Open Source
Post by: wideye on October 17, 2004, 07:41:17 PM
I'd be willing to help with or do the theme(s) if you don't have time or just don't want to do it. I'm a graphic designer and I've worked with it a lot lately, and have worked several years on front-end. I have the one I did in the gallery here. I can show you other stuff too, if you need.

Other than that I'm pretty useless in this project. I knew I should have done something more useful for grad school. Let me know & thanks for the update.
Title: Re: Mambo Open Source
Post by: Slack on October 17, 2004, 07:47:53 PM
QuoteI've been thinking that releasing a theme for this as an example might be a good idea as well.  I'm not certain there are many people who are aware of all the things that can be done with theming.

This would be a great idea... being new to mambo, I've been struggling with Mambo themes (in the process of doing a tutorial) and a simple basic theme, maybe aimed at the SMF default would be great.

I also appreciate your work on the bridge!  Combining these two great open source apps is pretty exciting!

Cheers,
John
Title: Re: Mambo Open Source
Post by: Kindred on October 17, 2004, 08:47:12 PM
Orstio....

Do you have the brige for SMF RC2 and Mambo 4.51a?

If so, would you point me to a link for it?
I'd like to gfet rid of those damned error messages, and I don't know enough php coding to do it myself.

thanks!
Title: Re: Mambo Open Source
Post by: Orstio on October 17, 2004, 09:39:45 PM
QuoteDo you have the brige for SMF RC2 and Mambo 4.51a?

If so, would you point me to a link for it?

I have, but it's not yet public.
Title: Re: Mambo Open Source
Post by: LaurieC on October 18, 2004, 12:04:21 AM
I have been following this thread for a while now ;) can't wait to be able to try it.

I have SMF RC2 and CPG and would love to be able to add Mambo to the group  :)

Thank you so much for your work on this!!!
Title: Re: Mambo Open Source
Post by: Homer_J_S on October 18, 2004, 04:08:09 PM
Quote from: Orstio on October 17, 2004, 09:39:45 PM
QuoteDo you have the brige for SMF RC2 and Mambo 4.51a?

If so, would you point me to a link for it?

I have, but it's not yet public.
Come on Oristo your killing me... Although I need the RC2 and 4.51 bridge.  :P

All kiddiing a side, thanks for all the hard work. Those of us with little free time really appreciate all the hard work you guys do.   
Title: Re: Mambo Open Source
Post by: Orstio on October 18, 2004, 04:09:33 PM
http://mamboforge.net/frs/?group_id=543
Title: Re: Mambo Open Source
Post by: Homer_J_S on October 18, 2004, 04:16:00 PM
THANK YOU!!! :D
Title: Re: Mambo Open Source
Post by: wideye on October 19, 2004, 01:08:22 AM
Even with extra mods for the front-end site! Didn't see that one coming! I was about to go to bed, too...

There was a question about a PayPal donation link earlier. Do you have one? You are a wonderful person for putting up with all the pressure from us.
Title: Re: Mambo Open Source
Post by: Kindred on October 19, 2004, 01:42:34 AM
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.


Title: Re: Mambo Open Source
Post by: Orstio on October 19, 2004, 04:44:04 AM
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.
Title: Re: Mambo Open Source
Post by: [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]
Title: Re: Mambo Open Source
Post by: Orstio on October 19, 2004, 05:47:36 AM
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.
Title: Re: Mambo Open Source
Post by: Kindred on October 19, 2004, 09:32:43 AM
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.

Title: Re: Mambo Open Source
Post by: Kindred on October 19, 2004, 11:08:33 AM
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...
Title: Re: Mambo Open Source
Post by: Kris on October 19, 2004, 02:05:44 PM
Maybe you should uncheck database driven sessions in smf and check local cookies.
Title: Re: Mambo Open Source
Post by: Kindred on October 19, 2004, 03:04:27 PM
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....
Title: Re: Mambo Open Source
Post by: Orstio on October 19, 2004, 04:04:15 PM
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.
Title: Re: Mambo Open Source
Post by: Kindred on October 19, 2004, 04:25:19 PM
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)
Title: Re: Mambo Open Source
Post by: Orstio on October 19, 2004, 04:30:25 PM
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?
Title: Re: Mambo Open Source
Post by: Quick on October 19, 2004, 04:30:47 PM
also.. make sure you delete all cookies and internet content and restart your web browser. this was a problem for me.
Title: Re: Mambo Open Source
Post by: Kindred on October 19, 2004, 04:32:32 PM
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. :)
Title: Re: Mambo Open Source
Post by: Quick on October 20, 2004, 01:30:07 AM
anyone figure out why the font changes?? ie..

in mambo;
http://www.talbotautos.com/index.php?option=com_smf&Itemid=45

outside mambo;
http://www.talbotautos.com/forum/


ive looked everywhere.. installed new css styles.. no luck!
Title: Re: Mambo Open Source
Post by: Francis_Drake on October 20, 2004, 07:28:33 AM
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.
Title: Re: Mambo Open Source
Post by: Orstio on October 20, 2004, 07:57:37 AM
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?
Title: Re: Mambo Open Source
Post by: Francis_Drake on October 20, 2004, 08:12:25 AM
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) 
Title: Re: Mambo Open Source
Post by: Sheemo on October 20, 2004, 11:03:46 AM
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...
Title: Re: Mambo Open Source
Post by: Kyre on October 20, 2004, 12:25:03 PM
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'";
Title: Re: Mambo Open Source
Post by: Orstio on October 20, 2004, 02:31:58 PM
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.
Title: Re: Mambo Open Source
Post by: Kyre on October 20, 2004, 02:50:52 PM
Quote from: Orstio on October 20, 2004, 02:31:58 PM
It will only add that line when you add the component to your menu.  Mambo doesn't do that for you.

Figured out how to add components to the menu (sorry I'm a mambo noob). The query seems to be giving me lip.


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/theoutfit.sadgamer.com/modules/mod_smf_login.php on line 9


Site is here: http://www.outfitgaming.com

Edit:

That went away when I just hardwired the query with the correct menu ID. But I still get this when I try and login. I have some PHP experience and this one has me stumped.


Fatal error: Cannot redeclare ssi_shutdown() (previously declared in /www/theoutfit.sadgamer.com/forums/SSI.php:150) in /www/theoutfit.sadgamer.com/forums/SSI.php on line 152


Here's the code it's talking about:

    147 // This shuts down the SSI and shows the footer.
    148 function ssi_shutdown()
    149 {
    150    if (!isset($_GET['ssi_function']) || $_GET['ssi_function'] != 'shutdown')
    151       template_footer();
    152 }
Title: Re: Mambo Open Source
Post by: Orstio on October 20, 2004, 03:26:27 PM
At the top of mod_smf_login.php, and MOS_SMF.php, does it have this:

if (!defined('SMF')){
  require ("components/com_smf/config.smf.php");
  require ($smf_path."/SSI.php");
}


What's happening is somewhere you are including SSI.php twice.  It thinks you are trying to redeclare ssi_shutdown(), because that is the first function in SSI.php.
Title: Re: Mambo Open Source
Post by: Kyre on October 20, 2004, 03:29:54 PM
It is at the top of MOS_SMF.php but not at the top of mod_smf_login.php.

It is in smf.php however.

Edit: That is to say smf.php requires it without a check.
Title: Re: Mambo Open Source
Post by: Orstio on October 20, 2004, 03:38:37 PM
Try changing the require in smf.php to that.  If it works, I'll change it in the zip as well.
Title: Re: Mambo Open Source
Post by: Kyre on October 20, 2004, 03:50:38 PM
Ah ha! Figured it out.

The template itself does a require for SSI but doesn't check to see if it's already been defined. I also have globals turned on in php.

Changed template to this:

<?php 
if (!defined('SMF')){
   require ("components/com_smf/config.smf.php");
   require ("/www/theoutfit.sadgamer.com/forums/SSI.php");
}
?>

And it seems to be working at least partially.
Title: Re: Mambo Open Source
Post by: Orstio on October 20, 2004, 04:13:53 PM
Good.

Another problem your users are going to have is related to some of your registration settings.

You have both Mambo and SMF requiring an activation email.  This is redundant, and causes a lot of run-around and confusion.  Just the Mambo activation should be plenty.

And, in your SMF settings, do you have local cookies turned on?  If so, turn that off.  I can't log in to your SMF at all, it keeps telling me:   You were unable to login. Please check your cookie settings.
Title: Re: Mambo Open Source
Post by: Kyre on October 20, 2004, 04:21:46 PM
There was some template mess ups I did. Changed both login2 and login to mambo_login instead of just login2.

Good point about the activation thing.

Edit:
Noticed a couple of problems with MOS_SMF.php having to do with the sql queries. Since my mambo and my SMF are read from 2 seperate databases, I had to put the database prefix for mambo in front of all the places where it does queries on mambo tables.  It was a quick fix and now works just fine.

Also, you probably already know this but all the queries on tables in MOS_SMF.php are static so if you used a seperate database prefix other than mos, it won't work (unless you change them of course).

It's working now though and it's pretty sweet. Thanks.
Title: Re: Mambo Open Source
Post by: Orstio on October 20, 2004, 04:25:41 PM
There is one other thing:

I'm not certain that a site at www.outfitgaiming.com can access your forum cookie, which is set to forum.outfitgaming.com.......   ???
Title: Re: Mambo Open Source
Post by: Kyre on October 20, 2004, 04:27:55 PM
Quote from: Orstio on October 20, 2004, 04:25:41 PM
There is one other thing:

I'm not certain that a site at www.outfitgaiming.com can access your forum cookie, which is set to forum.outfitgaming.com.......   ???

It's all virtual domain stuff. In reality forums.outfitgaming.com is www.outfitgaming.com/forums/. It's apache magic. ;)
Title: Re: Mambo Open Source
Post by: Orstio on October 20, 2004, 04:38:50 PM
QuoteIt's all virtual domain stuff. In reality forums.outfitgaming.com is www.outfitgaming.com/forums/. It's apache magic.

I understand that, but I don't think the cookies do.  ;)
Title: Re: Mambo Open Source
Post by: Kyre on October 20, 2004, 04:46:01 PM
Quote from: Orstio on October 20, 2004, 04:38:50 PM
QuoteIt's all virtual domain stuff. In reality forums.outfitgaming.com is www.outfitgaming.com/forums/. It's apache magic.

I understand that, but I don't think the cookies do.  ;)

Good point. They are acting quite bizarre.
Title: Re: Mambo Open Source
Post by: Francis_Drake on October 20, 2004, 05:34:27 PM
Quote from: Orstio on October 20, 2004, 02:31:58 PM
Well, I can see the user menu, but I can't seem to logout of Mambo on your site now......
Yes logged one hour later in mambo.  Thats not fine. I can´t found the error.

Quote
/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
      Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
      Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
      Standards compliance mode happens when you use xhtml... */
   if ($context['browser']['needs_size_fix'])
      echo '
   <link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';
Does not function any longer if the forum runs in mambo.
Title: Re: Mambo Open Source
Post by: Ben Dragon on October 21, 2004, 01:46:34 AM
Will this mod work with Mambo 4.51a?
Title: Re: Mambo Open Source
Post by: [Unknown] on October 21, 2004, 02:22:56 AM
Sounds like there are some issues that I could help with - I could probably solve the subdomain issue ;).

If someone could make a list of what problems they may be having, and which are resolved and/or fixed...  I can probably do a bit better at them only because I've got more experience with SMF...

-[Unknown]
Title: Re: Mambo Open Source
Post by: Orstio on October 21, 2004, 04:22:04 AM
QuoteQuote
/* Internet Explorer 4/5 and Opera 6 just don't do font sizes properly. (they are big...)
      Thus, in Internet Explorer 4, 5, and Opera 6 this will show fonts one size smaller than usual.
      Note that this is affected by whether IE 6 is in standards compliance mode.. if not, it will also be big.
      Standards compliance mode happens when you use xhtml... */
   if ($context['browser']['needs_size_fix'])
      echo '
   <link rel="stylesheet" type="text/css" href="', $settings['default_theme_url'], '/fonts-compat.css" />';

Does not function any longer if the forum runs in mambo.

Quick came up with a nice solution for that....
Title: Re: Mambo Open Source
Post by: neo on October 21, 2004, 05:57:25 AM
Quote from: Kyre on October 20, 2004, 03:50:38 PM
Ah ha! Figured it out.

The template itself does a require for SSI but doesn't check to see if it's already been defined. I also have globals turned on in php.

Changed template to this:

<?php 
if (!defined('SMF')){
   require ("components/com_smf/config.smf.php");
   require ("/www/theoutfit.sadgamer.com/forums/SSI.php");
}
?>

And it seems to be working at least partially.

http://www.boehsebaeren.de/index.php?option=com_smf&Itemid=107&?action=profile;u=43;sa=theme


http://www.boehsebaeren.de/index.php?option=com_wrapper&wrap=Forum&Itemid=26


Quote<html xmlns="http://www.w3.org/1999/xhtml">

<?php 
if (!defined('SMF')){
   require ("components/com_smf/config.smf.php");
   require ("/home/boehsebaeren.de/www/smf/SSI.php");
}
?>

<head>

leider kann ich kein English
was mache ich falsch ???
Title: Re: Mambo Open Source
Post by: Orstio on October 21, 2004, 06:12:12 AM
Quote from: neo on October 21, 2004, 05:57:25 AM
Quote from: Kyre on October 20, 2004, 03:50:38 PM
Ah ha! Figured it out.

The template itself does a require for SSI but doesn't check to see if it's already been defined. I also have globals turned on in php.

Changed template to this:

<?php 
if (!defined('SMF')){
   require ("components/com_smf/config.smf.php");
   require ("/www/theoutfit.sadgamer.com/forums/SSI.php");
}
?>

And it seems to be working at least partially.

http://www.boehsebaeren.de/index.php?option=com_smf&Itemid=107&?action=profile;u=43;sa=theme


http://www.boehsebaeren.de/index.php?option=com_wrapper&wrap=Forum&Itemid=26


Quote<html xmlns="http://www.w3.org/1999/xhtml">

<?php 
if (!defined('SMF')){
   require ("components/com_smf/config.smf.php");
   require ("/home/boehsebaeren.de/www/smf/SSI.php");
}
?>

<head>

leider kann ich kein English
was mache ich falsch ???

Try it like this:


<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<?php  
if (!defined('SMF')){
   require ("components/com_smf/config.smf.php");
   require ($smf_path."/SSI.php");
}
?>

Title: Re: Mambo Open Source
Post by: neo on October 21, 2004, 06:20:54 AM
Quote from: Orstio on October 21, 2004, 06:12:12 AM


Try it like this:


<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<?php  
if (!defined('SMF')){
   require ("components/com_smf/config.smf.php");
   require ($smf_path."/SSI.php");
}
?>


i have
immer noch das gleiche problem
Quote
<head>
<?php 
if (!defined('SMF')){
   require ("components/com_smf/config.smf.php");
   require ($smf_path."/SSI.php");
}
?>

<title><?php echo $mosConfig_sitename; ?></title>

http://www.boehsebaeren.de/index.php?option=com_smf&Itemid=107

???
Title: Re: Mambo Open Source
Post by: Kyre on October 21, 2004, 11:26:33 AM
Quote from: [Unknown] on October 21, 2004, 02:22:56 AM
Sounds like there are some issues that I could help with - I could probably solve the subdomain issue ;).

If someone could make a list of what problems they may be having, and which are resolved and/or fixed...  I can probably do a bit better at them only because I've got more experience with SMF...

-[Unknown]

I was able to get them to interact somewhat correctly between the subdomains when I set local cookies on oddly enough but SMF gave me an invalid cookie error when I turned that off and switched on subdomain independent cookies.

The login process acted very bizarre when it was even partially functional however. I logged in via the Mambo_Smf module and a forum window appeared inside of my mambo template which I had to log into as well. An error would come up full screen stating "You must wait 15 seconds". I'd hit the backup button which would take me back to mambo home, I'd relogin via the module and bam. I was logged into mambo as my forum account and also logged into the forums.

The only problem being that when I hit the logout button, it would clear my forum login but mambo would still show me as being logged in.

If you either of you want, you can IM me (aim preferrable) and I can hook you up with access to my site if you want to mess with it. (PS, it's very messy).

Another minor little bug I noticed was that the accounts that were merged over automatically did not appear in the mambo user manager due to the group not being set.

Edit: My SQL query hacks could also be to blame for some of the problems.
Title: Re: Mambo Open Source
Post by: Orstio on October 21, 2004, 03:10:38 PM
QuoteAnother minor little bug I noticed was that the accounts that were merged over automatically did not appear in the mambo user manager due to the group not being set.

Edit: My SQL query hacks could also be to blame for some of the problems.

That may have something to do with the changes you've made to run them out of different databases.

Here is the code in MOS_SMF.php that takes care of it:


//if the user doesn't exist in Mambo, they've already been verified by SMF, so register them into Mambo as well
   if (!isset($mos_user)){
   $mos_write = mysql_query( "INSERT INTO ".$mos_prefix."users (name,username,email,password) VALUES ('".$_REQUEST['user']."','".$_REQUEST['user']."','".$user_settings['emailAddress']."','".$passwd."');");
   $mos_find_id = mysql_query( "SELECT `id` FROM ".$mos_prefix."users WHERE name='".$_REQUEST['user']."' LIMIT 1");
   $mos_id_array = mysql_fetch_array($mos_find_id);
   $mos_id = $mos_id_array[0];
   $mos_write = mysql_query( "INSERT INTO `".$mos_prefix."core_acl_aro` ( `aro_id` , `section_value` , `value` , `order_value` , `name` , `hidden` ) VALUES ('', 'users', '".$mos_id."', '0', '".$_REQUEST['user']."', '0');");
   $mos_map_sql = mysql_query("SELECT `aro_id` FROM `".$mos_prefix."core_acl_aro` WHERE name='".$_REQUEST['user']."' LIMIT 1");
   $mos_map_array = mysql_fetch_array($mos_map_sql);
   $aro_id = $mos_map_array[0];
   $mos_write = mysql_query ("INSERT INTO `mos_core_acl_groups_aro_map` ( `group_id` , `section_value` , `aro_id` ) VALUES ('18', '', '".$aro_id."');");

}


This could probably be cleaner, but it does the job.
Title: Re: Mambo Open Source
Post by: Kindred on October 21, 2004, 08:56:30 PM
The one issue I am still having is regarding the font sizes in SMF when run as a call form mambo.

the SMF fonts are very large.
I played with the CSS of both Mambo and SMF, but have been unable to get the fonts back to being small without resizing them in my own browser.

{edit:}
Ok... strangely enough, the original problem is now re-occuring.
I logged out of Mambo.
This required me to logout form the logout box (smf) and from the logout link in the main menu (mambo)

Then I logged in form the login box.
Mambo does not recognize me as being logged in.

Title: Re: Mambo Open Source
Post by: guido on October 21, 2004, 09:16:40 PM
http://www.aestoaspiramos.cl

Simplemachines + Mambo + Coppermine full integration
Title: Re: Mambo Open Source
Post by: RCHawaii on October 23, 2004, 08:54:11 AM
We have installed Mambo an the "bridge" so far, but anyone know what this error is when you click on "Forum"- Thanks!


Fatal error: Call to undefined function: portal_load_wrapper() in /home/avoiding/public_html/spadunderground/testforum/Sources/Load.php(1098) : eval()'d code on line 337

http://spadunderground.biz/mambo/
Title: Re: Mambo Open Source
Post by: Orstio on October 23, 2004, 04:10:08 PM
portal_load_wrapper() in Load.php?  What's that? 

I suggest you install a clean version of SMF.  There is no portal_load_wrapper() in Load.php......  Somewhere you have gotten a hold of modified SMF sources.....
Title: Re: Mambo Open Source
Post by: RCHawaii on October 23, 2004, 04:24:43 PM
Hmm, I wondered about that as well, this was a test version- I thought it was the original package, Thank you.
Title: Re: Mambo Open Source
Post by: Homer_J_S on October 24, 2004, 12:43:53 PM
I have a couple of questions about integration of different components.
I am creating a website with three main parts - Mambo, SMF and Coppermine.
1) Should I install all three on the same DB or 3 different DB's?
2)Should I first try to Bridge SMF and Mambo, then put coppermine as a wrapper to Mambo or Do the wrapper first then tackle the SMF bridge?
3) I know where the SMF Mambo bridge is (thanks oristo) if anybody can point me to the Coppermine /mambo wrapper I would apreciate it. (I know this is a SMF site but yall are the nicest and most  helpful bunch of coders I have ever run accross and I thought I would ask) Or should I tie coppermine to SMF and then Tie SMF to Mambo usiing the SMF Mambo Bridge?  Just  don't know which way to go.

This is my first website where I have tried to combine these seperate components into one cohesive site  so I am just looking for a little guidance.  Right now I have all three components installed on my website on 3 seperate DB's. As I am doing this from scratch and have no users yet,  its no problem to redo a step or two as I have not even attempted a template of any kind.

Again thanks again for all your help. 
Title: Re: Mambo Open Source
Post by: Vedm on October 24, 2004, 08:36:26 PM
I've installed the integration of MOS 4.5.1a with SMF RC1, in Opera everything seems to be okay...
Whoops. Got 2 bugs in IE:
- Fonts oversizing, just like it was few times mentioned above;
- Width bug (head modules section goes about 10% right off the screen).

Here it is (try with IE): http://test.eglador.info/index.php?option=com_smf

Is there a doctor in the house? Please advise, how to fix these things. Should I move the existing bug-correcting code from SMF index.template.php to MOS template's index.php? And how to make it work there?
Title: Re: Mambo Open Source
Post by: Orstio on October 24, 2004, 08:47:02 PM
Homer:  I don't think it matters what order you install Mambo, SMF, or Coppermine. 

Vedm:  You've got something there. 

QuoteShould I move the existing bug-correcting code from SMF index.template.php to MOS template's index.php? And how to make it work there?

In your Mambo template, you added something like this:

<?php  require ("components/com_smf/config.smf.php");
             require ($smf_path "/SSI.php");
?>


Try this, and let us know if it works:

<?php  require ("components/com_smf/config.smf.php");
             require ($smf_path "/SSI.php");
             if ($context['browser']['needs_size_fix'])
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/fonts-compat.css" />';

?>


Title: Re: Mambo Open Source
Post by: Vedm on October 24, 2004, 09:10:22 PM
Quote from: Orstio on October 24, 2004, 08:47:02 PMTry this, and let us know if it works:

<?php  require ("components/com_smf/config.smf.php");
             require ($smf_path "/SSI.php");
             if ($context['browser']['needs_size_fix'])
echo '
<link rel="stylesheet" type="text/css" href="'
$settings['default_theme_url'], '/fonts-compat.css" />';
?>

Nope, it doesn't work. Added code just after the <head> tag and deleted browser cache...
Title: Re: Mambo Open Source
Post by: [Unknown] on October 24, 2004, 11:04:36 PM
When presented with an HTML 4 doctype (or none - just not XHTML, as SMF generally uses) IE will also need the font-size fix.

You can change this by adding:

$settings['doctype'] = 'html';

Into your "init" sub template in index.template.php.

-[Unknown]
Title: Re: Mambo Open Source
Post by: Kindred on October 25, 2004, 09:42:26 AM
WOO HOO!   Thanks [Unknown], That appears to have fixed it...

I was looking for some complicated modifications to the CSS files or something.

Now, Orstio...  the only problem I still have is that Mambo-SMF appears to act very differently on my two machines.
From my office machine, I can log in to both Mambo and SMF, but I have issues with the logout (until sessions timeout, it keeps "stacking")
From my home machine, I can not log in to Mambo, although the SMF login works just fine...

Very strange behaviour...
Title: Re: Mambo Open Source
Post by: bmwheaven on October 25, 2004, 10:41:54 AM
Hi guys,
I'm quite new to this whole Mambo and SMF thing.
I just started using Mambo (switched from phpnuke) and was thinking of a new forum as well (previously had phpBB).
mmm, I've got the following problems with my mambo smf bridge:

http://bmwheaven.bmwsport.net/mambo/index.php

I did the whole installation in the order the readme file said, then I also changed the path in the config.smf.php file.
Now I really dont have a clue what I've done wrong, the page above is trying to load the mod_smf_login module.
Any help?
Thanks!
Title: Re: Mambo Open Source
Post by: Kindred on October 25, 2004, 12:03:10 PM
Did you add the code in the header of your Mambo template?

I think that's the same message I got before I added it.
Title: Re: Mambo Open Source
Post by: bmwheaven on October 25, 2004, 02:01:36 PM
yeah, the login is in the top of the template, that's what's going wrong, but i dont know what is going wrong...
I did try to change the config.smf.php, but whatever I set the smf folder to, it doesn't want to work.
Title: Re: Mambo Open Source
Post by: Vedm on October 25, 2004, 02:09:33 PM
Quote from: [Unknown] on October 24, 2004, 11:04:36 PMWhen presented with an HTML 4 doctype (or none - just not XHTML, as SMF generally uses) IE will also need the font-size fix.

You can change this by adding:

$settings['doctype'] = 'html';

Yeah, it looks okay now when bridged... And when at non-integrated forum, all fonts in IE went smaller. :(
Maybe there is another way? I have tried to comment out the font-fix code in index.template.php, or to have it both ways (also in MOS template.php) - but no luck.

Also, how to deal with headers section oversizing? Somehow edit the initial // For some STRANGE reason, we have to tell Internet Explorer 4 and 5 that the content should be 100% wide. (or else it will assume about 108%!)
echo '
<div id="headerarea" style="padding: 12px 30px 4px 30px;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">';

in index.template.php?
Title: Re: Mambo Open Source
Post by: bmwheaven on October 25, 2004, 03:46:22 PM
got it fixed (or, somebody else fixed it for me  ;D)
Title: Re: Mambo Open Source
Post by: Quick on October 26, 2004, 04:08:37 PM
basically you have to make one css with the style for both mos and smf. too much code to post and cannot attach.
Title: Re: Mambo Open Source
Post by: Vedm on October 26, 2004, 11:44:08 PM
Sorry, Quick, that's not quite right, I suppose - what if someone decides to change forum or Mambo template to another ones? He will have to rewrite everything then... And what if some of his sub-boards have different styles?
Title: Re: Mambo Open Source
Post by: davy19 on October 27, 2004, 03:00:08 PM
I have a question...


I dont think my integrated login is working and I am not sure what I did wrong, I tried to follow directions exactly. 

Thanks here is the website

http://www.thebandalliance.org/mambo


btw i am really new at mambo so still learning how to use the portal and what not
Title: Re: Mambo Open Source
Post by: Kris on October 28, 2004, 06:28:50 AM
Have any people using the bridge of Orstio problems with polls in the forum?

It seems people can't vote, nor can I. (can't find page)
Title: Re: Mambo Open Source
Post by: 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
Title: Re: Mambo Open Source
Post by: davy19 on October 28, 2004, 09:44:29 AM
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
Title: Re: Mambo Open Source
Post by: 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...

Title: Re: Mambo Open Source
Post by: yardbird on October 28, 2004, 10:18:15 AM
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.
Title: Re: Mambo Open Source
Post by: 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.
Title: Re: Mambo Open Source
Post by: Kris on October 28, 2004, 01:15:50 PM
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...
Title: Re: Mambo Open Source
Post by: [Unknown] on October 28, 2004, 02:24:54 PM
Do attachments work?

-[Unknown]
Title: Re: Mambo Open Source
Post by: Kris on October 28, 2004, 03:12:03 PM
Quote from: [Unknown] on October 28, 2004, 02:24:54 PM
Do attachments work?

-[Unknown]

no, upload directory is full I get
Title: Re: Mambo Open Source
Post by: Claudek on October 28, 2004, 08:42:11 PM
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]
Title: Re: Mambo Open Source
Post by: yardbird on October 29, 2004, 03:31:02 PM
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.
Title: Re: Mambo Open Source
Post by: marcnyc on October 29, 2004, 03:53:52 PM
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) ;-) >>>
Title: Re: Mambo Open Source
Post by: Orstio on October 29, 2004, 04:41:42 PM
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.
Title: Re: Mambo Open Source
Post by: Kris on October 29, 2004, 11:56:08 PM
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...
Title: Re: Mambo Open Source
Post by: Orstio on October 30, 2004, 03:00:05 AM
Thanks for that, Kris.  I've fixed it.
Title: Re: Mambo Open Source
Post by: Kris on October 30, 2004, 04:54:49 AM
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?
Title: Re: Mambo Open Source
Post by: 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.
Title: Re: Mambo Open Source
Post by: Kris on October 30, 2004, 10:28:46 AM
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
Title: Re: Mambo Open Source
Post by: Kindred on November 03, 2004, 04:20:57 PM
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.




Title: Re: Mambo Open Source
Post by: Orstio on November 03, 2004, 05:04:16 PM
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.
Title: Re: Mambo Open Source
Post by: [Unknown] on November 03, 2004, 09:35:02 PM
I think sessions are going to have to be forced as not database driven for this to work, technically speaking....

-[Unknown]
Title: Re: Mambo Open Source
Post by: Kindred on November 03, 2004, 11:49:27 PM
Unknown, did you mean turn OFF database driven sessions?
Title: Re: Mambo Open Source
Post by: [Unknown] on November 04, 2004, 12:22:26 AM
Quote from: kindred on November 03, 2004, 11:49:27 PM
Unknown, did you mean turn OFF database driven sessions?

Yes.  Integration will not work properly with them on, at this time.

-[Unknown]
Title: Re: Mambo Open Source
Post by: SVT242 on November 04, 2004, 12:37:44 AM
Orstio,

I wanted to bid you THANKS once again for your efforts! Unknown, I also applaud your efforts in seeing that this intergration between mambo and smf follows through!

On my website (LightningRodder.com), I have used phpBB as my forum software and have been mildy pleased with it. I was thinking of going to VBulletin ( :(  ) due to the wide array of features it offers and stability it has proven to have. UNTIL... I found SMF! I have a local copy of SMF working on my test server with all of my live server's data and the transfer of over 2,000 articles was successful! SO, I am now confident in wanting to use SMF on my live site and ultimately kick phpBB to the curb!

I am amazed at the level of support and unmatched features SMF has to offer! I think MAMBO and SMF is a match made in heaven!!!

Keep up the good work Orstio and Unknown! You two guys are the best!  :D


-Chris
http://www.lightningrodder.com
Title: Re: Mambo Open Source
Post by: [Unknown] on November 04, 2004, 05:53:20 AM
Thanks... and, as mentioned above, the two biggest issues are sessions (must be flatfile, not database.. I don't know that this can be fixed :/) and polls (solved for the next version of SMF.)

/me votes for Dr. Zoidberg at the polls.

-[Unknown]
Title: Re: Mambo Open Source
Post by: Orstio on November 04, 2004, 08:04:28 AM
Thanks.   :D

I think sessions can be fixed ( I don't know if they can be database driven, though).

Check your PMs, [Unknown]. ;)
Title: Re: Mambo Open Source
Post by: prozac_dk on November 04, 2004, 08:09:57 AM
Is it possible to make some kind of sync between mambo and smf , since I have a old PNphpBB which I convert to phpBB and then to SMF, and the SMF is added to my mambo website with the Bridge....

Now my prob. is that the users are first added to mambo when they login the first time...

That's not good since I need to set new permissions and user levels for them, before they are allowed to use the mambo site and SMF.

Little Added on:
What are the Edit config option in the mambo backend -> components for ??????

Cheers

Prozac_DK
Title: Re: Mambo Open Source
Post by: Kindred on November 04, 2004, 08:26:15 AM
Ok...

So, If I set cookies to local or sub domain independent, then I can not log out of SMF at all... I can log out of Mambo (again with the Mambo specific logout, the combination logout is ineffective), but not SMF (at all).
I click on logout in SMF or the bridge component and it just returns to the screen with me still logged in.

The only way I seem to be able to log out of SMF is with databse driven sessions...

Title: Re: Mambo Open Source
Post by: Chris G. on November 04, 2004, 05:10:05 PM
Okay.  First of all, I would like to congratulate Orstio on his sterling work.  Now, I have waded through this twenty-three-page topic in the hopes of finding what I'm looking for, and no dice.  I will, then, continue to ask my question:

My Mambo/SMF integration is proving, unfortunately, a bit disastrous.  I have followed the readme instructions to the letter, but the login and logout functions don't quite work properly:  I'm logged into SMF but not into Mambo.  I also can't log out, nor is the user menu showing up.

http://oceania.freeprohost.com/site

Any help would be greatly, greatly appreciated.  Thanks :).

-Chris
Title: Re: Mambo Open Source
Post by: Orstio on November 06, 2004, 12:50:42 AM
Got it!   :D

Thanks to Bruno Salzano for submitting some relevant code for Mambo login/logout database sessions, and thanks to Kindred for the use of his site for testing.   ;D

I'll be uploading the v2.03 soon. 
Title: Re: Mambo Open Source
Post by: SVT242 on November 06, 2004, 12:12:16 PM
AWESOME! :D
Title: Re: Mambo Open Source
Post by: Claudek on November 07, 2004, 11:27:36 PM
Good stuff there Orstio. Have been testing and seeing the best ways to integrate SMF into Mambo using your bridge right now.

BTW, I noticed "another" MAMBO/SMF integration project - http://pestilence.insert.gr/index.php?option=com_simpleboard&Itemid=44&func=view&id=4&catid=9 which looks good. You doing work with that guy?

Title: Re: Mambo Open Source
Post by: Orstio on November 07, 2004, 11:38:51 PM
Quote50% of the SMF code has been ported to compatible Mambo code, now nearly all database calls are Mambo driven.
We are now working on the user integration of SMF and also moving the final parts of the remaining code to be ported.

Nope.  Not working with that at all.

I was working under the premise that SMF is not open source, and therefore no SMF code should be modified, beyond some theme changes.
Title: Re: Mambo Open Source
Post by: Claudek on November 07, 2004, 11:42:03 PM
Had the same thought.

Think the guy means he is working on a bridge which ports smf to mambo. He says code, probably means the relevant db tables.
Title: Re: Mambo Open Source
Post by: Orstio on November 07, 2004, 11:45:49 PM
No, I think he is changing SMF source code:

QuoteWe are happy to announce that we have allready started coding an integraded version of SMF (Simple Machines) forums to mambo.
This component will not be just a simple bridge between Mambo and SMF but rather an integraded component such as simpleboard.
Time estimation varies (as time pressure of our real jobs varies) but we have allready made some progress with the main components of SMF.
It will once again utilize MamboJoe's "Community Builder" component for user handling issues (porting SMF user tables to "Community Builder").

Someone should probably inform him that while SMF is free, it is not open source.
Title: Re: Mambo Open Source
Post by: Claudek on November 07, 2004, 11:52:58 PM
Sorry had meant to say component last message. Guy seems cluey enough, noticed this at http://www.mambers.com/showthread.php?t=18233

QuoteI am happy to annouce that from today i have started coding the first total SMF integration component for Mambo.
This won't be a bridge or a wrapper but a total mambo integraded SMF forum.
I have allready started changing the code of SMF and porting it to mambo (with the use of community builder component) and i am also waiting the answer of the SMF developers regarding licensing issues.
I will be posting more info regarding this component in the near future.
You might also check http://pestilence.insert.gr for updates on this.

So seems he knows about the licence bit.
Title: Re: Mambo Open Source
Post by: pestilence on November 08, 2004, 03:30:47 AM
Hi everyone,
I saw your post just today, i am the one who is working on the SMF integration to Mambo, i emailed a few days ago SMF developers regarding the licensing issues but i got no reply. At the moment yes i have changed a big part of the code (actually the DB calls to Mambo compatible calls) but i have not released any part of the code to anyone, i was hoping i could get a reply regarding this issue from the developers but they did not.
Well if i don't find a solution its rather easy to simulate an integration of the forum with Mambo through just a few calls being brought by Mambo (user login in from Mambo and then updating also the SMF database, generally user functions of Mambo could easily get synced with the ones of SMF).
Till i finish i will be waiting for a reply...if i don't receive any...i will be moving to another project.
Also please notice that the license does not clarify if the code can or can't be changed to be more precise:
Quote2. You may make Modifications to this Package or a derivative of it, and
distribute your Modifications in a form that is separate from the Package,
such as patches. The following restrictions apply to Modifications:
   a. A Modification must not alter or remove any copyright notices in
the Software or Package, generated or otherwise.
   b. When a Modification to the Package is released, a non-exclusive
royalty-free right is granted to Lewis Media to distribute the Modification
in future versions of the Package provided such versions remain available
under the terms of this Agreement in addition to any other license(s) of the
initial developer.
   c. Any Distribution of a Modified Package or derivative requires
express written consent from Lewis Media.

This clearly states that you can modify and distribute the code as a seperate patch as long as the copyright notices remain intact and you have written permission by Lewis Media.
Title: Re: Mambo Open Source
Post by: [Unknown] on November 08, 2004, 03:38:19 AM
SMF is arguably open source, but you do need to get permission to redistribute - specifically because people do this, develop extra security holes, make SURE they never patch a single hole we find (if any), and then complete it all with blaming US for any security problems or bugs.

It's all bad mojo, and we hate it.  But hopefully it can be avoided - talk to Jeff Lewis; remember, though, that he's a very busy guy, so it may take him time to respond.

If it were made into a long series of changes (boardmod style or otherwise), there would be no problems at all - see the license for details.

-[Unknown]
Title: Re: Mambo Open Source
Post by: pestilence on November 08, 2004, 03:46:57 AM
Quote from: [Unknown] on November 08, 2004, 03:38:19 AM
SMF is arguably open source, but you do need to get permission to redistribute - specifically because people do this, develop extra security holes, make SURE they never patch a single hole we find (if any), and then complete it all with blaming US for any security problems or bugs.

It's all bad mojo, and we hate it. But hopefully it can be avoided - talk to Jeff Lewis; remember, though, that he's a very busy guy, so it may take him time to respond.

If it were made into a long series of changes (boardmod style or otherwise), there would be no problems at all - see the license for details.

-[Unknown]

That's something i totally understand and i agree i know how it feels having complains regarding other peoples code. I have allready emailed Jeff Lewis and i do understand he is a bussy man (i am as well...) afterall i have not finished what i started so i will be waiting for an answer :)
Title: Re: Mambo Open Source
Post by: Claudek on November 08, 2004, 11:28:42 PM
Cheers for your work and doing things the right way Pestilence. Will be interesting how you work turns out. :D
Title: Re: Mambo Open Source
Post by: np on November 09, 2004, 09:40:13 AM
First I would like to thank Orstio for all of his work, you've done a wonderful job.  I just finished a mambo/smf site integration.  Overall I am very please with what I see.  For the most part everything seems to be working as it should.  I do have a few minor bugs that maybe some of you can help me out with.

The first issue is the polls.  It seems that my mambo polls are only visible to users who are logged on.  It still shows the "poll" heading, but no poll.  Once you login, everything is as it should be.  I'm almost positive I saw something on these boards related to polls, but I can't seem to find it again, if anyone can point me to that post that would be awesome.

The next issue is with the layout.  Some pages, and its never the same page, will go beyond the bottom of the mambo layout.   However, once you refresh the page, it fixes itself.  I'm not sure what is causing this problem, so if anyone as any ideas, please let me know.

I don't believe I am having any trouble with registration/login/logout, but if any of  you would like to make some test runs you are more then welcome.

The site can be found here: http://www.uhlpost.com

Thanks again for all of your work Orstio.

NP
Title: Re: Mambo Open Source
Post by: MKaprocki on November 09, 2004, 02:26:54 PM
Quote from: np on November 09, 2004, 09:40:13 AM
FThe first issue is the polls.  It seems that my mambo polls are only visible to users who are logged on.  It still shows the "poll" heading, but no poll.  Once you login, everything is as it should be.  I'm almost positive I saw something on these boards related to polls, but I can't seem to find it again, if anyone can point me to that post that would be awesome.

I'm having the same problem as you. ;)  It's not an issue of being logged in or not, but the address you're viewing.  If you go to your site at http://www.uhlpost.com/ then the polls won't work.  If you click the Home button, it'll work...because it adds the Itemid and component (http://www.uhlpost.com/index.php?option=com_frontpage&Itemid=1). 

I've tracked it down to the new login module, but haven't checked in that code to find the problem...I'll leave that to Orstio.
Title: Re: Mambo Open Source
Post by: [Unknown] on November 09, 2004, 03:13:36 PM
Quote from: np on November 09, 2004, 09:40:13 AM
The next issue is with the layout.  Some pages, and its never the same page, will go beyond the bottom of the mambo layout.   However, once you refresh the page, it fixes itself.  I'm not sure what is causing this problem, so if anyone as any ideas, please let me know.

What Mambo theme/skin/whatever they call it are you using?  Are you using Firefox?  If so, this may be caused by known Firefox flow problems.  These should be resolved in the 1.1 release of Firefox, if so.

-[Unknown]
Title: Re: Mambo Open Source
Post by: Kindred on November 09, 2004, 04:21:40 PM
Ok,  I've had some time to play with the 2.03 version of the bridge.

The logins and logouts work acceptably well now...

However, Polls inside of SMF are still an issue.

I can post a new poll.
neither I nor any user can vote in the polls. It shows
Quote
The page you are trying to access does not exist.
Please select a page from the main menu.
when trying to access this page:

http://www.turtleshellprod.com/mambo/index.php?option=com_smf&Itemid=48&?action=vote;topic=8.0;poll=4


Now...  on another poll-related note, the bridge also apparently interferes with the Pie-Chart mod. If I go into SMF diretcly, I can get my pie-chart results of polls.
If I go in through the mambo interface, clicking on pie chart calls up another instance of the mambo page at the top-level (home).
Title: Re: Mambo Open Source
Post by: Orstio on November 09, 2004, 04:32:57 PM
QuoteOk,  I've had some time to play with the 2.03 version of the bridge.

The logins and logouts work acceptably well now...

However, Polls inside of SMF are still an issue.

I can post a new poll.
neither I nor any user can vote in the polls. It shows

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

when trying to access this page:
Copy to clipboardCode:
http://www.turtleshellprod.com/mambo/index.php?option=com_smf&Itemid=48&?action=vote;topic=8.0;poll=4

Now...  on another poll-related note, the bridge also apparently interferes with the Pie-Chart mod. If I go into SMF diretcly, I can get my pie-chart results of polls.
If I go in through the mambo interface, clicking on pie chart calls up another instance of the mambo page at the top-level (home).

The issues with SMF polls are an incompatibility of variable names with Mambo.  I believe [Unknown] has fixed it for the next release of SMF.
Title: Re: Mambo Open Source
Post by: Orstio on November 09, 2004, 04:36:28 PM
For those having trouble with the Mambo polls module, I suggest the PollXT module, which you will be happier with, anyway:

http://mamboforge.net/frs/?group_id=235
Title: Re: Mambo Open Source
Post by: np on November 09, 2004, 06:54:43 PM
First, thank you all for the replys.  I'm sorry I couldn't get back to you sooner.

Orstio - those poll are way better, I'll be using them from now on.  Thanks for the link

[Unknown] - I'm using the core of the default solarflare theme that comes with mambo which I've customized to my liking.  I haven't made any positioning changes though, only colors etc.  I was using firefox 1.0pr.  With firefox 1.0 [just came out today] I haven't noticed any problems yet, so maybe that was the problem.  I also haven't noticed it in ie or netscape. 

NP
Title: Re: Mambo Open Source
Post by: np on November 10, 2004, 08:18:41 AM
[unknown] -  the new release of firefox does show the error from time to time.  I'm still not sure what it is, and the problem is that its so random.  Its not a particular page, and its not on every page load.  In fact, if it does happen, and you simple refresh the page, everthing appears as it should.

NP
Title: Re: Mambo Open Source
Post by: Tony Reid on November 10, 2004, 08:25:36 AM
The solar flare template has many issues with Layout and components - and an update was released a day or so ago - called solar Flare II.

It still has a few issues, although most fixes are available from the mambers.com forum.

Title: Re: Mambo Open Source
Post by: [Unknown] on November 10, 2004, 12:15:16 PM
As I said, np:

Quote from: [Unknown] on November 09, 2004, 03:13:36 PM
If so, this may be caused by known Firefox flow problems.  These should be resolved in the 1.1 release of Firefox, if so.

-[Unknown]

Because it is obviously a bad idea to do "muck around" in the code, even when you have an idea what's wrong, just before a release... it was, of course, not fixed in 1.0.  I would have been appauled if it had.  Rather, it will be resolved in the next major release (after 1.0) of Firefox.

This is really a bug in the Gecko engine, and will effect other browsers - some Konqueror browsers, Mozilla, etc. as well.

-[Unknown]
Title: Re: Mambo Open Source
Post by: JimPanzee on November 10, 2004, 06:56:54 PM
Hi all,

i´m new to this forum and first i have to say, you guys make a very good job. Thx for this.

Now my prob:

My webhoster have set "Magic Quotes = off". If i try to login with the 2.03 version of the bridge i get the following error: "You were unable to login. Please check your cookie settings."
My question: Can anyone tell me what i can do to solve this?

I´ve asked my webhoster to change the "Magic Quotes" setting, but he won´t do it.  :'(

Mambo = Version 4.5.1

SMF = Version 1.0 RC1


Any help is welcome.

JimP


------------------------------------------------


Prob solved. After a longer Google search i found the .htaccess way. Ok, i´m a beginner with this stuff. Much to learn. ;)

Thx

JimP
Title: Re: Mambo Open Source
Post by: [Unknown] on November 11, 2004, 07:20:27 PM
Interesting.... do Mambo and SMF both automatically correct that setting if it's off?  They could conflict, if so.

I know SMF will add slashes if it is set to 0, so if Mambo does too...

-[Unknown]
Title: Problems with the bridge
Post by: MacFly on November 12, 2004, 11:48:38 PM
Hi all,
I have installed SMF in a dir and all works fine. I also correctly installed (following the readme.txt instruction, package beta2) com_rc2, registration and login, with template modify.
the problem is when I try to acced to the forum thrue the menu link and appear the following alert (partially in italian):
Safari non può aprire la pagina "http://www.xxxx.it/portal/index.php?option=com_smf&Itemid=40".

L'errore è stato: "risposta server non valida" (NSURLErrorDomain:-1011) ("invalid server answer")

With Firefox, Mozilla and others, appear only a blank page.
This, both with GZip function checked/unchecked.
My server system:
Informazioni di Versione :
Versione del Forum:  SMF 1.0 RC2 (maggiori dettagli)
Versione corrente di SMF:  SMF 1.0 (preview)
Versione del PHP :  5.0.0
Versione di MySQL :  4.0.18-standard
Versione del Server :  Apache/2.0.48 (Fedora)
Versione di GD :  2.0 or higher

The same version working fine on the local MacOSX installation:

Versione del Forum:  SMF 1.0 RC2 (maggiori dettagli)
Versione corrente di SMF:  SMF 1.0 (preview)
Versione del PHP :  4.3.6
Versione di MySQL :  4.0.15
Versione del Server :  Apache/1.3.29 (Darwin) PHP/4.3.6
Versione di GD :  bundled (2.0.22 compatible)

Any idea? I'm blocked with the site
:'(
Tnx in advance
Title: Re: Mambo Open Source
Post by: Orstio on November 13, 2004, 01:42:36 AM
Go to your Mambo control panel and turn off GZip compression.
Title: Re: Mambo Open Source
Post by: MacFly on November 13, 2004, 06:49:17 AM
Quote from: Orstio on November 13, 2004, 01:42:36 AM
Go to your Mambo control panel and turn off GZip compression.

Tnx Orstio, the error is changed, now, the new is:

Fatal error: Cannot redeclare ssi_shutdown() (previously declared in /home/web/www.xxxx.it/website/portal/forum/SSI.php:150) in /home/web/www.xxxx.it/website/portal/forum/SSI.php on line 152

and now I cannot make logout via smf login module
P.S. the GZip compression is indifferent in MacOSX server, I tried with all combination inabling/disabling on both Mambo and SMF
Any idea?
Title: Re: Mambo Open Source
Post by: MacFly on November 13, 2004, 10:42:41 AM
Well, disabling GZip on Mambo, the forum works only with templates not modiefieds ( <?php  require ("components/com_smf/config.smf.php"); require ($smf_path . "/SSI.php");?>)
but don't the login module, in this case.
I  installed the beta4 pack and now seems working fine (I hope  :D), only with GZip in Mambo disabled anyway.
Tnx a lots for your continuous support Orstio  ;D
Title: Re: Mambo Open Source
Post by: Dainis on November 13, 2004, 11:34:02 AM
Whoah! This sounds tricky. I'd love to have one login for both Mambo and SMF; however, this thread is super-long and indicates that if I were to try to do the integration, I'd be in for a heck of a lot of work (along with a bunch of errors I wouldn't understand or be able to fix). Is that true?

What do you folks suggest? Should folks with minimal coding skill just sit tight and wait, instead of messing around causing problems?

Sincerely,
Dainis

Title: Re: Mambo Open Source
Post by: Eibwen on November 13, 2004, 01:38:21 PM
Quote from: Dainis on November 13, 2004, 11:34:02 AM
Whoah! This sounds tricky. I'd love to have one login for both Mambo and SMF; however, this thread is super-long and indicates that if I were to try to do the integration, I'd be in for a heck of a lot of work (along with a bunch of errors I wouldn't understand or be able to fix). Is that true?

What do you folks suggest? Should folks with minimal coding skill just sit tight and wait, instead of messing around causing problems?

Sincerely,
Dainis

This is EXACTLY the kind of comment I have had in my mind for a long time..

I've been waiting for solid, easy and working SMF+CMS integration for months, I have already chosen MOS to be my CMS and currently I use Simpleboard 1.0.3p3 until the SMF-MOS bridge is tested in production environment.

Btw, hopefully there's also coming a Simpleboard -> SMF converter soon ;D
Title: Re: Mambo Open Source
Post by: Orstio on November 13, 2004, 02:28:58 PM
Quote from: MacFly on November 13, 2004, 10:42:41 AM
Well, disabling GZip on Mambo, the forum works only with templates not modiefieds ( <?php  require ("components/com_smf/config.smf.php"); require ($smf_path . "/SSI.php");?>)
but don't the login module, in this case.
I  installed the beta4 pack and now seems working fine (I hope  :D), only with GZip in Mambo disabled anyway.
Tnx a lots for your continuous support Orstio  ;D

I think you should read the instructions.  This code added to the header:

<?php  require ("components/com_smf/config.smf.php"); require ($smf_path "/SSI.php");?>

Is part of the old bridge, before the v2.0.  It has changed significantly.
Title: Re: Mambo Open Source
Post by: Orstio on November 13, 2004, 02:39:33 PM
Quote from: Dainis on November 13, 2004, 11:34:02 AM
Whoah! This sounds tricky. I'd love to have one login for both Mambo and SMF; however, this thread is super-long and indicates that if I were to try to do the integration, I'd be in for a heck of a lot of work (along with a bunch of errors I wouldn't understand or be able to fix). Is that true?

What do you folks suggest? Should folks with minimal coding skill just sit tight and wait, instead of messing around causing problems?

Sincerely,
Dainis



Not necessarily.  The majority of "errors" reported have been people just not following instructions, or using instructions from the login module when installing the registration component, etc.

About the first half of this thread has nothing at all to do with the bridge component.

You'll need to be able to follow instructions, and you'll need to be able to modify your SMF theme as you wish.  That's all.
Title: Re: Mambo Open Source
Post by: Oldiesmann on November 13, 2004, 03:28:10 PM
Well, curiosity (and boredom) finally got the best of me and I just spent about an hour setting everything up on my test site (no FTP access due to two stupid firewalls that I can't disable, so I had to split everything up into zip files and use the upload-and-unzip feature at net2ftp.org/beta). Very nice. I'm seriously considering converting my Enigma site to this. I know they're working hard over there, but this is just so cool :). I'll talk to my users and see what they think.

EDIT: Oh yeah. Here's the link. http://test.oldiesmann.us/mambo
Title: Re: Mambo Open Source
Post by: Eibwen on November 13, 2004, 03:57:20 PM
Quote from: Orstio on November 13, 2004, 02:39:33 PM
About the first half of this thread has nothing at all to do with the bridge component.

I agree... Would it be silly idea to start a new thread, concerning ONLY the SMF-MOS bridge?

Just my .02 :)
Title: Re: Mambo Open Source
Post by: [Unknown] on November 13, 2004, 05:53:56 PM
I strongly suggest using require_once instead of require...

-[Unknown]
Title: Re: Mambo Open Source
Post by: Oldiesmann on November 14, 2004, 02:53:43 PM
I'm having a blast with this... How do I keep Mambo's stylesheet and SMF's stylesheet from interfering with one another? If a template uses a different font than SMF, how do I keep SMF from using that template's font? It's nice to be able to integrate SMF, but I'd like to keep the stylesheets from conflicting.
Title: Re: Mambo Open Source
Post by: Vedm on November 14, 2004, 03:33:46 PM
At the moment we are making 'small' and 'normal' fonts In Mambo template to be the same to SMF.
If someone finds a solution not to inerfere them at all - it would be a great feature.

Also, there's a font resizement bug existing in the bridge, if and when you use IE - wrapped SMF component results in enlarged fonts, and if you turn off xhtml type of document for SMF index.template - it becomes normal but unwrapped forum fonts will become smaller.
Title: Re: Mambo Open Source
Post by: Oldiesmann on November 14, 2004, 04:02:51 PM
It's not just the fonts that are interfering. I've got this nice blue template set as default that I found on mambohut.com, and the links are normally a white color with no underlines and there's a dark blue backround. However, when I view the SMF component, all the links are black with underlines and the background is white. I'm still mostly just playing around with this and waiting to see what develops with this, another Mambo/SMF integration project I was following and at Lunabyte.com...
Title: Re: Mambo Open Source
Post by: repete on November 14, 2004, 04:25:27 PM
I just changed all the corresponding colours in the SMF stylesheet to match my Mambo template.  The only thing that looks ugly is the Login Form, which I assume is a result of conflicting stylesheets from Mambo and SMF.

This is how the integrated Login Form looks like in the main pages:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.skylinephotography.com%2Floginform-mainpages.jpg&hash=a759c98114110d6a329f828147eabed8fdaff80d)

I would like to get the Login Form back to its original look:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.skylinephotography.com%2Floginform-mambo.jpg&hash=d8f765da3f8d21681179394ee08b92fb44413a0d)

I don't know how to change the look of the Login Form, I assume its in the stylesheet but I don't know where.
Title: Re: Mambo Open Source
Post by: Kindred on November 14, 2004, 04:58:46 PM
Actually, the background of the login form is defined in the file mod_smf_login.php

I changed the following line:


echo '<div class="headerbodies" style="position: relative; margin-right: 5px; background-image: url(', $settings['images_url'], '/box_bg.gif);">
<table width="99%" cellpadding="0" cellspacing="5" border="0"><tr>';


to read:


echo '<div style="position: relative; margin-right: 5px;">
<table width="99%" cellpadding="0" cellspacing="5" border="0"><tr>';


this keeps the module looking like the rest of my mambo modules...   you can play with the background image rather than just removing it...   you can change the class of the DIV function, which will set the colour based on your CSS file(s)...

Title: Re: Mambo Open Source
Post by: Vedm on November 14, 2004, 05:01:54 PM
No, Repete, it isn't there. It's the background from description of mod_smf_login module window. Just wipe it out - it will use Mambo specified background after that.

Edit: Oops, looks like Kindred made it first and perfect. :)

2 Oldiesmann: Yes, I saw that glich with a:link too. Well, the most obvious solution is to make special Mambo template for SMF default theme - but nobody made it yet. :P
Title: Re: Mambo Open Source
Post by: repete on November 14, 2004, 06:24:59 PM
This really is a helpful forum, two posts helping me out at the same time.:)

I might suggest making the change that Kindred made in mod_smf_login.php in future releases of the bridge.

Title: Re: Mambo Open Source
Post by: Vedm on November 14, 2004, 07:10:51 PM
Repete, here's my 'mod_smf_login.php' file - I have also changed input types in text boxes for the whole module to become Mambo-styled. You can use the file-comparsion tool to see where changes were applied.

Edit: Orstio, may I offer you to use these improvements for future bridge releases? ;)

<?php
global $context$txt$scripturl$settings;
$sql "SELECT id FROM mos_menu WHERE link='index.php?option=com_smf'";
$result mysql_query ($sql);
$row mysql_fetch_array($result);
$myurl $mosConfig_live_site ."/"basename($PHP_SELF)."?option=com_smf&Itemid=" $row[0]."&";
$scripturl $myurl;
echo 
'<table width="99%" cellpadding="0" cellspacing="5" border="0"><tr>';
if (!empty($context['user']['avatar']))
echo '<td valign="top">'$context['user']['avatar']['image'], '</td></tr>';
echo '<td width="100%" valign="top" class="smalltext" style="font-family: verdana, arial, sans-serif;">';

// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{
echo '
'
$txt[247], ' <b>'$context['user']['name'], '</b>';

// Only tell them about their messages if they can read their messages!
if ($context['allow_pm'])
echo ', '$txt[152], ' <a href="'$scripturl'?action=pm">'$context['user']['messages'], ' '$context['user']['messages'] != $txt[153] : $txt[471], '</a>'$txt['newmessages4'], ' '$context['user']['unread_messages'], ' '$context['user']['unread_messages'] == $txt['newmessages0'] : $txt['newmessages1'];
echo '.';

// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '<br />
<b>'
$txt[616], '</b>';

// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '<br />
'
$context['unapproved_members'] == $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="'$scripturl'?action=regcenter">'$context['unapproved_members'] == $txt['approve_member'] : $context['unapproved_members'] . ' ' $txt['approve_members'], '</a> '$txt['approve_members_waiting'];

// Show the total time logged in?
if (!empty($context['user']['total_time_logged_in']))
{
echo '
<br />'
$txt['totalTimeLogged1'];

// If days is just zero, don't bother to show it.
if ($context['user']['total_time_logged_in']['days'] > 0)
echo $context['user']['total_time_logged_in']['days'] . $txt['totalTimeLogged2'];

// Same with hours - only show it if it's above zero.
if ($context['user']['total_time_logged_in']['hours'] > 0)
echo $context['user']['total_time_logged_in']['hours'] . $txt['totalTimeLogged3'];

// But, let's always show minutes - Time wasted here: 0 minutes ;).
echo $context['user']['total_time_logged_in']['minutes'], $txt['totalTimeLogged4'];
}

echo '<br />
<a href="'
$scripturl'?action=unread">'$txt['unread_since_visit'], '</a><br />
<a href="'
$scripturl'?action=unreadreplies">'$txt['show_unread_replies'], '</a><br />
'
$context['current_time'], '<br /> <a href="'$scripturl'?action=mambo_logout;sesc='$context['session_id'], '">', ($settings['use_image_buttons'] ? '<img src="' $settings['images_url'] . '/' $context['user']['language'] . '/logout.gif" alt="' $txt[108] . '" style="margin: 2px 0;" border="0" />' $txt[108]), '</a>';
}
// Otherwise they're a guest - so politely ask them to register or login.
else
{
echo '
'
$txt['welcome_guest'], '<br />
'
$context['current_time'], '<br />
<form action="'
$scripturl'?action=mambo_login" method="post" style="margin: 3px 1ex 1px 0; text-align:right;">
<input type="text" class="inputbox" name="user" size="10" /> <input type="password" class="inputbox" name="passwrd" size="10" />
<select name="cookielength" class="inputbox">
<option value="60">'
$txt['smf53'], '</option>
<option value="1440">'
$txt['smf47'], '</option>
<option value="10080">'
$txt['smf48'], '</option>
<option value="302400">'
$txt['smf49'], '</option>
<option value="-1" selected="selected">'
$txt['smf50'], '</option>
</select>
<input type="submit" class="button" value="'
$txt[34], '" /><br />
'
$txt['smf52'], '
<input type="hidden" name="op2" value="login" />
<input type="hidden" name="lang" value="'
,$mosConfig_lang,'" />
<input type="hidden" name="return" value="'
,sefRelToAbs$login ),'" />
<input type="hidden" name="message" value="'
,$message_login,'" />
</form>'
;
}
echo '
</td></tr></table>
</div>'

?>

Title: Re: Mambo Open Source
Post by: [Unknown] on November 15, 2004, 12:39:04 AM
To fix the font issues, as I've said a dozen times, you can set "html" as your doctype in your init template.  This will cause SMF to load fonts-compat.css, which resolves the font size problems.

-[Unknown]
Title: Re: Mambo Open Source
Post by: B on November 16, 2004, 10:00:25 PM
*collapses in exhaustion* ::)

I've just read all 27 pages of this thread. I've decided I'm going to continue watching how this whole thing develops. I'm just not ready to jump in, yet. :) I think it's an awesome idea, though...and I can't wait to get it working on my site.

B
Title: Re: Mambo Open Source
Post by: Ket on November 17, 2004, 12:01:04 AM
Ok found the master thread I'll stop makeing new ones now.

Obviously by now we have seen that on load of the SMF content the CSS file seems to be overwritten causing an immediate change to the Mambo template. I assume this has to do with CSS file conflicts. Is there any work around to this. Short of writing a Mambo template to match the SMF CSS file's.

Title: Re: Mambo Open Source
Post by: Kindred on November 17, 2004, 01:01:00 AM
NO, the CSS files are not overwritten by anything to do with the bridge.

However, as you were warned in the documentation for the bridge, there are several entries duplicated between SMF and Mambo. When you load SMF within Mambo, it applies the last read file (the forum CSS) to everything, including the mambo template.

There are two things to do for this.
1) change the XHTML line to read HTML, adn [unknown] has posted a couple of times.
2) add the SMF unique entries to the Mambo CSS file.
3) change both your templates around to merge as you would want.
(the mambo template is probably easier, since there are fewer files to muck with.)

the only issue I still have is that when SMF is loaded, the mambo topmenu is extra large text...   that can be fixed (and will eventually) by changing the call for the text in the mambo topmenu to a different style, unique from SMF style calls.
Title: Re: Mambo Open Source
Post by: Ket on November 17, 2004, 02:44:37 AM
Kindred, DOH!
I think I need to start getting more sleep. I was under the misguided assumption that this fix
1) change the XHTML line to read HTML, adn [unknown] has posted a couple of times.
was for the large/small text fix.
Title: Re: Mambo Open Source
Post by: Ket on November 17, 2004, 05:23:48 PM
B.T.W. Setting the DocType to HTML from XHTML does not seem to correct the top banner mambo issue.

(Large Font Issue)
Title: Re: Mambo Open Source
Post by: Kindred on November 17, 2004, 05:51:14 PM
Well, it helped, but did not correct it, as you noticed.
(they are smaller, but still not normal size)

the issue here is the fact that there are two calls for what the header fonts are identified as: one in Mambo CSS and one in SMF CSS.  To fix this, you should go into your mambo theme and change the font or div type of the headers, and then make a new entry in your mambo CSS file.
Title: SMF Ported over to Mambo - 11-17-2004
Post by: Jubei on November 17, 2004, 06:57:08 PM
I looked around and found SMF to be one of the better if not the best open source forum available - I made the same conclusion about Mambo when it came to an all inclusive management system.  I have to say, after working with the two - MAMBO is in many ways very poorly organized, and in other ways purely genius - well anyway.

Here's a version of SMF that was ported over to the Mambo system - it hasn't been up for long so there may be some problems I haven't discovered, but overall it's working.

http://www.agencycafe.com/component/option,com_smf/Itemid,53/

SMF Sessions were disabled, and Mambo Security was used to over-ride the session securities of the SMF system.

New Users to the Mambo Backend are automatically added to the SMF system (ie: User Data is seamlessly shared)

There were a few things I had to change on the Mambo side to make everything work smoothly, mostly with the passing of User Credentials and Session Key information.  There was a problem with SMF's use of the ob_start command overriding sessions used in Mambo, but that was a simple change in the Mambo Index file.

Anyway - if any of you would like a copy of the source code, feel free to email me a request [ smf (AT) byrgius.com ]

Godspeed
Title: Re: Mambo Open Source
Post by: DAB Empire on November 19, 2004, 05:20:03 PM
Helllllo everyone.  Saw a few replies about people looking for testers.  I have the integration installed on one beta site (www.vipnights.com), one semi-live site (www.radiogrind.com) and one fully-live site (www.eliterides.com).  So far the component is great for the most part.  I have only run into a few problems:

1.  When you logout it only logs you out of SMF.  Mambo still shows you logged into Mambo.

2.  Thread Views are counted incorrectly.  They count in increments of three.  I am assuming this is because of how it loads the forums wrapped.

3.  The options to redirect a user upon login/logout in the Module settings do not work
4.  A lot of my users access the forums directly and will not be getting to the forums through the bridged component.  With the component installed, if a user accesses the forums directly the logon form at the top does not work.  Example. Go to http://www.eliterides.com and logon through the right module using user: "test" and pass "test". Works great. Now try and go to http://www.eliterides.com/forums and login through the form at the top of the forums. It doesn't work. I updated the index template file login links. Did I miss one?

I'd be more than happy to test on my beta or live sites.
Title: Re: Mambo Open Source
Post by: Kindred on November 19, 2004, 05:36:15 PM
Take these in reverse order:

Are you running v2.04 of the bridge?
because 2.04 solved #4 for certain...  (except in Firefox)

Not sure what you mean by that...  redirect to where?   It usually just reloads whatever page you were on before logging in/out. Are you trying to do something different?

Thread counts are correct on my system...

Mambo shows you logged in for about 5-10 minutes...    BUT, you are not actually... you are deifnitely logged out of Mambo. (because when I log out, although it shows me as being present, I can not access any of the reg-user-only menus)
Title: Re: Mambo Open Source
Post by: DAB Empire on November 19, 2004, 06:10:14 PM
I believe so.  Possibly not then.  :-(  Do you have a link to the latest download?

In regards to the redirect, if you go to the Parameters of the login module you can specify where the user is directed to upon login.
Title: Re: Mambo Open Source
Post by: Kindred on November 19, 2004, 06:20:09 PM
Wow... cool... Orstio added that.
I'll have to test it out a bit myself...


v2.04 can be acquired on Mambo Forge Z(www.mamboforge.net)
I'm not sure of the exact link, but you'll get ther eis you search for SMF
Title: Re: Mambo Open Source
Post by: Thurnok on November 20, 2004, 03:01:07 AM
Well... I have to admit I just read this thread.  I had no idea this thread was even here before trying my hands at setting up MOS-SMF bridge 2.04beta.  Man! this is a lonnnnng thread.  ;)

My experience was 2 fold...

First, I do not use mos_ as my table prefix so I had to modify all the hardcoded table prefixes (there are relatively easy ways to not hardcode the table prefix for Mambo).  Hopefully the next rendition of this mod will not use hardcoded table prefixes for those of us that have multisites.

Second, I did not have any of the font/css style issues discussed in this thread at all.  I did however find that the mod_smf only logged me into SMF and not Mambo.  And the registration function failed for me as well.  It worked to the point of sending the actual registration confirmation link to the appropriate email address, but after using the link (and seeing the confirmation acceptance message on the webpage) when trying to log in as that user, it told me that I needed to do the confirmation still.

I'm using Mambo 4.5.1 and used the com_smf from the appropriate 4.5.1 directory from the MOS-SMF bridge zip file.  I installed each item in the appropriate order as stated in the readme.txt and followed the readme.txt for each piece as explained.  I modified my Mambo template to include the require statement in the <head> section of my template, put the MOS_SMF file in my Sources dir, modified the index.english.php in the SMF template as instructed (for the registration link info) as well as the index.template.php as instructed (for the mambo_login / logout actions) and still it did not work on my system.

I'm not sure where this issue is or whether it is also the reason I did not have the CSS issues others have had.  Frankly, I'm not concerned with SMF being displayed in the Content area of a Mambo template at all.  All I really want is the integration to be of such that my users register in one place, and it registers them on both Mambo and SMF, and when they login / logout it logs them in/out of both Mambo and SMF.  I would prefer having to have a link_url (not a component) on my Mambo menu where I can just have SMF open in a new browser window anyway.  Which is what I do now on one site, on the other I use the Mambo Wrapper and contrary to the info mentioned in a few places, it works just fine in the Mambo Wrapper.  But my users still have to register seperately and log in/out seperately.  :(

Sorry if I missed something in this 27 page thread.. heh...  plus I'm on drugs! 

Note about the Link_URL vice Componet (menu selection setting in Mambo).  If you set to component, those of us that love Tabbed browsing find out that opening your SMF in a new tab from the Mambo menu doesn't open just SMF in the new tab, it opens your whole site (in other words, useless).  Same goes for opening it in a new window.  However if you use Link_URL you can open just SMF in the new Tab / Window.
(I use Mozilla of course)

I saw those early posts about the Mambo bickering, and the vBully switch on Mambo Forge.   Guess that just happens... I've got numerous phpBB forums running on numerous sites, some on PostNuke, others custom websites.  But I really like Mambo's administrative features (their ease of use) as opposed to PostNuke.  So I now have 2 Mambo sites and 2 SMF sites.. now if I can just get that bridge working... hehe
Title: Re: Mambo Open Source
Post by: Orstio on November 20, 2004, 03:34:14 AM
Do you have a URL?
Title: Re: Mambo Open Source
Post by: DAB Empire on November 20, 2004, 01:04:59 PM
Quote from: kindred on November 19, 2004, 05:36:15 PM
Take these in reverse order:

Are you running v2.04 of the bridge?
because 2.04 solved #4 for certain...  (except in Firefox)

Not sure what you mean by that...  redirect to where?   It usually just reloads whatever page you were on before logging in/out. Are you trying to do something different?

Thread counts are correct on my system...

Mambo shows you logged in for about 5-10 minutes...    BUT, you are not actually... you are deifnitely logged out of Mambo. (because when I log out, although it shows me as being present, I can not access any of the reg-user-only menus)


Upgraded to the latest version of the component and still having issues with 1, 3 and 4 from above.   :(  Is there a fix for voting on polls not working too?
Title: Re: Mambo Open Source
Post by: Kindred on November 20, 2004, 03:46:24 PM
Orstio informs us that the voting in Polls should be fixed by the 1.0 full release that Charter members are viewing as preview release right now...
Title: Re: Mambo Open Source
Post by: Orstio on November 20, 2004, 04:35:58 PM
QuoteUpgraded to the latest version of the component and still having issues with 1, 3 and 4 from above.     Is there a fix for voting on polls not working too?

Quote1.  When you logout it only logs you out of SMF.  Mambo still shows you logged into Mambo.

I believe you have a corrupt session cookie.  Do the following:  Close all browser windows.  Go to your cookies folder with Windows Explorer and delete any cookies with your domain in them.  Clearing the cookies from the browser does not always work, and if you leave a browser window open it will definitely not work.

The reason I say this, is because I just registered at your site, logged in, saw the user menu, then logged out, and the user menu was gone.  So, I was definitely logged in, then logged out, of both Mambo and SMF.

Quote2.  Thread Views are counted incorrectly.  They count in increments of three.  I am assuming this is because of how it loads the forums wrapped.

The bridge does absolutely nothing to the stats.  Are you sure you didn't make any other changes that may have affected that?  Perhaps you have some type of caching that you don't see the thread count going up right away?

Quote3.  The options to redirect a user upon login/logout in the Module settings do not work

I haven't really added that as an "option" as of yet.  If you look in MOS_SMF.php, you will see a line that looks like this:

    $_SESSION['login_url'] = $mosConfig_live_site;

Instead of $mosConfig_live_site, you can use whatever URL you wish, and upon logging in, that's where people will be directed.  There is a line near the end of the same file for the redirect upon logging out.

How would people feel if I made this part of the configuration?  I have installed a user-friendly backend administration for the next version (no more editing config.smf.php ;) ), so this can be added fairly easily.

Quote4.  A lot of my users access the forums directly and will not be getting to the forums through the bridged component.  With the component installed, if a user accesses the forums directly the logon form at the top does not work.  Example. Go to http://www.eliterides.com and logon through the right module using user: "test" and pass "test". Works great. Now try and go to http://www.eliterides.com/forums and login through the form at the top of the forums. It doesn't work. I updated the index template file login links. Did I miss one?

Some users have been experiencing this, and I have an idea what it is, but not exactly sure how to fix it.  It has to do with the URL being passed to set the cookie.

Title: Re: SMF Ported over to Mambo - 11-17-2004
Post by: [Unknown] on November 20, 2004, 05:00:10 PM
Quote from: Jubei on November 17, 2004, 06:57:08 PM
http://www.agencycafe.com/component/option,com_smf/Itemid,53/

Please do not remove the copyright statement.

-[Unknown]
Title: Re: Mambo Open Source
Post by: DAB Empire on November 20, 2004, 08:51:36 PM
Thanks for the replies!

Quote from: Orstio on November 20, 2004, 04:35:58 PM
2.  Thread Views are counted incorrectly.  They count in increments of three.  I am assuming this is because of how it loads the forums wrapped.

This is the only one I am still stuck on.  Does it have anything to do with how the forums are wrapped that it loads/reloads and could be counted?  I'm wondering if it might be something specific to one site (ER), because my other two don't have the problem.

Thanks again!
Title: Re: Mambo Open Source
Post by: ryanbsoftware on November 20, 2004, 09:52:34 PM
ok being too lazy to read all 28 pages here, can i intergrate smf into mambo?  if not can it intergreate into any other CMS?
Title: Re: Mambo Open Source
Post by: Kindred on November 20, 2004, 11:16:38 PM
EliteRides,

What module are you talking about for the thread counts problem?    Is this form one of the additional modules that Orstio included in the package? (like latest news or something?)

If that's it, there is something different with your setup.  I used the module and it properly reports the post and view counts for my 5 most recent threads.

Ryan,
yes, you can be worked into Mambo...   however, do a quick read of this (and the other) threads for explanations if you have any problems...

Orstio... I've been playing around a little bit.
One thing I'd like to see your bridge do is expand the user table in Mambo, so that alot of the SMF profile data is included in Mambo (and hence the registration process).
Specifically,  I added:


ALTER TABLE `mos_users`
  ADD `gender` tinyint(4) unsigned NOT NULL default '0',
  ADD `birthdate` date NOT NULL default '0000-00-00',
  ADD `websiteTitle` tinytext NOT NULL,
  ADD `websiteUrl` tinytext NOT NULL,
  ADD `location` tinytext NOT NULL,
  ADD `ICQ` tinytext NOT NULL,
  ADD `AIM` varchar(16) NOT NULL default '',
  ADD `YIM` varchar(32) NOT NULL default '',
  ADD `MSN` tinytext NOT NULL;


Now, I'm not so up on php code... but after doing the database add, I figure I need to include these fields as text boxes and drop downs or radio buttons in the Register php file in Mambo (which your smf_registration calls, correct?) I'm just not certain how to go about doing that.

Two other features I'd like to eventually see...
Merging the PM system in SMF into Mambo as well (maybe calling the component, PMS II so whoever does it doens't have to rewrite all the code?   I don't know if that will work) I think this may be an important feature of the bridge...


and possibly merging the shoutbox mod...    on the other hand, the Mambo shoutbox may just replace the mod that is in SMF... (in other word, don't use the SMF mod, use the native amambo component)

--Kindred
Title: Re: Mambo Open Source
Post by: Orstio on November 20, 2004, 11:23:30 PM
Quoteok being too lazy to read all 28 pages here, can i intergrate smf into mambo?  if not can it intergreate into any other CMS?

You can, but I'm going to suggest that if you haven't, wait for a couple of weeks for the next version.  It will have the following:

- Mambo backend editing of the bridge configuration.  No more editing of config.smf.php.
- The "Discuss This" mambot for your content items.
- There is a bug for certain server configurations that a few people have reported concerning members being created in SMF, and in the Mambo front end, but not in Mambo's backend.  This is fixed.
- Registration agreement with a check box to assure that people agree to the terms upon registration.
Title: Re: Mambo Open Source
Post by: Orstio on November 20, 2004, 11:33:01 PM
QuoteOrstio... I've been playing around a little bit.
One thing I'd like to see your bridge do is expand the user table in Mambo, so that alot of the SMF profile data is included in Mambo (and hence the registration process).
Specifically,  I added:

Copy to clipboardCode:
ALTER TABLE `mos_users`
  ADD `gender` tinyint(4) unsigned NOT NULL default '0',
  ADD `birthdate` date NOT NULL default '0000-00-00',
  ADD `websiteTitle` tinytext NOT NULL,
  ADD `websiteUrl` tinytext NOT NULL,
  ADD `location` tinytext NOT NULL,
  ADD `ICQ` tinytext NOT NULL,
  ADD `AIM` varchar(16) NOT NULL default '',
  ADD `YIM` varchar(32) NOT NULL default '',
  ADD `MSN` tinytext NOT NULL;

Now, I'm not so up on php code... but after doing the database add, I figure I need to include these fields as text boxes and drop downs or radio buttons in the Register php file in Mambo (which your smf_registration calls, correct?) I'm just not certain how to go about doing that.

There is somebody working on adding the profile editing stuff to the bridge. 

You can add fields to smf_registration.html.php as HTML, and return the variables as part of the form to smf_registration.php as the other variables are.  That's how I added the agreement checkbox.

You can also look into a Mambo mod called Users XTD, or something like thats.  It lets you add custom fields to the users table.

QuoteMerging the PM system in SMF into Mambo as well (maybe calling the component, PMS II so whoever does it doens't have to rewrite all the code?   I don't know if that will work) I think this may be an important feature of the bridge...

I think a separate Mambo PM system can be written to read solely from the SMF IMs.  That way, there does not have to be redundant data.

Quoteand possibly merging the shoutbox mod...    on the other hand, the Mambo shoutbox may just replace the mod that is in SMF... (in other word, don't use the SMF mod, use the native amambo component)

Can someone explain to me the purpose of a shoutbox?  I have never seen any use for this that cannot be accomplished with a forum or chat room. ???
Title: Re: Mambo Open Source
Post by: Kindred on November 21, 2004, 09:06:40 AM
Shoutbox is a great way to quickly list a one line message to someone, or everyone.

If restricted to only Admins, it allows an instant message to all users online at the moment.... rather than sending a PM to everyone, it just displays the message to all users in whatever place the Admin has placed the shoutbox.

At least that's how I use it. The people who have shoutbox available to everyone... I'm not exactly certain. :)

BTW: Userlist Extended doesn't actually modify the user table... it adds a seperate table that is also called seperately from the user profile.
(Userlist XTD shows a list of the users with extra information)

Quote
This component extends the core mambo user registration system by providing 15 extra customizable text fields. The labels of the fields can be set in admin backend. (4.5.0 Addon User Extended by Phil Taylor => switched to an installable component!)

but, they're all text fields (no choice fields) anfd they're not displayed or part of the standard user profile.
Title: Re: Mambo Open Source
Post by: Varment on November 21, 2004, 11:11:34 AM
QuoteQuote
ok being too lazy to read all 28 pages here, can i intergrate smf into mambo?  if not can it intergreate into any other CMS?

You can, but I'm going to suggest that if you haven't, wait for a couple of weeks for the next version.  It will have the following:

- Mambo backend editing of the bridge configuration.  No more editing of config.smf.php.
- The "Discuss This" mambot for your content items.
- There is a bug for certain server configurations that a few people have reported concerning members being created in SMF, and in the Mambo front end, but not in Mambo's backend.  This is fixed.
- Registration agreement with a check box to assure that people agree to the terms upon registration.

Thanks for the heads up. I was getting ready to install Mambo with my new SMF install.
Title: Re: Mambo Open Source
Post by: Dylan Malone on November 21, 2004, 05:25:05 PM
Quote from: Orstio on November 20, 2004, 11:33:01 PM
There is somebody working on adding the profile editing stuff to the bridge. 

You can add fields to smf_registration.html.php as HTML, and return the variables as part of the form to smf_registration.php as the other variables are.  That's how I added the agreement checkbox.

You can also look into a Mambo mod called Users XTD, or something like thats.  It lets you add custom fields to the users table.

This is a very interesting thought.  I've been wringing my hands with how to deal with volunteers and donors on our political website that uses Mambo and SMF.  Ideally, registration on our site should include a series of 6-10 check boxes labeled: "Are you willing to volunteer to help?  If so, check the ways you want to get involved?" and the boxes would be called:  Phone Banking, Fundraising, Web Development, etc.., etc.

I'm not sure if it's something we can pull off or not (this feature isn't needed until early next year, so I have time to wrestle with it).  It would be great to have the Forum profiles reflect this additional info, and have it available to Mambo modules and components as well.... hmm.  If anyone creates this functionality, let me know!

Quote
Can someone explain to me the purpose of a shoutbox?  I have never seen any use for this that cannot be accomplished with a forum or chat room. ???

I agree with Orstio, and besides, what's to integrate-- a shoutbox is just a scrolling text block right?  Wouldn't the standard Mambo shoutboxes work fine?
Title: Re: Mambo Open Source
Post by: idigital on November 21, 2004, 06:19:44 PM
I think the Community Builder profiler would be a better solution than Userlist XTD for adding extra fields to integrate/extend SMF in a Mambo environment. I'm planning to use it on the site I'm working on, although I haven't really had time to look into it yet. When I do work something out I'll post my discoveries here and on the Mambo official forums. I know the developer of CB, and also another dev who has done extensive custom work on it for a "social networking" based site, so we may be able to come up with something special ;)

http://mamboforge.net/projects/userextras/

Also, there's some guys that were working on an SMF bridge and CB component, but now it seems they are working towards extending the profiling of SMF itself:

http://pestilence.insert.gr/

At the moment they're using SimpleBoard for their support forums while they work on it ;)

I have been holding out for the final component from JZ/Whiterabbit, as that seemed to have a lot of potential. I believe it even integrated the SMF administration into the Mambo backend. That project seems to be on hold now, the creator appears to have vanished, which is a shame.

Now I'm using Orstio's excellent bridge component, he's been a great help in getting the bridge to work with seperate db's.

I'm going to be doing a very customised theme for SMF so that it works seamlessly in our site, including making it appear as if there are seperate boards for the seperate sections of the site, with template assignment so that the SMF theme changes with the different sections. We're using six different mambo templates on the site, and if all goes well this will be a great showcase of what Mambo and SMF can do.

We'll also be promoting SMF as a great forum solution, although whether that is through a page dedicated to it in our credits section, or simply the copyright footer... We're waiting on an official response to that.

Either way, no problem, it's just an aesthetic thing.

Anyway, I'll get back to this custom template now, in a few weeks time I may be releasing CB/SMF extensions for Mambo sites to make adding some new features a lot easier ;)

Cheers,

Damian
Title: Re: Mambo Open Source
Post by: pestilence on November 22, 2004, 01:46:35 PM
Hi all i was away for a week for holidays in the beautiful Paris (anyone from there?) i am now back and with more energy to work on the SMF component (damn i need to refresh my hacks) i will be posting soon on the development of SMF-mambo component :)
Title: Re: Mambo Open Source
Post by: clicker on November 23, 2004, 02:05:24 PM
I must apologise before hand if I missed the answer in this long thread.

I am trying to install the 2.0.4 bridge with MOS 4.5.1a and SMF Preview1.

I followed all instructions but I get
Login Form

Warning: Supplied argument is not a valid MySQL-Link resource in /home/sites/site19/web/forum2/Sources/Subs.php on line 232

Warning: Supplied argument is not a valid MySQL result resource in /home/sites/site19/web/forum2/Sources/Load.php on line 107

Warning: Supplied argument is not a valid MySQL result resource in /home/sites/site19/web/forum2/Sources/Load.php on line 109

Warning: Supplied argument is not a valid MySQL-Link resource in /home/sites/site19/web/forum2/Sources/Subs.php on line 232

Warning: Supplied argument is not a valid MySQL result resource in /home/sites/site19/web/forum2/Sources/Load.php on line 740

Warning: Supplied argument is not a valid MySQL result resource in /home/sites/site19/web/forum2/Sources/Load.php on line 750

Warning: First argument to array_unshift() needs to be an array in /home/sites/site19/web/forum2/Sources/Load.php on line 819
index


I doubled checked the path in config.smf.php to be correct. I uplodaded MOS_SMF.php to sources.
I included the code in the mambo templates right before the /<head> tag.
All tables are in the same database.

gzip and everything else is as it should be.

When I select to edit the confiig from the Mambo Components menu nothing happens.

I have populated SMF  with the data from a phpBB it will replace. No users in Mambo, except the admin from the installation.


Any  ideas please?





Title: Re: Mambo Open Source
Post by: Orstio on November 24, 2004, 04:50:55 AM
I haven't done anything with SMF preview yet.
Title: Re: Mambo Open Source
Post by: clicker on November 24, 2004, 06:42:23 AM
Quote from: Orstio on November 24, 2004, 04:50:55 AM
I haven't done anything with SMF preview yet.

OK, I see!  :( Do you have  any idea when you might be able to get round to having a look at it?

Title: Re: Mambo Open Source
Post by: Orstio on November 24, 2004, 07:10:59 AM
I will probably wait for SMF 1.0. 
Title: Re: Mambo Open Source
Post by: clicker on November 24, 2004, 07:20:32 AM
Quote from: Orstio on November 24, 2004, 07:10:59 AM
I will probably wait for SMF 1.0.

I will be looking forward to it then ... and version 3 of the bridge as well  ;)

Thanks
Title: Re: Mambo Open Source
Post by: clicker on November 27, 2004, 07:42:26 AM
First I would like to report that is working with SMF Preview as well. I was being careless with the code in the mambo template  :o

Is there a way to transfer SMF user to MOS? On our site we used phpBB which we will convert to SMF. Users so far  did not register at all in MOS.

Is it necessary to transfer all users in MOS for the bridge to function properly?

I have seen a script that transfers MOS to SMF but is there a way to go th eopposite way?
Title: Re: Mambo Open Source
Post by: Orstio on November 27, 2004, 03:45:59 PM
QuoteFirst I would like to report that is working with SMF Preview as well. I was being careless with the code in the mambo template 

Cool.  That's good to know.

QuoteIs there a way to transfer SMF user to MOS? On our site we used phpBB which we will convert to SMF. Users so far  did not register at all in MOS.

As users login via the integrated login, the module will check to see if the user exists in SMF, and if so, creates that user in Mambo as well.  There is no other way to do it from SMF to Mambo.
Title: Re: Mambo Open Source
Post by: SVT242 on December 02, 2004, 03:36:05 PM
ttt  :)
Title: Re: Mambo Open Source
Post by: Goosemoose on December 03, 2004, 01:30:53 AM
How does all this affect mods, and what do we need to do to fix them? I installed the bridge but it broke a few of the mods that I wrote like Integated Chat, I'm trying to figure out how to fix it now.

Thanks
Title: Re: Mambo Open Source
Post by: Orstio on December 03, 2004, 06:19:07 AM
Quote from: goosemoose on December 03, 2004, 01:30:53 AM
How does all this affect mods, and what do we need to do to fix them? I installed the bridge but it broke a few of the mods that I wrote like Integated Chat, I'm trying to figure out how to fix it now.

Thanks

Apply the same changes to smf.php that you made to SMF's index.php.
Title: Re: Mambo Open Source
Post by: wood_flower on December 04, 2004, 02:17:03 AM
Hello!

I have just installed the MOS-SMF BRIDGE. Everything is okay except the login feature. If i try to login thru the module MOS SMF Integrated login with a SMF user account, everything is ok. But if i try with a Mambo user account, it said that That username does not exist.

Anybody here, please help me to solve this problem. Many thanks for your support!
Title: Re: Mambo Open Source
Post by: Orstio on December 04, 2004, 03:16:38 AM
QuoteI have just installed the MOS-SMF BRIDGE. Everything is okay except the login feature. If i try to login thru the module MOS SMF Integrated login with a SMF user account, everything is ok. But if i try with a Mambo user account, it said that That username does not exist.

That would be because the username does not exist in SMF.

You can migrate your MOS users to SMF by using the mos2smf utility here:

http://mamboforge.net/frs/?group_id=543
Title: Re: Mambo Open Source
Post by: wood_flower on December 04, 2004, 05:02:38 AM
Quote from: Orstio on December 04, 2004, 03:16:38 AM
QuoteI have just installed the MOS-SMF BRIDGE. Everything is okay except the login feature. If i try to login thru the module MOS SMF Integrated login with a SMF user account, everything is ok. But if i try with a Mambo user account, it said that That username does not exist.

That would be because the username does not exist in SMF.

You can migrate your MOS users to SMF by using the mos2smf utility here:

http://mamboforge.net/frs/?group_id=543
Hello!

Does it mean that it will duplicate my user database, one for MOS and one for SMF? So, how the size of my MySQL will be in case i have near to 90.000 members?

Is there any way to share the user database of MOS with SMF?
Title: Re: Mambo Open Source
Post by: Orstio on December 04, 2004, 05:27:41 AM
QuoteIs there any way to share the user database of MOS with SMF?

No, it must be duplicated.
Title: Re: Mambo Open Source
Post by: repete on December 04, 2004, 02:01:53 PM
I had tested version 2.03 of the bridge and everything seemed to be working fine, I then removed that version and updated to 2.1 but all I get are these errors:

Warning: main(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/templates/rhuk_orange_smoothie/index.php on line 20

Warning: main(http://www.canmorecameraclub.comadministrator/components/com_smf/config.smf.php): failed to open stream: No such file or directory in /var/www/html/templates/rhuk_orange_smoothie/index.php on line 20

Fatal error: main(): Failed opening required 'http://www.canmorecameraclub.comadministrator/components/com_smf/config.smf.php' (include_path='.:/php/includes:/usr/share/php') in /var/www/html/templates/rhuk_orange_smoothie/index.php on line 20
Title: Re: Mambo Open Source
Post by: Orstio on December 04, 2004, 02:44:32 PM
http://www.simplemachines.org/community/index.php?topic=20952.0
Title: Re: Mambo Open Source
Post by: wood_flower on December 06, 2004, 12:55:01 PM
Hello!

My site (http://free-4-mobile.com)'s Hit Counter stop counting after installed Mambo - SMF Bridge. Please, advice. Thanks very much!
Title: Re: Mambo Open Source
Post by: ROGUE-Master on December 31, 2004, 12:56:47 PM
Hey, where do I download this mambo thing for SMF 1.0?
Title: Re: Mambo Open Source
Post by: Kindred on December 31, 2004, 07:00:37 PM
the Mambo CMS/Portal and the bridge components & modules can be downloaded from http://www.mamboforge.com
(for the SMF-bridge, search for SMF on the mambo forge site. The current version is 2.11 stable)