Simple Machines Community Forum

Customizing SMF => Bridges and Integrations => Topic started by: sdsi on March 30, 2011, 04:16:39 AM

Title: Drupal 7 and SMF 2.x - any bridge?
Post by: sdsi on March 30, 2011, 04:16:39 AM
Hi,

Do you know any bridge module for Drupal 7 and SMF 2.x?

Please - let me know your opinion,

Thanks,
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: Kindred on March 30, 2011, 07:30:44 AM
Not at this time
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: sdsi on March 30, 2011, 08:09:59 AM
Thanks.

Maybe it is easy to modify old "smfforum" bridge files - http://drupal.org/project/smfforum

What do you think about it?
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: Kindred on March 30, 2011, 09:14:22 AM
Since that is not an official bridge (form SMF's point of view) I have not even looked at it
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: Arantor on March 30, 2011, 09:30:17 AM
That ultimately leads to http://vgb.org.ru/download to get the package...

But perhaps you should, it's in violation of the licence. (On multiple counts, specifically that it's redistributing a modified form of the SMF API file which wasn't BSD until sometime after 1.1.6 - the file lists itself as 1.1.4 and does not include any mention of the BSD licence; they're distributing the SMF licence document with it; the subs file mentioned has a decent chunk of $smcFunc included in it which looks at first glance as if it's a literal copy/paste job from 2.0's Load.php where it declares the string functions)
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: Kindred on March 30, 2011, 10:11:31 AM
Well, the author of that bridge has specific permission to use/distribute the modified API file (he requested it and was granted because the API was always supposed to be BSD)


not sure about the inclusion of SMF code though....
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: Arantor on March 30, 2011, 10:19:29 AM
QuoteWell, the author of that bridge has specific permission to use/distribute the modified API file (he requested it and was granted because the API was always supposed to be BSD)

Then the file should actually indicate that to be the case. Right now it states the file is under the SMF licence, and should have the BSD headers as the master one does.

Quotenot sure about the inclusion of SMF code though....

Take a look at the subs file. It's not *masses* of SMF code that's been duplicated, but it looks like it's been directly copied (though indentation might be fixed up), and it is a non trivial part of SMF (since it is the string functions in $smcFunc) - I'd argue that enough has been copied that it's questionable.
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: sdsi on March 30, 2011, 11:07:15 AM
So - there is not hope to prepare the mod like this; isn't it? :(

SMF is very popular script and Drupal CMS is very popular script, hmm...
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: Kindred on March 30, 2011, 11:09:34 AM
personally, I can't stand drupal...   their content is marked up and buried within 6-10 levels of div.

However, it is moderately popular and there will, eventually, be an official bridge for it. Just not "real soon"
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: sdsi on March 30, 2011, 11:48:53 AM
Quote from: Kindred on March 30, 2011, 11:09:34 AM
However, it is moderately popular and there will, eventually, be an official bridge for it. Just not "real soon"

this year? :) please... I can donate it
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: Kindred on March 30, 2011, 11:59:59 AM
it's not a matter of donations...   it's a matter of taking one (or more) of the developers off of the core product and putting them on bridges.

I'd rather have them chunking out 2.0 final...
Additionally, since this is a volunteer project, that dev would have to WANT to do the bridge(s)
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: sdsi on March 30, 2011, 12:20:12 PM
I think it is work for only short time for profesional dev to prepare "bridge mod" like this.

But - ok. I understand.

Good luck and thanks for your time :)

Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: tempster on June 14, 2011, 01:15:21 PM
I'm looking forward to an official drupal bridge from SMF.  I would point out that Drupal Commons and the Acquia Drupal distributions are still using Drupal 6.  There is also "word" that the forum feature in Drupal Commons (called organic forums) is now officially listed as abandoned, meaning that SMF could potentially have an opportunity to tap into the drupal customer base with a Drupal Bridge.  The best Drupal can currently do with forums is with a module called Advanced Forum.

See an install of Drupal Commons at http://commons.acquia.com
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: ms_ukyankee on June 14, 2011, 02:02:17 PM
Likewise, I'm running Drupal with SMF 1.x on two big board sites, I can't make any major upgrades with the existing Drupal module's limited support/updates/bugfixes. 347 sites report using this module, plus x? unreported. I rolled my own D6 module to map the Drupal roles and SMF membergroups.
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: iGhost on June 21, 2011, 06:48:13 AM
I'll add my voice here - Another website owner stuck with Drupal 6 and a somewhat limited bridge which doesn't look like it's going to be updated very soon.

SMF is far superior to Drupal's integrated forum engine. Given the lack of bridges for D7, I'd expect such a bridge with SMF 2.0 to actually be quite popular. Especially now that final is out.

Well, that's my two cents.
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: tempster on July 02, 2011, 09:12:36 PM
in anticipation of an official bridge, where would be a good place to install smf now, in relation to the drupal installation?  For example, should smf be somewhere under Drupal's "sites" directory?
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: stefann on November 15, 2011, 05:46:40 AM
Kindred, is there any update on when a SMF 2 to Drupal 7 bridge may be available?


I'm another person that requires Drupal syncronisation to access out CRM (www.civicrm.org) so have little choice about an alternative for our charity :(


Unfortunately with other projects, I do not have the time nor Drupal experience to attempt this myself
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: becometa on April 28, 2012, 07:16:34 AM
Quote from: stefann on November 15, 2011, 05:46:40 AM
Kindred, is there any update on when a SMF 2 to Drupal 7 bridge may be available?


I'm another person that requires Drupal syncronisation to access out CRM (www.civicrm.org) so have little choice about an alternative for our charity :(


Unfortunately with other projects, I do not have the time nor Drupal experience to attempt this myself

refresh. I'm getting desperate..  I would not switch from smf to phpbb(phpbb has unofficial drupal bridge), but if anything on this issue will not change, I will be forced to do so..
SMF's is a great forum software, version 2.0.2 was released more than 5 months ago and there's so progress about this? Dern!
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: Kindred on April 28, 2012, 07:35:38 AM
well, it seems that none of our current developers are really interested in it....   

If you really are interested, remember, SMF is now BSD licensed. You can find any developer out there who is interested and have them make the bridge yourself.... especially with all of the hooks in 2.0.x and the API developed by Andre.
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: stefann on April 28, 2012, 08:36:43 AM
As linked earlier, and although it's not an official bridge, this largely does what it says on the can http://drupal.org/project/smfforum (http://drupal.org/project/smfforum) but is unmaintained and does not publish anything about SMF 2.0 and Drupal 7

However, I've somehow found a 7.x-1.x-dev version which seems to have disappeared from that page, the link http://drupal.org/files/smfforum.zip (http://drupal.org/files/smfforum.zip) still works, and I've tested on SMF 2.0.2 and Drupal 7.12

As the community I need this for has fairly specific needs, I'm actually still going to rewrite a simple hack for this, so am happy to provide some skeleton code under a less restrictive license, if there's someone that wants to turn this in to a proper bridge to Drupal 7 and/or CiviCRM 4
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: Kindred on April 28, 2012, 09:11:05 AM
Do note....   the API for SMF2 done by Andre is in MUCH better shape than the one used in that package.

Also, That package appears to be GPL (ICK!)
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: becometa on April 28, 2012, 09:55:53 AM
That's weird that they're not interested on it.
Developers have even built a bridge for iGamingCMS(dafuq is that) and now, they indulge drupal in oblivion?

stefann, i've tested this version twice, and it's a bit buggy.
Avatars synchronization does not seem to work, session sharing also works a bit weirdly, and it's based on a RC4 custom made api.
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: gebekzor on May 07, 2012, 02:15:42 PM
bump
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: becometa on May 07, 2012, 02:28:54 PM
just out of curiosity,
does this (http://custom.simplemachines.org/bridge_request.php) changes anything? - seems to be forgotten
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: XerraX on May 07, 2012, 02:54:33 PM
0% Complete on all tasks...
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: Kindred on May 07, 2012, 02:55:12 PM
Quote from: Kindred on March 30, 2011, 11:59:59 AM
since this is a volunteer project, that dev would have to WANT to do the bridge(s)

as far as I know, SMF does not currently have any developers working on bridges....   if you know of or can find someone who is willing to program the bridge, it would be welcomed and could be placed on SMF's site for download.
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: CloneVince on October 09, 2012, 07:47:48 AM
Hello Everybody,

I'm very interested by a bridge between Drupal and SMF.

I've alrealdy developed lots of modules for Drupal, and if the team of SMF is agree, I'm willing to program the bridge.

If someone can give the way :)
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: Kindred on October 09, 2012, 08:41:56 AM
feel free to work on it.

I suggest that you start by reading the sticky posts in this board...  the SMF API done by Andre would probably be a good place (specifically for drupal->smf). You would probably also want to look at the integration arrays to handle the connection from smf->drupal.
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: CloneVince on October 12, 2012, 05:24:24 AM
Thx for your answer.

I will start on it next Monday :)
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: GravuTrad on October 21, 2012, 06:41:08 PM
Any news about this?
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: Frank496 on October 22, 2012, 12:04:55 AM
So - there is not hope to prepare the mod like this; isn't it?
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: CloneVince on October 22, 2012, 03:40:01 AM
I'm working on it.

But not this week, i have a family emergency
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: markkuj on November 09, 2012, 05:22:42 AM
Quote from: CloneVince on October 22, 2012, 03:40:01 AM
I'm working on it.
Thank you! Looking forward to the bridge. Please keep it simple.
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: GravuTrad on November 20, 2012, 08:34:36 PM
Quote from: Kindred on April 28, 2012, 09:11:05 AM
Do note....   the API for SMF2 done by Andre is in MUCH better shape than the one used in that package.

Also, That package appears to be GPL (ICK!)

And don't forget this for your work CloneVince. ;)

nb: Is it you here?: https://twitter.com/CloneVince
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: ericinwisconsin on December 04, 2012, 02:34:14 PM
I'm not sure if anyone has looked at this one:

https://sites.google.com/site/edselssite/drupal

I'm about to set it up on a test site and run it. See how it does. Looking forward to what CloneVince has in mind, too. (Hope all is well with the family, CV.)

Finally, an SMF bridge for Drupal 7! Just in time for the immanent release of Drupal 8. :D
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: ms_ukyankee on December 09, 2012, 06:26:25 PM
Quote from: ericinwisconsin on December 04, 2012, 02:34:14 PM
I'm not sure if anyone has looked at this one:

https://sites.google.com/site/edselssite/drupal

I'm about to set it up on a test site and run it. See how it does. Looking forward to what CloneVince has in mind, too. (Hope all is well with the family, CV.)

Finally, an SMF bridge for Drupal 7! Just in time for the immanent release of Drupal 8. :D


How did it work out? This week I'm upgrading a big board SMF 1.0 to SMF 2 with D5 up to D6 and hopefully D7 if possible. Thank you for that link, if I had seen it earlier I would have tested it already.
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: ms_ukyankee on December 10, 2012, 06:15:10 PM
The edselssite module is working for me so far with SMF as master. I had to modify one line in smfforum.module to replace a D6 function that is not in D7.

Line 1587:

$drupal_files_path = file_directory_path();


Change to:

$drupal_files_path = variable_get('file_' . file_default_scheme() . '_path', conf_path() . '/files');


Edited to add: This mod is really buggy and needs a lot of work.
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: GB_Techie on December 23, 2012, 09:30:23 AM
Another potentially interested party here as well, but also check out:  http://www.simplemachines.org/community/index.php?topic=493343.0 in case you can think of an alternative.
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: JonM on March 03, 2013, 10:00:47 AM
Has anything come of this?  Looking to move a Drupal 6 site to 7 and bridge to our SMF installation.
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: ms_ukyankee on March 03, 2013, 11:57:45 AM
Quote from: JonM on March 03, 2013, 10:00:47 AM
Has anything come of this?  Looking to move a Drupal 6 site to 7 and bridge to our SMF installation.

As far as I'm aware nothing has changed. I'm going to have a go at a rewrite myself in a couple of weeks, I need it working properly for two sites.
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: JonM on March 03, 2013, 12:05:49 PM
How is it after all these years there is no official SMF <-> Drupal bridge?  Thanks for the effort, I appreciate it.
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: way2insane on June 29, 2013, 06:31:55 PM
Just another interested party pestering overly worked/noninterested hobby programmers on the issue
I say hobbyist because you work in your free time for free on smf.
Title: Re: Drupal 7 and SMF 2.x - any bridge?
Post by: Nikit on August 01, 2014, 09:25:43 AM
Hi2all!

I have developed module: drupal.org/project/smf2p
This post Drupal nodes to SMF2.