We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32963
    • 1,732 Posts
    Indeed xWisdom

    Great news! There are converters for converting from other forums such as phpBB to SMF!

    See:

    http://www.simplemachines.org/download.php?converters
      xWisdom
      www.xwisdomhtml.com
      The fear of the Lord is the beginning of wisdom:
      MODx Co-Founder - Create and do more with less.
      • 14267
      • 113 Posts
      SMF indeed looks very cool, particularly the SSI interface which would ease a lot of integration issues.

      I would like to integrate an online journal or magazine, forum and multi-user blog. There is some discussion on the SMF forum about how SMF could be used for a blog, particularly with SSI. So I'm thinking that between ModX and SMF, we might be able to put together a powerful solution and only have to match two user permission schemes.

      I'll be putting in some time on this over the next few days and post the results. If anyone else is working on SMF integration or would like to help, please let me know. I'm not at all a full-time coder, so can't work that quickly.
        • 14267
        • 113 Posts
        Hmm, activity on this board has slowed down considerably since it's inception not long ago. Here's an attempt to stir something up.

        SMI is indeed impressive. At this point I'm looking at the possibility that a tight ModX/SMF integration could be quite a system. It took me a few hours to figure out that SSI.php, a collection of functions built for interfacing with SMF, needs to be included outside of a class. So I included it in index.php. You can then call the functions from a snippet, or easier still, use SniperX's solution to directly including PHP, posted on the Etomite forum (below). The problem of course with this setup is that it includes all the SMF files with every page load, whether or not they are needed. I'd welcome ideas on another way to handle this one.

        SniperX's solution: http://www.etomite.org/forums/index.php?showtopic=2475&hl=include

        Using the ssi_boardnews function I've set up a basic blog, using a ModX page for the blog itself, with comments/discussion handled by SMF. Still some stuff to work on, including user management and integrating templates. I'm mailny hoping this post will get some other people testing this out as well.
          • 34162
          • 1 Posts
          I'm assuming you wrote either a snippet or have a chunk of PHP code embedded in your page where SMF is shown.

          Personally, that is the same place I'd place the file includes for SMF. That way you are only loading their interface on the pages that actually use it, rather than every page load.
            • 14267
            • 113 Posts
            What I meant was it doesn't work to include it in a snippet. The SSI.php file includes other files in turn, and they don't work if you include it in a snippet--apparently because it's all happening inside the documentparser class. Unless I'm missing something, the only way to get it to work as is, without recoding to get variable scope across multiple include files, is to indude SSI.php outside of the class, in other words, in index.php. Put it there and it works just fine.

            This to me is the main shortcoming of Etomite/ModX, as much as I do like it. It is difficult to integrate other tools that get more complicated than snippets.
            Maybe it's no more difficult than anything else out there, I don't know, but if we're trying to create something new and different, I would submit this as a key area to look at.
            • Hm. The document management system I’ve worked on also has include files that include other files, and it works just fine. Is anybody else looking into this? If not, I’d like to put a little time into see what can be done. I’ll need to get the permission of the owners, and if somebody else is working on it I don’t want to bother.
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 28150
                • 155 Posts
                Any particular reason why we would decide on these forums versus any other?

                Personally, these forums seem overly cumbersome. While I totally understand the need or desire to stick with something totally GPL, these forums are just...well...more complicated than they need to be.

                Of course, looking into SimpleMachines it may also be the skin we are using here. Not very intuitive if you visit hundreds of different forum websioets per week...
                • No reason for me, but everybody seems to be happy with this one. Personally, I always liked phpBB. You have a preference?
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 4673
                    • 577 Posts
                    hmmmm, I don’t entirely remember the reason why but I’m going to quote from another site (actually the ezSQL site) ... "phpBB Forum was too hackable. Have had to close forums until we can find a more secure solution. Please try back in a month or so."

                    Actually, this board is slowly starting to grow on me smiley


                    @ progress
                    hehe, where are we?
                      Tangent-Warrior smiley
                    • Carsten, we’re making progress! wink

                      Hope to actually have more definitive info for you this week, though.,
                        Ryan Thrash, MODX Co-Founder
                        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me