forked from GithubBackups/tinyib
Add code.rocketnine.space migration notice
This commit is contained in:
parent
ecb8ace15d
commit
1459f5c7c3
52
DEMOS.md
Normal file
52
DEMOS.md
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
TinyIB Installations
|
||||||
|
====
|
||||||
|
|
||||||
|
* https://1chan.us
|
||||||
|
* http://not99chan.org
|
||||||
|
* https://www.1chan.net
|
||||||
|
* https://home.pilsfree.net/qwerty/sandbox/ib/
|
||||||
|
* https://agathachan.club/Agatha/
|
||||||
|
* https://board.ste.lol
|
||||||
|
* http://inch.esy.es/b/
|
||||||
|
* https://csscwebsite.azurewebsites.net/b/
|
||||||
|
* https://board.sw-club.ru
|
||||||
|
* https://polycancer.org
|
||||||
|
* http://club.meriner.ru
|
||||||
|
* https://lampach.net/r/
|
||||||
|
* http://www.loistolauta.org
|
||||||
|
* http://trumienka.eu5.net
|
||||||
|
* http://mchan.eu5.org
|
||||||
|
* https://megamindchan.org
|
||||||
|
* https://saracean.com/b/
|
||||||
|
* https://secretvipquality.website/img/
|
||||||
|
* https://chan.funshitposting.xyz
|
||||||
|
* http://spychan.freezonereader.net
|
||||||
|
* http://thedailyautist.com/board/
|
||||||
|
* https://vtchan.org
|
||||||
|
|
||||||
|
Want to add your installation? Please create a new issue asking that it be added.
|
||||||
|
|
||||||
|
***
|
||||||
|
|
||||||
|
[](https://code.rocketnine.space/tslocum/tinyib/raw/branch/master/rip.png)
|
||||||
|
|
||||||
|
* https://chan.romtypo.com
|
||||||
|
* http://5channel.net
|
||||||
|
* http://98chan.org
|
||||||
|
* http://lchan.ga
|
||||||
|
* http://chillchan.ga
|
||||||
|
* http://zerochan.us
|
||||||
|
* http://wertyo.com
|
||||||
|
* http://not4chan.ca
|
||||||
|
* http://eggchan.org
|
||||||
|
* http://degenb.com
|
||||||
|
* http://qabna.com
|
||||||
|
* http://negativeonechan.site88.net/home.html
|
||||||
|
* http://funchan.net
|
||||||
|
* http://grillchan.t28.net
|
||||||
|
* http://memersunite.org
|
||||||
|
* http://MMXchan.org
|
||||||
|
* http://ticklechan.biz
|
||||||
|
* https://chingchong.info
|
||||||
|
* https://4usa.com
|
||||||
|
* https://trashbxg.pw/chan/
|
34
README.md
34
README.md
@ -1,8 +1,17 @@
|
|||||||
|
!!! TinyIB has moved to [code.rocketnine.space](https://code.rocketnine.space/tslocum/tinyib) !!!
|
||||||
|
====
|
||||||
|
|
||||||
|
Please visit https://code.rocketnine.space/tslocum/tinyib
|
||||||
|
|
||||||
|
Site administrators: `git remote set-url origin https://code.rocketnine.space/tslocum/tinyib.git`
|
||||||
|
|
||||||
|
------------
|
||||||
|
|
||||||
# TinyIB - Lightweight and efficient [imageboard](https://en.wikipedia.org/wiki/Imageboard)
|
# TinyIB - Lightweight and efficient [imageboard](https://en.wikipedia.org/wiki/Imageboard)
|
||||||
[](https://hosted.weblate.org/projects/tinyib/tinyib/)
|
[](https://hosted.weblate.org/projects/tinyib/tinyib/)
|
||||||
[](https://liberapay.com/rocketnine.space)
|
[](https://liberapay.com/rocketnine.space)
|
||||||
|
|
||||||
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
|
## 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.
|
**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.
|
- GIF, JPG, PNG, SWF, MP4 and WebM upload.
|
||||||
- YouTube, Vimeo and SoundCloud embedding.
|
- 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.
|
- Ban offensive/abusive posters across all boards.
|
||||||
- Post using raw HTML.
|
- Post using raw HTML.
|
||||||
- Upgrade automatically when installed via git. (Tested on Linux only)
|
- Upgrade automatically when installed via git. (Tested on Linux only)
|
||||||
- [Translations](https://hosted.weblate.org/projects/tinyib/tinyib/):
|
- [Translations:](https://hosted.weblate.org/projects/tinyib/tinyib/)
|
||||||
- Chinese
|
- Chinese
|
||||||
- Dutch
|
- Dutch
|
||||||
- French
|
- French
|
||||||
@ -66,7 +75,7 @@ support in mind.
|
|||||||
- When `TINYIB_CAPTCHA` is set to `hcaptcha` or `recaptcha`.
|
- When `TINYIB_CAPTCHA` is set to `hcaptcha` or `recaptcha`.
|
||||||
2. CD to the directory you wish to install TinyIB.
|
2. CD to the directory you wish to install TinyIB.
|
||||||
3. Run the command:
|
3. Run the command:
|
||||||
- `git clone https://gitlab.com/tslocum/tinyib.git ./`
|
- `git clone https://code.rocketnine.space/tslocum/tinyib.git ./`
|
||||||
4. Copy **settings.default.php** to **settings.php**
|
4. Copy **settings.default.php** to **settings.php**
|
||||||
5. Configure **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.
|
- 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.
|
1. Obtain the latest release.
|
||||||
- If you installed via Git, run the following command in TinyIB's directory:
|
- If you installed via Git, run the following command in TinyIB's directory:
|
||||||
- `git pull`
|
- `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.
|
2. Note which files were modified.
|
||||||
- If **settings.default.php** was updated, migrate the changes to **settings.php**
|
- 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.
|
- 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:
|
- 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.
|
- Ensure the update does not interfere with your changes.
|
||||||
|
|
||||||
## Migrate
|
## Migrate
|
||||||
@ -140,8 +149,8 @@ While the migration is in progress, visitors will not be able to create or delet
|
|||||||
## Support
|
## Support
|
||||||
|
|
||||||
1. Ensure you are running the latest version of TinyIB.
|
1. Ensure you are running the latest version of TinyIB.
|
||||||
2. Review the [open issues](https://gitlab.com/tslocum/tinyib/issues).
|
2. Review the [open issues](https://code.rocketnine.space/tslocum/tinyib/issues).
|
||||||
3. Open a [new issue](https://gitlab.com/tslocum/tinyib/issues/new).
|
3. Open a [new issue](https://code.rocketnine.space/tslocum/tinyib/issues/new).
|
||||||
|
|
||||||
## Translate
|
## Translate
|
||||||
|
|
||||||
@ -149,9 +158,8 @@ Translation is handled [online](https://hosted.weblate.org/projects/tinyib/tinyi
|
|||||||
|
|
||||||
## Contribute
|
## 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).
|
1. Fork TinyIB using [git](https://git-scm.com/downloads).
|
||||||
2. Fork TinyIB.
|
2. Commit code changes to your forked repository.
|
||||||
3. Commit code changes to your forked repository.
|
3. Send your patches to trevor@rocketnine.space via [git send-email](https://git-send-email.io/).
|
||||||
4. Submit a pull request describing your modifications.
|
|
||||||
|
11
imgboard.php
11
imgboard.php
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
TinyIB
|
TinyIB
|
||||||
https://gitlab.com/tslocum/tinyib
|
https://code.rocketnine.space/tslocum/tinyib
|
||||||
|
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
@ -681,12 +681,13 @@ if (!isset($_GET['delete']) && !isset($_GET['manage']) && (isset($_POST['name'])
|
|||||||
$text .= '<blockquote class="reply" style="padding: 7px;font-size: 1.25em;">
|
$text .= '<blockquote class="reply" style="padding: 7px;font-size: 1.25em;">
|
||||||
<pre style="margin: 0;padding: 0;">Attempting update...' . "\n\n" . $git_output . '</pre>
|
<pre style="margin: 0;padding: 0;">Attempting update...' . "\n\n" . $git_output . '</pre>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<p><b>Note:</b> If TinyIB updates and you have made custom modifications, <a href="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, <a href="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.
|
Ensure that your modifications do not interfere with any new/modified files.
|
||||||
See the <a href="https://gitlab.com/tslocum/tinyib#readme">README</a> for more information.</p>';
|
See the <a href="https://code.rocketnine.space/tslocum/tinyib/src/branch/master/README.md">README</a> for more information.<br><br>
|
||||||
|
<small>(<a href="README.md" target="_blank">alternate link</a>)</small> for instructions.</p>';
|
||||||
} else {
|
} else {
|
||||||
$text .= '<p><b>TinyIB was not installed via Git.</b></p>
|
$text .= '<p><b>TinyIB was not installed via Git.</b></p>
|
||||||
<p>If you installed TinyIB without Git, you must <a href="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 <a href="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'])) {
|
} elseif (isset($_GET['dbmigrate'])) {
|
||||||
if (TINYIB_DBMIGRATE !== '' && TINYIB_DBMIGRATE !== false) {
|
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>';
|
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 {
|
} 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 <a href="https://gitlab.com/tslocum/tinyib#migrating" target="_blank">README</a> <small>(<a href="README.md" target="_blank">alternate link</a>)</small> for instructions.</a><br><br><a href="?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 <a href="https://code.rocketnine.space/tslocum/tinyib/src/branch/master/README.md" target="_blank">README</a> <small>(<a href="README.md" target="_blank">alternate link</a>)</small> for instructions.</a><br><br><a href="?manage&dbmigrate&go"><b>Start the migration</b></a></p>';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fancyDie('Set TINYIB_DBMIGRATE to true in settings.php to use this feature.');
|
fancyDie('Set TINYIB_DBMIGRATE to true in settings.php to use this feature.');
|
||||||
|
@ -49,7 +49,7 @@ function pageFooter() {
|
|||||||
|
|
||||||
return <<<EOF
|
return <<<EOF
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
- <a href="http://www.2chan.net" target="_top">futaba</a> + <a href="http://www.1chan.net" target="_top">futallaby</a> + <a href="https://gitlab.com/tslocum/tinyib" target="_top">tinyib</a> -
|
- <a href="http://www.2chan.net" target="_top">futaba</a> + <a href="http://www.1chan.net" target="_top">futallaby</a> + <a href="https://code.rocketnine.space/tslocum/tinyib" target="_top">tinyib</a> -
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
TinyIB
|
TinyIB
|
||||||
https://gitlab.com/tslocum/tinyib
|
https://code.rocketnine.space/tslocum/tinyib
|
||||||
|
|
||||||
Support:
|
Support:
|
||||||
https://gitlab.com/tslocum/tinyib/issues
|
https://code.rocketnine.space/tslocum/tinyib/issues
|
||||||
|
|
||||||
See README for instructions on configuring, moderating and upgrading your board.
|
See README for instructions on configuring, moderating and upgrading your board.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user