Mention
  • Home (current)
  • Help
    FAQ Privacy Contact
Quick menu
Night mode
Sign in
Register
Mention
Installation and Upgrades
How to MentionBB Install
5 months ago
TestUser
TestUser Administrator
TestUser
Quick menu
User profile
All posts
Administrator
5 months ago
Message Options
More
Copy short link
Share

  1. Requirements
  2. Requirements PHP Extensions
  3. If you are using Nginx server, the sample config file below will be helpful
  4. Install Via Zip
  5. Database config
  6. Disabled Developer Mode
  7. Framework
You have to do this manually as the Installer isn't ready yet.
  1. If you are on Docker: mentionbb-dockerized
  2. If you are on Plesk: mentionbb-plesk-setup

Requirements

  1. PHP 8.2+
  2. Composer
  3. Git (Optional)

Requirements PHP Extensions

  1. Mbstring
  2. Iconv
  3. Curl
  4. Zip
  5. GD (Optional)

If you are using Nginx server, the sample config file below will be helpful

This step is explained in detail in the Plesk installation
server {
listen 80;
server_name example.com;
root /var/www/public;

location / {
try_files $uri /index.php$is_args$args;
}

location ~ ^/index\.php(/|$) {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE, OPTIONS' always;
add_header 'Access-Control-Allow-Headers' 'Authorization,DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range' always;
add_header 'Access-Control-Max-Age' 1728000 always;
add_header 'Content-Type' 'text/plain; charset=utf-8' always;
add_header 'Content-Length' 0 always;
return 204;
}
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, DELETE, OPTIONS' always;
add_header 'Access-Control-Allow-Headers' 'Authorization,DNT,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range' always;
add_header 'Access-Control-Expose-Headers' 'Content-Length,Content-Range' always;

fastcgi_pass unix:/run/php/php8.3-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
fastcgi_param DOCUMENT_ROOT $realpath_root;
internal;
}
location ~ \.php$ {
return 404;
}
location = /favicon.ico {
log_not_found off;
access_log off;
}

include /var/www/.nginx.conf;

error_log /dev/stdout info;
access_log /var/log/nginx/project_access.log;
}

 
You need to edit the paths and server name!

Install Via Zip

 
Download the latest files and extract them from the Zip file.
After this step, we need to perform a composer update.
composer update

 
For Composer installation: https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos
If you have Windows on local: https://getcomposer.org/doc/00-intro.md#installation-windows
If you cannot install, download the ready vendor file then extract and move it to the <code>src</code> folder. Vendor.zip
After that, you need to set the database.
  1. Create an empty database and import the "db.sql" file located in the main directory.
The column you need to change is:
settings > site_url

Enter the full address of your site in this column.

Database config

php bin/console mention:install-db [--dbadapter DBADAPTER] [--user USER] [--password PASSWORD] [--dbname DBNAME] [--dbhost DBHOST]

*Excluding square brackets
OR Rename;
.env.example to .env

<code></code>Make your database settings in this file.
You should set the file according to the database driver(adapter) you want to run on your server. All instructions are in the file. By default, pdo_mysql is selected, and the PDO plugin must be installed to use it.
After that, your site will be up and running.
Default user:pass

TestUser:123456.,

Admin Panel for more settings.

Disabled Developer Mode

 
We recommend that you turn this setting off. Because with template changes, your files are backed up, but not when Dev Mode is on.
\App\App::$dev
public static $dev = [
'_devMode' => false,
];

Framework

 
Mention has been developed under an custom application framework called Par2. I have also used it in my previous projects, but this is a much improved version.
In general, Symfony Components are used.
This post TestUser edited by 4 months ago.

Like
Share
This post was sent from Windows device.
Sort by
New message
By likes
Old to new
0 Reply
There is nothing to display here.

Write a new message.

Discussion post
1 / 1
First post
Login
Mention
or

Dont have an account sign up now!

I forgot my password
Register
Mention
Verification code will be sent.

Choose your password as reliable, if you wish, you can turn on two-step verification after registration, so you can log in with the Google Authentication application.

or

If you have an account You can login now.

I forgot my password
Please enter a valid e-mail address.
This site uses cookies to personalize content, improve your experience and also for actions such as Registration and Login. By using our site you accept this: Our Privacy Policy.