SMF

From SME Server
Jump to: navigation, search

Maintainer

Sylvain Gomez
mailto:sylvaingomez@free.fr

Description

Simple Machines Forum — SMF in short — is a free, professional grade software package that allows you to set up your own online community within minutes.

Its powerful custom made template engine puts you in full control of the lay-out of your message board and with our unique SSI - or Server Side Includes - function you can let your forum and your website interact with each other.

SMF is written in the popular language PHP and uses a MySQL database. It is designed to provide you with all the features you need from a bulletin board while having an absolute minimal impact on the resources of the server. SMF is the next generation of forum software - and best of all it is and will always remain completely free!

For more information see http://www.simplemachines.org/.

Installation and Uninstall

SME Server 7

For installation just hit the following command

yum install smeserver-smf --enablerepo=smecontribs


Warning.png Warning:
the uninstalling will remove all your mysql databases and your html directory (/opt/SMF) without backups, you have to do them manually before.

For uninstall just hit the following command

yum remove smeserver-smf

You can ignore the yum-comments signal event post-upgrade and signal-event reboot.

Koozali SME Server 9.1

https://wiki.contribs.org/SME9.0_Contribs_QA#smeserver-smf

yum --enablerepo=sme7contribs install smeserver-smf

The version installed by this contrib is very old. Consider updating before using.

Languages support

There are 6 languages supported by default: English, French, German, Italian, Spanish and Swedish.

The install will set the default language according to your SME language settings (English if not autodetected)

You can download other languages here. Please choose UTF-8 langpacks.

Untar the downloaded langpack in /opt/SMF/ (this should update the 'Themes' folder)

Then you need to set the rights of the files you added for security reasons. Copy/paste the following at the prompt:

cd /opt/SMF
find Themes -type d -exec chmod 555 {} \;
find Themes -type f -exec chmod 444 {} \;
chown -R root:root /opt/SMF/Themes/
chown root:www /opt/SMF/Themes/
chmod 775 /opt/SMF/Themes/

Use

To use SMF, start your favorite browser at http://yourdomain.com/forum.

The administration panel will be available once you're connected as an admin.


Warning.png Warning:
For security-reasons, change the admin password as soon as possible!

User: admin

Pass: admin



Changing the Forum Base URL

If your server is only reachable with the FQHN like sme.mydomain.com, the theme style sheets are not loaded and you will not be able to login. You must change the forum base URL as follows:

Edit /opt/SMF/Settings.php and set

$boardurl = 'http://sme.mydomain.com/forum';

The log into SMF as admin and browse to

"Configuration"->"Themes and Layout"->"Themes and Settings Tab"

Set "Forum URL" to "http://sme.mydomain.com/forum" and save.

Backup

Include the file '/opt/SMF/Settings.php' and the folder '/opt/SMF/attachments.php' into your backup. The MySQL Database is already included in SME standard backup. If you have created new themes you should them include into backup, too. The themes are stored in '/opt/SMF/Themes/'.

Additional information



Sylvain Gomez (Cool34000)