See [TinyIB Installations](https://gitlab.com/tslocum/tinyib/wikis/Home) for demos.
See [DEMOS.md](https://code.rocketnine.space/tslocum/tinyib/src/branch/master/DEMOS.md) for a list of sites running TinyIB.
## Features
@ -10,7 +19,7 @@ See [TinyIB Installations](https://gitlab.com/tslocum/tinyib/wikis/Home) for dem
**No database? No problem.** Store posts as text files for a portable set-up capable of running on virtually any PHP host.
**Not looking for an image board script?** TinyIB is able to allow new threads without requiring an image, or even disallow images entirely. See the [Text Board Mode](https://gitlab.com/tslocum/tinyib/wikis/Text-Board-Mode) wiki page for instructions.
**Not looking for an image board script?** TinyIB is able to allow new threads without requiring an image, or disallow images entirely.
- GIF, JPG, PNG, SWF, MP4 and WebM upload.
- YouTube, Vimeo and SoundCloud embedding.
@ -29,7 +38,7 @@ See [TinyIB Installations](https://gitlab.com/tslocum/tinyib/wikis/Home) for dem
- Ban offensive/abusive posters across all boards.
- Post using raw HTML.
- Upgrade automatically when installed via git. (Tested on Linux only)
4. Copy **settings.default.php** to **settings.php**
5. Configure **settings.php**
- When setting ``TINYIB_DBMODE`` to ``flatfile``, note that all post, report and ban data are exposed as the database is composed of standard text files. Access to ./inc/database/flatfile/ should be denied.
@ -111,12 +120,12 @@ support in mind.
1. Obtain the latest release.
- If you installed via Git, run the following command in TinyIB's directory:
- `git pull`
- Otherwise, [download](https://gitlab.com/tslocum/tinyib/-/archive/master/tinyib-master.zip) and extract a zipped archive.
- Otherwise, [download](https://code.rocketnine.space/tslocum/tinyib/archive/master.zip) and extract a zipped archive.
2. Note which files were modified.
- If **settings.default.php** was updated, migrate the changes to **settings.php**
- Take care to not change the value of `TINYIB_TRIPSEED`, as it is used to generate secure tripcodes, hash passwords and hash IP addresses.
- If other files were updated, and you have made changes yourself:
- Visit [GitLab](https://gitlab.com/tslocum/tinyib) and review the changes made in the update.
- Visit [code.rocketnine.space](https://code.rocketnine.space/tslocum/tinyib) and review the changes made in the update.
- Ensure the update does not interfere with your changes.
## Migrate
@ -140,8 +149,8 @@ While the migration is in progress, visitors will not be able to create or delet
## Support
1. Ensure you are running the latest version of TinyIB.
2. Review the [open issues](https://gitlab.com/tslocum/tinyib/issues).
3. Open a [new issue](https://gitlab.com/tslocum/tinyib/issues/new).
2. Review the [open issues](https://code.rocketnine.space/tslocum/tinyib/issues).
3. Open a [new issue](https://code.rocketnine.space/tslocum/tinyib/issues/new).
## Translate
@ -149,9 +158,8 @@ Translation is handled [online](https://hosted.weblate.org/projects/tinyib/tinyi
## Contribute
**Note:** Please do not submit translations as pull requests. See above.
**Note:** Please do not submit translations as patches. See above.
1. Read the [GitLab Forking Workflow](https://docs.gitlab.com/ce/workflow/forking_workflow.html).
2. Fork TinyIB.
3. Commit code changes to your forked repository.
4. Submit a pull request describing your modifications.
1. Fork TinyIB using [git](https://git-scm.com/downloads).
2. Commit code changes to your forked repository.
3. Send your patches to trevor@rocketnine.space via [git send-email](https://git-send-email.io/).
<p><b>Note:</b> If TinyIB updates and you have made custom modifications, <ahref="https://gitlab.com/tslocum/tinyib/commits/master" target="_blank">review the changes</a> which have been merged into your installation.
<p><b>Note:</b> If TinyIB updates and you have made custom modifications, <ahref="https://code.rocketnine.space/tslocum/tinyib/commits/master" target="_blank">review the changes</a> which have been merged into your installation.
Ensure that your modifications do not interfere with any new/modified files.
See the <ahref="https://gitlab.com/tslocum/tinyib#readme">README</a> for more information.</p>';
See the <ahref="https://code.rocketnine.space/tslocum/tinyib/src/branch/master/README.md">README</a> for more information.<br><br>
<small>(<ahref="README.md"target="_blank">alternate link</a>)</small> for instructions.</p>';
} else {
$text .= '<p><b>TinyIB was not installed via Git.</b></p>
<p>If you installed TinyIB without Git, you must <ahref="https://gitlab.com/tslocum/tinyib">update manually</a>. If you did install with Git, ensure the script has read and write access to the <b>.git</b> folder.</p>';
<p>If you installed TinyIB without Git, you must <ahref="https://code.rocketnine.space/tslocum/tinyib">update manually</a>. If you did install with Git, ensure the script has read and write access to the <b>.git</b> folder.</p>';
}
} elseif (isset($_GET['dbmigrate'])) {
if (TINYIB_DBMIGRATE !== '' && TINYIB_DBMIGRATE !== false) {
@ -720,7 +721,7 @@ if (!isset($_GET['delete']) && !isset($_GET['manage']) && (isset($_POST['name'])
echo '<p><b>Database migration complete</b>. Set TINYIB_DBMODE to mysqli and TINYIB_DBMIGRATE to false, then click <b>Rebuild All</b> above and ensure everything looks the way it should.</p>';
} else {
$text .= '<p>Your original database will not be deleted. If the migration fails, disable the tool and your board will be unaffected. See the <ahref="https://gitlab.com/tslocum/tinyib#migrating" target="_blank">README</a><small>(<ahref="README.md"target="_blank">alternate link</a>)</small> for instructions.</a><br><br><ahref="?manage&dbmigrate&go"><b>Start the migration</b></a></p>';
$text .= '<p>Your original database will not be deleted. If the migration fails, disable the tool and your board will be unaffected. See the <ahref="https://code.rocketnine.space/tslocum/tinyib/src/branch/master/README.md" target="_blank">README</a><small>(<ahref="README.md"target="_blank">alternate link</a>)</small> for instructions.</a><br><br><ahref="?manage&dbmigrate&go"><b>Start the migration</b></a></p>';
}
} else {
fancyDie('Set TINYIB_DBMIGRATE to true in settings.php to use this feature.');