We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21804
    • 2 Posts
    Hello,

    I’ve recently discovered MODx and I’m amazed by how excellent it truly is (from my limited use of it so far I’m really enjoying it).  I’ve been searching for a "CMS" capable enough to allow me to manipulate it as I need for a large project I’ll be working on shortly...This seems the one!

    I’ve looked through a few threads on the Integration of SMF and MODx and I was wondering if anyone had attempted to do this in some form with vBulletin?

    I have a large community which is run on vBulletin, and I’ve been using vBadvanced CMS.  This mainly acts as a porter to pull info from the forum and display it as a CMS also allowing you to port vbulletin thread/post data into pages and such created via vBadvanced....Would this be possible with MODx? 

    A complete integration (login via MODx > vBulletin) is not really essential (I don’t intend to allow people to login to MODx at all, just the forum), as the content created and displayed via MODx would not really be manipulated by the public.

    I’d like to be able to create an article on the forum, have this added to MODx and then perhaps have a "Discuss This Article" option which would lead to forum thread....I’d also like to be able to create a block(s)/module(s) on MODx that would be able to display certain data from the forum...Latest Threads, Latest Members etc..The standard sort of stuff...Is this sort of thing easily possible with MODx?

    I’d appreciate some help with this.

    Thanks,

    T.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      It’s certainly possible; easily is another matter. It all depends on how comfortable you are with working in the databases. A snippet as the content of a MODx document could query your vBulletin database and get the content of a given post. MODx would then process the document with its snippet, generating a page with the content of the post.
        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
        • 21804
        • 2 Posts
        Thank you for the reply sottwell, its appreciated.

        Like many I have very limited knowledge on this sort of thing...I’m more of a design dude than a coder, but I’m more than willing to learn...Can you recommend any good documentation I could follow that is relevant to this so I can start to have a stab at it?

        I’ve read your own documentation for MODx...But of course its not specifically geared toward what I am looking to achieve (that I could find anyway).

        Thanks,

        T.
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          No, this would be a custom application, but if you want to really learn how to manipulate MODx (since it really is a framework system) and add modules and work with third-party application plugins, I would suggest starting with thouroughly learning to use PHP to talk to MySQL (or any other sql-based database system).

          Just as an example, I recently wrote a plugin (which intercepts the document parser and adds it own functionality) to maintain a simple page hit counter. It sets up a new table in the database, with the document ID field set to UNIQUE, then uses a query to insert the document ID and a count of 1 if the document isn’t listed yet, and merely adds 1 to the existing count if the document is already listed:

          INSERT INTO ".$table_prefix."page_hit_counter (page_id, page_count) VALUES ($modx->documentIdentifier, 1)
            ON DUPLICATE KEY UPDATE page_count=page_count+1


          If you can get around in the database, you can make MODx do absolutely anything you want.
            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