forked from MioVisman/punbb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
80 lines (63 loc) · 5.1 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
==================
PunBB 1.4 Readme
==================
Thank you for downloading PunBB.
Quick install
---------------
1. Download the latest revision of PunBB from http://punbb.informer.com/. Decompress the PunBB archive to a directory.
2. Copy (or upload) all the files contained in this archive into the directory where you want to run your forums. (e.g. /home/user/www/punbb/)
3. Run install.php from the forum admin directory (e.g. open http://example.com/punbb/admin/install.php in your browser). Follow the instructions.
Requirements
--------------
- A webserver
- PHP 5.3.7+
- A database where forum data is to be stored, created in one of: MySQL 4.1.2 or later, PostgreSQL 7.0 or later or SQLite 2 or later
Upgrade from 1.2 or 1.3 pre release versions
----------------------------------------------
NOTE: Make a backup of your current forum directory before proceeding. Also, don't forget to make a backup of your forum database. Use the tool mysqldump for MySQL and pg_dump if you are using PostgreSQL. If you're using SQLite, just make a backup copy of the SQLite database file. You can also make database backups via most administration tools such as MySQL Administrator, phpMyAdmin and phpPgAdmin.
1. Download the latest revision of PunBB from http://punbb.informer.com/. Decompress the PunBB archive to a directory.
2. Replace your old 1.2 directory with the contents of the archive's version 1.4.
3. Run db_update.php from the forum admin directory (e.g. open http://example.com/punbb/admin/db_update.php in your browser). Follow the instructions.
Upgrade from 1.3
----------------------------------------------
NOTE: Make a backup of your current forum directory before proceeding. Also, don't forget to make a backup of your forum database. Use the tool mysqldump for MySQL and pg_dump if you are using PostgreSQL. If you're using SQLite, just make a backup copy of the SQLite database file. You can also make database backups via most administration tools such as MySQL Administrator, phpMyAdmin and phpPgAdmin.
1. Turn the Maintenance mode on (via admin panel).
2. Disable all extensions (via admin panel).
3. Overwrite old files with new ones.
4. After overwriting, verify that cache, img/avatars and extensions (for pun_repository) directories have enough write permissions (usually 777).
5. Clear cache directory.
6. Go to the forum index and run db_update.php script (this may take a long time).
7. Update all extentsions.
8. Turn on all updated extensions.
9. Turn the Maintenance mode off.
Extension installation
------------------------
1. Download an extension's archive from the PunBB extensions repository or any other place. Extract it into your forum’s extensions directory. (e.g. /home/user/example.com/punbb/extensions)
2. Log into the forum and go to "Administration" console, "Extensions" section, choose "Install extensions" tab (e.g. http://example.com/punbb/admin/extensions.php?section=install). The downloaded extension will be listed there.
3. Click the "Install extension" link to install the extension.
NOTE: You may use the pun_repository official PunBB extension to download and install extensions from PunBB repository with one click.
Maximizing Performance
------------------------
- Run it under a UNIX-like operating system!
- Use a proper webserver such as Apache or Zeus.
- Use a PHP cache/accelerator tool such as eAccelerator or Alternative PHP Cache.
- Make sure that PHP has zlib support so you can enable gzip output compression in "Administration", "Settings". This greatly reduces the size of the XHTML output at a little cost of CPU time. An alternative is to use the Apache modules mod_gzip or mod_deflate. The two methods yield similar results.
- Visit the administration interface and disable any forum features that are not used or you feel unnecessary.
Links
-------
- Documentation: http://punbb.informer.com/wiki/
- Internationalization: http://punbb.informer.com/wiki/punbb13/language_packs
- Styles: http://punbb.informer.com/wiki/punbb13/syles
- Extensions repository: http://punbb.informer.com/extensions/
- Community Forums: http://punbb.informer.com/forums/
- Twitter: https://twitter.com/punbb_forum
- Development: https://github.com/punbb/punbb
- Reporting PunBB core SECURITY bugs (only!): http://punbb.informer.com/bugreport.php
Copyright and disclaimer
--------------------------
This package and its contents are (C) 2002-2012 PunBB, all rights reserved.
Partially based on code (C) 2008-2009 FluxBB.org.
PunBB is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
PunBB is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
Good luck.