Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Joomla Bridge Support => Topic started by: ilwoody on January 02, 2009, 08:18:07 AM

Title: SJSB new version...
Post by: ilwoody on January 02, 2009, 08:18:07 AM
Hi,

I hope its something I can share here without annoying the moderators ..  I just released a new alpha version (6 month later) of SJSB (Simple Joomla! 1.5.x / SMF 2.x bridge).

Its a very simple bridge, not aiming to be a complete integration solution like JFusion but still has its own use.

If you don't care too much about user sync and you just want to wrap SMF inside Joomla then it works pretty well.

It also comes with a proper MVC system so its easy to make Joomla! menu pointing to action of the forum (ie members, stats, login, logout, moderate .. ) a module to wrap the SSI functions in a way easy to customize their output (see the frontpage of the demo site; its just the SSI board news) and a "container module" to show different modules to different SMF users (ie admin, moderators, guest, logged) which is handy to have different menu.

Demo site:
http://www.youpokeme.com/sjsb/

Guide:
http://code.google.com/p/sjsb/wiki/Installation?tm=6

I decided to release a new version because I got asked a lot of time if the project was DEAD, no its not, its just sleeping most of the time :)
Title: Re: SJSB new version...
Post by: Orstio on January 04, 2009, 03:37:11 PM
Nice work.  I like that you tackled the headers and footers (I'm assuming you used the integrate_load_theme hook in 2.0 for that?) and the RSS links right away.  Those were some of the last things to get done in the Mambo bridge, I don't think they were even available at the time of release of the last Joomla bridge.

No hassles from the other side about licensing?

One thing you'll want to clean up yet:  The jumpto functionality returns a URL like this:

http://www.youpokeme.com/sjsb/index.php?option=com_smf&view=forum&Itemid=2?board=1.0

Which doesn't work so well with the question mark where there should be an ampersand.  Looking at the page output, it looks like this has been moved to a theme file.

EDIT:  You also have a typo in bridge.php.  THe function "entegrate_outgoing_email" should probably be named "integrate_outgoing_email". ;)
Title: Re: SJSB new version...
Post by: ilwoody on January 05, 2009, 09:16:53 PM
Quote from: Orstio on January 04, 2009, 03:37:11 PM
Nice work.  I like that you tackled the headers and footers (I'm assuming you used the integrate_load_theme hook in 2.0 for that?) and the RSS links right away.  Those were some of the last things to get done in the Mambo bridge, I don't think they were even available at the time of release of the last Joomla bridge.

thank you! Im following your way to bridge things, like an adept :)

The headers are just grabbed from the generated output, removed from there and sent as headers using joomla functions .. I didn't notice there was an ad hoc integration hook for that too .. the rss required a bit more work because I had to append joomla commands to the url to poin them to a "raw" view, and also because I was assuming that "integrate_fix_url" was always called for links without &amps; which was not true, expecially for RSS (they would never got validated by a css validator).

Quote
No hassles from the other side about licensing?

no one contacted me, but of course I may expect to be removed from the extensions directory the day they will clean up it from non GPL compatible licenses.

It was almost 6 months ago last time I tried to contact Joomla "copyright holders"  to grant me the permission to write a component using a non GPL compatible "framework" (aka SMF) ; I got a reply that was not possible because there were too many copyright holders to ask too .. and to be honest, I don't really care :P

Quote
One thing you'll want to clean up yet:  The jumpto functionality returns a URL like this:

http://www.youpokeme.com/sjsb/index.php?option=com_smf&view=forum&Itemid=2?board=1.0

Which doesn't work so well with the question mark where there should be an ampersand.  Looking at the page output, it looks like this has been moved to a theme file.

EDIT:  You also have a typo in bridge.php.  THe function "entegrate_outgoing_email" should probably be named "integrate_outgoing_email". ;)

arrg, didn't notice both of them .. thanks again !


Title: Re: SJSB new version...
Post by: Orstio on January 05, 2009, 09:37:54 PM
Just noticed one more:

var smf_scripturl = "/sjsb/index.php?option=com_smf&view=forum&Itemid=2";

Javascript can't contain HTML entities, so that actually needs to read like this:

var smf_scripturl = "/sjsb/index.php?option=com_smf&view=forum&Itemid=2";

It's a pain, but a lot of the ajax elements won't work unless it's fixed.

Are you also double-buffering to avoid the admin panel fall-out?
Title: Re: SJSB new version...
Post by: ilwoody on January 05, 2009, 10:49:31 PM
Quote from: Orstio on January 05, 2009, 09:37:54 PM
Just noticed one more:

var smf_scripturl = "/sjsb/index.php?option=com_smf&view=forum&Itemid=2";

Javascript can't contain HTML entities, so that actually needs to read like this:

var smf_scripturl = "/sjsb/index.php?option=com_smf&view=forum&Itemid=2";

It's a pain, but a lot of the ajax elements won't work unless it's fixed.

nice spot, I also have a bad keepalive url action which seems to work because it gets cleaned by smf itself .. but I really need to put more attention at how I rewrite the URLs (btw .. integrate_fix_url are not called for those link, are them ?) I had a bug opened about ajax .. at least now I know where to look at

Quote
Are you also double-buffering to avoid the admin panel fall-out?

mine is a "try and catch" approach using exceptions, this way the admin panel works fine (also the live informations are) .. I don't know what  a double buffering technique would be in this context, could you explain it to me please ?
Title: Re: SJSB new version...
Post by: Orstio on January 05, 2009, 11:41:23 PM
If you check the Mambo bridge, you'll notice that not one, but two output buffers are started, one embedded in the other.

This is because some pages will kick the output to the buffer and flush before you're done.  In this case, the second buffer catches the flush, and you treat it just like the first buffer.
Title: Re: SJSB new version...
Post by: ilwoody on January 28, 2009, 01:35:27 AM
Just released a new version which comes with dual login from both Joomla! and SMF. You can test a live installation with demo accounts here

http://www.youpokeme.com/sjsb/index.php?option=com_smf&view=forum&Itemid=2

thanks for your time
Title: Re: SJSB new version...
Post by: Hj Ahmad Rasyid Hj Ismail on February 03, 2009, 11:47:24 AM
It's great man. You've done it. Congrats bro.
Title: Re: SJSB new version...
Post by: FidelGonzales on February 03, 2009, 04:05:03 PM
Quote
No hassles from the other side about licensing?
Quote from: ilwoody on January 05, 2009, 10:49:31 PM
no one contacted me, but of course I may expect to be removed from the extensions directory the day they will clean up it from non GPL compatible licenses.

It was almost 6 months ago last time I tried to contact Joomla "copyright holders"  to grant me the permission to write a component using a non GPL compatible "framework" (aka SMF) ; I got a reply that was not possible because there were too many copyright holders to ask too .. and to be honest, I don't really care :P
Ilwoody: SJSB is the best Joomla forum bridge on the market. SMF 2.0 is certainly the best forum. Thank you for the outstanding work.

And, thanks for the insight on your experience with the Joomla GPL issue. I happen to agree with what seems to be your attitude and am not surprised by the response you received.
Title: Re: SJSB new version...
Post by: FidelGonzales on February 03, 2009, 04:09:34 PM
By the way, what qualifies as an SJSB Charter Member?

http://code.google.com/p/sjsb/
QuoteSince SMF 2.0 rc1 has been released (Charter Members only atm) there is no point to wait more to start working on SJSB seriously. Let's if we can get our beta ready for their final :-)
Title: Re: SJSB new version...
Post by: blouogies20 on February 05, 2009, 06:58:44 AM
Okay guys I'm totally confused....

You said earlier that the bridge is past tense.  So what do you say about SJSB can we use it in joomla?  Is it legal?
Title: Re: SJSB new version...
Post by: FidelGonzales on February 05, 2009, 01:18:03 PM
Quote from: blouogies20 on February 05, 2009, 06:58:44 AM
Okay guys I'm totally confused.... You said earlier that the bridge is past tense.  So what do you say about SJSB can we use it in joomla?  Is it legal?

This bridge is present tense, as in functioning and improving under continual development for Joomla 1.5. You may be referring to older Joomla 1.0 bridges, which were supposedly affected by the changes to and interpretations of Joomla licensing.

Quoteno one contacted me, but of course I may expect to be removed from the extensions directory the day they will clean up it from non GPL compatible licenses. It was almost 6 months ago last time I tried to contact Joomla "copyright holders"  to grant me the permission to write a component using a non GPL compatible "framework" (aka SMF) ; I got a reply that was not possible because there were too many copyright holders to ask too .. and to be honest, I don't really care

These seems to illustrate the ineptitude and overall confusion surrounding Joomla licensing.
Title: Re: SJSB new version...
Post by: cbpm on February 06, 2009, 02:15:24 PM
SJSB now is the ONLY working bridge for joomla 1.5 and smf 2.0 . Need also many improvements, but the SSI modules for joomla are so fantastic, the code clean and fast,  and the support is growing up.  (there are many challenges to fight)

If someone more can join this project, the results will be fantastic.

Thanks!

Keep the nice work!!!
Title: Re: SJSB new version...
Post by: dextrous on April 08, 2009, 05:21:20 AM
Cool, will try this out. Anything on SMF 2.0 and Joomla 1.0 series?
Title: Re: SJSB new version...
Post by: CapadY on May 04, 2009, 04:34:21 PM
Maybe this topic is the right place to get my problem solved too :)

I am running Joomla 1.5.10 bridged via SJSB-bridge with SMF2RC1

The Forum is wrapped.

When I click a link on the forum there is (i.e.) the next link:

http://www.midlife-info.nl/SMF/index.php?topic=252.0

When I try to reach the same link via the latest post Mod in Joomla there is (i.e.) the next link:

Quote
http://www.midlife-info.nl/index.php?option=com_smf&Itemid=86&topic=252.msg5912;
topicseen#new

The first link will show the forum properly, the second link makes rubish from the forum page.
I suppose it's because of the com_smf option.
How can I solve this ? I don't have problems with code editting but how and where ?

Thanks in advance,

John
Title: Re: SJSB new version...
Post by: FidelGonzales on May 04, 2009, 06:11:51 PM
I'm not completely clear what you're asking, but you're running the forum through the Joomla wrapper component and not through the SJSB SMF / Joomla bridge component.

Anyhow, for your forum pages, I'd recommend removing the left column link menu, so your forum members can easily navigate your page. This seems to be the partial reason why your page appears as it does when viewed through the SJSB forum component. The other is conflicting CSS. I can give you my CSS modifications, since I use the same template, if you'd like, but my CSS is slightly different than the look you have.
Title: Re: SJSB new version...
Post by: Kindred on May 04, 2009, 09:59:58 PM
"makes rubbish from the forum page" is not at all descriptive or useful.

However, it looks like a conflict between layouts and CSS.   I'd suggest trying with the default smf template.
Title: Re: SJSB new version...
Post by: CapadY on May 05, 2009, 03:36:14 AM
Quote from: Kindred on May 04, 2009, 09:59:58 PM
"makes rubbish from the forum page" is not at all descriptive or useful.

The site-link is in my message so you can have a look at it yourself :)

But it keep a strange situation the layout and css are working properly fromout the forum and don't work from the outside.
I'll have a look at it.
Title: Re: SJSB new version...
Post by: Kindred on May 05, 2009, 07:39:55 AM
no...   not "from outside".

The forum works fine stand-alone.
The forum layout looks "squished" when wrapped.


Title: Re: SJSB new version...
Post by: FidelGonzales on May 05, 2009, 01:22:27 PM
Here are some descriptions of the various options you are running your forum as. I have included some clarifications as well as some suggestions. We are more than willing to help, but please take the time to be more descriptive in describing the issues and reading our answers. Thanks.=




SMF
- Looks good and functions properly. Once you get the SMF and Joomla working through the SJSB bridge, you ought to remove direct access via a mod/hack available on the SJSB Google support page.
http://www.midlife-info.nl/SMF/index.php?topic=252.0 (http://www.midlife-info.nl/SMF/index.php?topic=252.0)

SMF INSIDE JOOMLA WRAPPER COMPONENT - This is not a good way of running your forum, as it does not do well for functionality, including search engine optimization. You ought to remove this link, which is located in the left column menu module.
http://www.midlife-info.nl/index.php?option=com_wrapper&view=wrapper&Itemid=86 (http://www.midlife-info.nl/index.php?option=com_wrapper&view=wrapper&Itemid=86)

SJSB JOOMLA / SMF BRIDGE COMPONENT - Unpublish left column menu module on SJSB forum. This is causing some of the problems with your forum not displaying correctly. As was referenced recommend previously by Kindred and myself, I recommend reverting to the original files of the template you are using. Even better, I will give you the template I have, which is the original template template by Crip. I have modified it to function with SMF, and it works pretty well.
http://www.midlife-info.nl/index.php?option=com_smf&Itemid=86&topic=252.msg5912; (http://www.midlife-info.nl/index.php?option=com_smf&Itemid=86&topic=252.msg5912;)
Title: Re: SJSB new version...
Post by: Kyzer on June 27, 2009, 01:10:10 PM
This is kinda silly, but my StopZILLA , which is my spyware protector wont let me visit the site to download the package, says attack prevented, could you just upload the Package as a attachment here?
Title: Re: SJSB new version...
Post by: Greg100 on August 29, 2009, 04:16:28 AM
Hi!

I installed this bridge, but I am hungarian and I have a problem with ő and ű letters. Just a ? appears instead of ő and ű.
What can I do with this problem?
Thank you for all replies.
Title: Re: SJSB new version...
Post by: CapadY on August 29, 2009, 05:50:58 PM
Did you allready try to use the UTF8 character set ?

Is the character set you've set in the admin panel the same as used in your database ?
Title: Re: SJSB new version...
Post by: Greg100 on August 30, 2009, 11:05:24 AM
OK, I ticked the UTF8 character set in smf and it is good now  :).
Thank you very much  ;).
Title: Re: SJSB new version...
Post by: Aravot on September 11, 2009, 04:34:26 PM
How to redirect on the fly the SMF login and registration action to the Joomla mod_user login action?
Title: Re: SJSB new version... what about USERS?
Post by: SRKNAIR on December 13, 2009, 09:31:54 PM
Is smf/joomla member synchronisation possible?
Title: Re: SJSB new version...
Post by: Anarchy on February 12, 2010, 04:56:41 AM
I am glad you finally released it to public but I cant see the website now is it down ?
Title: Re: SJSB new version...
Post by: Aravot on February 12, 2010, 12:20:32 PM
Quote from: Anarchy on February 12, 2010, 04:56:41 AM
I am glad you finally released it to public but I cant see the website now is it down ?

I think the project is dead, but you can download the code from http://code.google.com/p/sjsb/

If you are looking for a forum for Joomla checkout ninjaboard v1.0 a native Joomla forum you have to be a member to download it http://ninjaforge.com
Title: Re: SJSB new version...
Post by: Anarchy on February 12, 2010, 05:25:45 PM
woaw howcome I came across to this old topic ... and resurrected it again ... I hope he continues to develop it and thanks for the link.

PS:I think ninjaboard cant be bompared to SMF ...
Title: Re: SJSB new version...
Post by: Aravot on February 12, 2010, 05:41:54 PM
Quote from: Anarchy on February 12, 2010, 05:25:45 PM
PS:I think ninjaboard cant be bompared to SMF ...

It can't but it will work fine on small site, FYI I am talking about ninjaboard v1.0 and not v0.5, ninjaboard v1.0 is in alpha stage and looks promising for small sites, sample images http://emberapp.com/webninja/collections/ninjaboard/ alpha release article http://nekkidninjas.com/index.php/2010/02/03/ninjaboard-public-alpha-released