GithubHelp home page GithubHelp logo

garryn / discuss Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blackorel/discuss

1.0 2.0 0.0 2.65 MB

A native forum solution for MODx Revolution.

Home Page: http://bugs.modx.com/projects/Discuss/

discuss's Introduction

Discuss

A native, threaded forum solution for MODx Revolution.

This is an alpha prerelease. Therefore, things might break. But have fun. :)

Feel free to suggest ideas/improvements/bugs.

Installation

Clone the Git repo in a directory outside of MODx.

That'll let you develop and run it straight from your Git repo. Next, build it by copying the _build/build.config.sample.php to build.config.php, filling it out and running _build/build.transport.php. This will create a transport zip file.

Go to Package Management, click 'Add New Package', and select 'Scan from Local'. This will load the local package you just built. Install it, which will setup the tables, Resources and other stuff.

Then add these system settings:

  • discuss.core_path - point to path/of/yourdiscussrepo/core/components/discuss/
  • discuss.assets_path - point to path/of/yourdiscussrepo/assets/components/discuss/
  • discuss.assets_url - point to the web path to /url/of/yourdiscussrepo/assets/components/discuss/

If you're wanting to modify the Snippets, simply replace the Discuss Snippet calls in the Resources with [[!include]] calls, such as this for the DiscussThread snippet:

[[!include? &file=`[[++discuss.core_path]]elements/snippets/snippet.discussthread.php`]]

Where the include snippet is just:

<?php $o = include $file; return $o; ?>

If you further want to work on the content within a Resource, simply replace the entire Resource with that snippet call, and set the System Setting 'discuss.debug' to 1.

And that's it!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.