You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

109 lines
4.8 KiB

10 years ago
TinyIB - A Lightweight and Efficient [Image Board]( Script
13 years ago
10 years ago
**Got database? Get speed.** Use [MySQL]( or [SQLite]( for an efficient set-up able to handle high amounts of traffic.
10 years ago
**No database? No problem.** Store posts as text files for a portable set-up capable of running on virtually any PHP host.
To allow new threads without requiring an image, see the [Text Board Mode]( page.
For demos see the [TinyIB Installations]( page. [![ alpha]( "")](
11 years ago
- GIF, JPG, PNG, SWF and WebA/WebM upload.
- Reference links >>###
10 years ago
- Delete post via password.
- Management panel:
- Administrators and moderators use separate passwords.
- Moderators are only able to delete posts.
- Ban offensive/abusive posters across all boards.
- Post using raw HTML.
10 years ago
- Upgrade automatically when installed via git. (Tested on Linux only)
10 years ago
13 years ago
10 years ago
1. Verify the following requirements are met:
- [PHP]( 4 or higher is installed.
- [GD Image Processing Library]( is installed.
- This library is installed by default on most hosts.
2. CD to the directory you wish to install TinyIB.
3. Run the command:
13 years ago
- `git clone git:// ./`
10 years ago
4. Copy **settings.default.php** to **settings.php**
5. Configure **settings.php**
- To remove the play icon from .SWF/.WebM thumbnails, delete or rename **video_overlay.png**.
- To allow WebA/WebM upload:
- Ensure your web host is running Linux.
9 years ago
- Install [mediainfo]( and [ffmpegthumbnailer]( On Ubuntu, run ``sudo apt-get install mediainfo ffmpegthumbnailer``.
- Set ``TINYIB_WEBM`` to ``true``.
10 years ago
6. [CHMOD]( write permissions to these directories:
10 years ago
- ./ (the directory containing TinyIB)
11 years ago
- ./src/
- ./thumb/
- ./res/
- ./inc/flatfile/ (only if you use flat file for the database)
10 years ago
7. Navigate your browser to **imgboard.php** and the following will take place:
10 years ago
- The database structure will be created.
- Directories will be verified to be writable.
- The file index.html will be created containing the new image board.
13 years ago
1. If you are not logged in already, log in to the management panel by clicking **[Manage]**.
2. On the board, tick the checkbox next to the offending post.
3. Scroll to the bottom of the page.
4. Click **Delete** with the password field blank.
- From this page you are able to delete the post and/or ban the author.
13 years ago
9 years ago
1. Obtain the latest release.
- If you installed via Git, run the following command in TinyIB's directory:
- `git pull`
- Otherwise, [download]( and extract a zipped archive.
2. Note which files were modified.
- If **settings.default.php** was updated, migrate the changes to **settings.php**
10 years ago
- Take care to not change the value of **TINYIB_TRIPSEED**, as it would result in different secure tripcodes.
9 years ago
- If other files were updated, and you have made changes yourself:
10 years ago
- Visit [GitHub]( and review the changes made in the update.
- Ensure the update does not interfere with your changes.
13 years ago
TinyIB includes a database migration tool, which currently only supports migrating from flat file to MySQL. While the migration is in progress, visitors will not be able to create or delete posts.
1. Edit **settings.php**
- Ensure ``TINYIB_DBMODE`` is still set to ``flatfile``.
- Set ``TINYIB_DBMIGRATE`` to ``true``.
- Configure all MySQL-related settings.
2. Open the management panel.
3. Click **Migrate Database**
4. Click **Start the migration**
5. If the migration was successful:
- Edit **settings.php**
- Set ``TINYIB_DBMODE`` to ``mysqli``.
- Set ``TINYIB_DBMIGRATE`` to ``false``.
- Click **Rebuild All** and ensure the board still looks the way it should.
If there was a warning about AUTO_INCREMENT not being updated, you'll need to update it manually via a more privileged MySQL user. Run the following query for one or both of the tables, dependant of the warnings you were issued:
``ALTER TABLE (table name) AUTO_INCREMENT = (value to be set)``
11 years ago
13 years ago
10 years ago
1. Read the [GitHub Forking Guide](
2. Fork TinyIB.
3. Commit code changes to your forked repository.
4. Submit a pull request describing your modifications.