Download the PHP package asatirsen/forum without Composer
On this page you can find all versions of the php package asatirsen/forum. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package forum
Anax module for questions, answers and comments
This module can be incorporated with the Anax framework to provide a forum for asking questions, answering questions and commenting.
To install
In your composer.json do:
composer require asatirsen/forum
Integrate the module
From the root of your Anax repo run:
Simply run:
bash vendor/asatirsenforum/.anax/scaffold/postprocess.d/100_forum.bash
Or manually:
Copy the configuration files
rsync -av --exclude navbar --exclude page.php vendor/asatirsen/forum/config ./
Copy the view
rsync -av vendor/asatirsen/forum/view ./
copy the src directory
rsync -av vendor/asatirsen/forum/src ./
copy the sql directory
rsync -av vendor/asatirsen/forum/sql ./
create databases
sqlite3 data/db.sqlite < sql/ddl/user_sqlite.sql
sqlite3 data/db.sqlite < sql/ddl/tag_question_sqlite.sql
sqlite3 data/db.sqlite < sql/ddl/question_sqlite.sql
sqlite3 data/db.sqlite < sql/ddl/answer_sqlite.sql
sqlite3 data/db.sqlite < sql/ddl/tag_sqlite.sql
sqlite3 data/db.sqlite < sql/ddl/comment_sqlite.sql
Update your navigation:
Add Forum to your navbar via config/navbar/header.php and via config/navbar/responsive.php
You will need to insert the following lines of code into the items-key in the above files.
[
"text" => "Forum",
"url" => "forum",
"title" => "Första sidan, börja här.",
],
[
"text" => "Logga in",
"url" => "user/login",
"title" => "Logga in.",
],
[
"text" => "Frågor",
"url" => "question",
"title" => "Frågor",
],
[
"text" => "Taggar",
"url" => "tag",
"title" => "Taggar",
],
[
"text" => "Om",
"url" => "about",
"title" => "Om denna webbplats.",
],
All versions of forum with dependencies
PHP Build Version
Package Version
Requires
anax/anax-ramverk1-me Version
^1.0.0
anax/htmlform Version ^2.0
anax/database-active-record Version ^2.0
anax/htmlform Version ^2.0
anax/database-active-record Version ^2.0
The package asatirsen/forum contains the following files
Loading the files please wait ....