mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-19 01:24:05 +01:00
Replace '8chan.co's with '8ch.net's
This commit is contained in:
parent
755fc1e592
commit
38de652f9b
@ -3,7 +3,7 @@ infinity
|
||||
|
||||
About
|
||||
------------
|
||||
infinity is a fork of vichan, with the difference that infinity is geared towards allowing users to create their own boards. A running instance is at https://8chan.co.
|
||||
infinity is a fork of vichan, with the difference that infinity is geared towards allowing users to create their own boards. A running instance is at [8ch.net](https://8ch.net/)
|
||||
|
||||
Most things (other than installation) that apply to upstream vichan also apply to infinity. See their readme for a detailed FAQ: https://github.com/vichan-devel/vichan/blob/master/README.md
|
||||
|
||||
|
@ -109,7 +109,7 @@ $body = "<p>Please read the following instructions carefully:</p>
|
||||
|
||||
<p>The username of the admin of this board is <strong>{$mods[0]['username']}</strong>. Please write this down, you will need it to log in. It cannot be changed.</p>
|
||||
<p>A new password has been generated for this board. It is <tt>{$password}</tt> . Please write this down, you will need it to log in. <em>If you forget your password, it cannot be changed. You must wait to reclaim the board again! Do not lose it.</em></p>
|
||||
<p>The URL you use to manage your board is <a href='/mod.php'>8chan.co/mod.php</a>. Log in using the details above. Note: The board can still be claimed by another user until you log in for the first time or if it still meets the inactivity criteria, so post something!</p>
|
||||
<p>The URL you use to manage your board is <a href='/mod.php'>https://8ch.net/mod.php</a>. Log in using the details above. Note: The board can still be claimed by another user until you log in for the first time or if it still meets the inactivity criteria, so post something!</p>
|
||||
<p>
|
||||
|
||||
";
|
||||
|
@ -63,7 +63,7 @@ if ($argc > 1) {
|
||||
$f = fopen('rip.txt', 'a');
|
||||
fwrite($f, "--\r\n".date('c')."\r\n");
|
||||
foreach($delete as $i => $d){
|
||||
file_get_contents('http://8chan.co/listboards.php');
|
||||
file_get_contents('http://8ch.net/listboards.php'); //I think this is bad
|
||||
$s = "RIP /".$d['board']."/, created by ".($d['mod']?$d['mod']:'?')." and last active on ".$d['last_activity']->format('Y-m-d H:i:s.').($d['last_mod'] ? ' Mod last active on ' . $d['last_mod']->format('Y-m-d H:i:s.') : ' Mod never active.') . " Number of posts: {$d['count']}." . "\r\n";
|
||||
echo $s;
|
||||
fwrite($f, $s);
|
||||
|
10
faq.php
10
faq.php
@ -15,7 +15,7 @@ $body = <<<EOT
|
||||
|
||||
<p>There is a large penalty for abusing their powers to ban users for other reasons. That penalty is that I will not only remove their global volunteer position, but also commandeer their board. I will then find another suitable owner for it among the board's users and give it to them.</p>
|
||||
|
||||
<p>Thus, the only people who can delete content from 8chan.co are those who have a stake in the site itself because they own the boards. Thus, they are not really doing it for free - they are simply protecting their boards by protecting the site as a whole. It is in their interest to keep the site free of illegal content so that their boards stay up. If they abuse their power, the board that they worked hard to create is stripped from them.</p>
|
||||
<p>Thus, the only people who can delete content from 8chan are those who have a stake in the site itself because they own the boards. Thus, they are not really doing it for free - they are simply protecting their boards by protecting the site as a whole. It is in their interest to keep the site free of illegal content so that their boards stay up. If they abuse their power, the board that they worked hard to create is stripped from them.</p>
|
||||
|
||||
<p>This means that there's only one person that needs to be trusted: me. If I could have found a way to remove myself from the trust model, I would have, but that is impossible given someone has to run the server.</p>
|
||||
|
||||
@ -26,7 +26,7 @@ $body = <<<EOT
|
||||
<li>Do not post, request, or link to any content illegal in the United States of America. Do not create boards with the sole purpose of posting or spreading such content.</li>
|
||||
</ul>
|
||||
<p>Other than that, you are free to institute whatever rules you want on your board.</p>
|
||||
<p><a href="https://8chan.co/obscenity.html">More information about US obscenity laws and how they relate to 8chan boards</a></p>
|
||||
<p><a href="/obscenity.html">More information about US obscenity laws and how they relate to 8chan boards</a></p>
|
||||
<h2>How do I add more volunteers?</h2>
|
||||
<p>You may do this in your board settings, click on "Edit board volunteers".
|
||||
<h2>How do I manage my board?</h2>
|
||||
@ -43,7 +43,7 @@ $body = <<<EOT
|
||||
<p>You still may lose access to your board, however, if you fail to log in for two weeks or it receives no posts for a week. See <a href="/claim.html">here</a> for a list of boards that are available for reclaiming.</p>
|
||||
|
||||
<h2>How do I post as a volunteer on my board?</h2>
|
||||
<p>Make sure you are using the volunteer interface to view your board. The URL of your browser should be <a href="https://8chan.co/mod.php?/yourboard"><tt>https://8chan.co/mod.php?/yourboard</tt></a>.</p>
|
||||
<p>Make sure you are using the volunteer interface to view your board. The URL of your browser should be <a href="/mod.php?/yourboard"><tt>https://8ch.net/mod.php?/yourboard</tt></a>.</p>
|
||||
|
||||
<p>If you are the owner of the board, put "## Board Owner" in the name field. If someone else is the owner and you are just assisting them, put "## Board Volunteer" in the name field. Write your post and click "Reply". It will appear with your capcode.</p>
|
||||
<h2>Help! The owner of X board is doing something I don't like!</h2>
|
||||
@ -74,8 +74,8 @@ $body = <<<EOT
|
||||
<h2>Who owns /meta/, /b/ and /news+/?</h2>
|
||||
<p>No one, so they are <em>de facto</em> property of the administration.</p>
|
||||
|
||||
<h2>Why does <a href="https://8chan.co/banned">https://8chan.co/banned</a> say that I'm banned? I can still use the boards?</h2>
|
||||
<p>8chan is centered around user created boards. That's a board with CSS that makes it look like the ban page, not an official page. You've been tricked. 8chan.co has no official ban check page.</p>
|
||||
<h2>Why does <a href="/banned">https://8ch.net/banned</a> say that I'm banned? I can still use the boards?</h2>
|
||||
<p>8chan is centered around user created boards. That's a board with CSS that makes it look like the ban page, not an official page. You've been tricked. 8chan has no official ban check page.</p>
|
||||
|
||||
<h2>Where's the mobile app?</h2>
|
||||
<p>There is no official mobile app, however there is an unofficial Android app at <a href="https://github.com/wingy/Exodus/releases">wingy/Exodus</a>.</p>
|
||||
|
@ -130,7 +130,7 @@
|
||||
$query->bindValue(':mod', $mods[0]['username']);
|
||||
$query->execute();
|
||||
|
||||
$body = "Thanks for your interest in this board. Kindly find the username and password below. You can login at 8chan.co/mod.php.<br>Username: {$mods[0]['username']}<br>Password: {$password}<br>Thanks for using 8chan.co!";
|
||||
$body = "Thanks for your interest in this board. Kindly find the username and password below. You can login at https://8ch.net/mod.php.<br>Username: {$mods[0]['username']}<br>Password: {$password}<br>Thanks for using 8chan!";
|
||||
|
||||
mod_page(_('Edit reassign'), 'blank.html', array('board'=>$board,'token'=>make_secure_link_token('reassign/'.$board['uri']),'body'=>$body));
|
||||
};
|
||||
@ -520,7 +520,7 @@ EOT;
|
||||
|
||||
preg_match_all("#$match_urls#im", $clean_css, $matched);
|
||||
|
||||
$allowed_urls = array('https://i.imgur.com/', 'https://media.8chan.co/', 'https://a.pomf.se/', 'https://fonts.googleapis.com/', 'https://fonts.gstatic.com/', 'http://8ch.net/', 'https://8chan.co/');
|
||||
$allowed_urls = array('https://i.imgur.com/', 'https://media.8chan.co/', 'https://a.pomf.se/', 'https://fonts.googleapis.com/', 'https://fonts.gstatic.com/', 'https://8ch.net/', 'https://8chan.co/');
|
||||
|
||||
if (isset($matched[0])) {
|
||||
foreach ($matched[0] as $match) {
|
||||
|
@ -74,7 +74,7 @@
|
||||
$config['mod']['capcode'][MOD] = array('Board Owner');
|
||||
$config['mod']['capcode'][GLOBALVOLUNTEER] = array('Global Volunteer');
|
||||
$config['custom_capcode']['Admin'] = array(
|
||||
'<span class="capcode" title="This post is written by the global 8chan.co administrator."> <i class="fa fa-wheelchair" style="color:blue;"></i> <span style="color:red">8chan.co Administrator</span></span>',
|
||||
'<span class="capcode" title="This post is written by the global 8chan administrator."> <i class="fa fa-wheelchair" style="color:blue;"></i> <span style="color:red">8chan Administrator</span></span>',
|
||||
);
|
||||
//$config['mod']['view_banlist'] = GLOBALVOLUNTEER;
|
||||
$config['mod']['recent_reports'] = 65535;
|
||||
@ -158,7 +158,7 @@
|
||||
$config['boards'] = array(array('<i class="fa fa-home" title="Home"></i>' => '/', '<i class="fa fa-tags" title="Boards"></i>' => '/boards.html', '<i class="fa fa-question" title="FAQ"></i>' => '/faq.html', '<i class="fa fa-random" title="Random"></i>' => '/random.php', '<i class="fa fa-plus" title="New board"></i>' => '/create.php', '<i class="fa fa-ban" title="Public ban list"></i>' => '/bans.html', '<i class="fa fa-search" title="Search"></i>' => '/search.php', '<i class="fa fa-cog" title="Manage board"></i>' => '/mod.php', '<i class="fa fa-quote-right" title="Chat"></i>' => 'https://qchat.rizon.net/?channels=#8chan'), array('b', 'meta', 'news+'), array('<i class="fa fa-twitter" title="Twitter"></i>'=>'https://twitter.com/infinitechan'));
|
||||
//$config['boards'] = array(array('<i class="fa fa-home" title="Home"></i>' => '/', '<i class="fa fa-tags" title="Boards"></i>' => '/boards.html', '<i class="fa fa-question" title="FAQ"></i>' => '/faq.html', '<i class="fa fa-random" title="Random"></i>' => '/random.php', '<i class="fa fa-plus" title="New board"></i>' => '/create.php', '<i class="fa fa-search" title="Search"></i>' => '/search.php', '<i class="fa fa-cog" title="Manage board"></i>' => '/mod.php', '<i class="fa fa-quote-right" title="Chat"></i>' => 'https://qchat.rizon.net/?channels=#8chan'), array('b', 'meta', 'int'), array('v', 'a', 'tg', 'fit', 'pol', 'tech', 'mu', 'co', 'sp', 'boards'), array('<i class="fa fa-twitter" title="Twitter"></i>'=>'https://twitter.com/infinitechan'));
|
||||
|
||||
$config['footer'][] = 'All posts on 8chan.co are the responsibility of the individual poster and not the administration of 8chan.co, pursuant to 47 U.S.C. § 230.';
|
||||
$config['footer'][] = 'All posts on 8chan are the responsibility of the individual poster and not the administration of 8chan, pursuant to 47 U.S.C. § 230.';
|
||||
$config['footer'][] = 'We have not been served any secret court orders and are not under any gag orders.';
|
||||
$config['footer'][] = 'To make a DMCA request or report illegal content, please email <a href="mailto:admin@8chan.co">admin@8chan.co</a>.';
|
||||
|
||||
|
@ -117,7 +117,7 @@ $(window).ready(function() {
|
||||
},
|
||||
error: function(xhr, status, er) {
|
||||
console.log(xhr);
|
||||
alert(_('The server returned an error or truncated response -- your post was probably still submitted. If it wasn\'t, 8chan.co might be experiencing issues right now -- please try your post again later.'));
|
||||
alert(_('The server returned an error or truncated response -- your post was probably still submitted. If it wasn\'t, 8chan might be experiencing issues right now -- please try your post again later.'));
|
||||
},
|
||||
data: formData,
|
||||
cache: false,
|
||||
|
@ -24,8 +24,7 @@ var twemoji = (function (
|
||||
/////////////////////////
|
||||
|
||||
// default assets url, by default will be Twitter Inc. CDN
|
||||
base: (location.protocol === 'https:' ? 'https:' : 'http:') +
|
||||
'//8chan.co/js/twemoji/',
|
||||
base: '/js/twemoji/',
|
||||
|
||||
// default assets file extensions, by default '.png'
|
||||
ext: '.png',
|
||||
|
@ -1,4 +1,4 @@
|
||||
<p>Did you know? Many boards with popular names have been abandoned by their owners and can be claimed. See <a href="https://8chan.co/claim.html">here</a> for a full list.</p>
|
||||
<p>Did you know? Many boards with popular names have been abandoned by their owners and can be claimed. See <a href="/claim.html">here</a> for a full list.</p>
|
||||
<form method="POST">
|
||||
<table class="modlog" style="width:auto">
|
||||
<tbody>
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
<p>{% trans %}Make sure you don't forget your password, <tt>{{ password }}</tt>{% endtrans %}</p>
|
||||
|
||||
<p>{% trans %}You can manage your board at <a href="http://8chan.co/mod.php?/">http://8chan.co/mod.php?/</a>.{% endtrans %}</p>
|
||||
<p>{% trans %}You can manage your board at <a href="/mod.php?/">https://8ch.net/mod.php?/</a>.{% endtrans %}</p>
|
||||
|
@ -229,7 +229,7 @@
|
||||
<header>
|
||||
|
||||
<div class="col col-3 header_logo">
|
||||
<img src="https://8chan.co/static/logo_33.svg" alt="logo" width="220" height="145" id="logo">
|
||||
<img src="/static/logo_33.svg" alt="logo" width="220" height="145" id="logo">
|
||||
</div>
|
||||
|
||||
<div class="col col-9 header_text">
|
||||
@ -298,7 +298,7 @@
|
||||
<div class="col col-9 bodyCol">
|
||||
<div class="content_body">
|
||||
<p>{% trans %}On ∞chan, you can create your own imageboard for free with no experience or programming knowledge needed.{% endtrans %}</p>
|
||||
<p style="color:red">{% trans %}Warning: Some boards on this site might contain content of an adult or offensive nature. Please cease use of this site if it is illegal for you to view such content. The boards on this site are made entirely by the users and do not represent the opinions of the administration of 8chan.co. In the interest of free speech, only content that directly violates the DMCA or other US laws is deleted.{% endtrans %}</p>
|
||||
<p style="color:red">{% trans %}Warning: Some boards on this site might contain content of an adult or offensive nature. Please cease use of this site if it is illegal for you to view such content. The boards on this site are made entirely by the users and do not represent the opinions of the administration of 8chan. In the interest of free speech, only content that directly violates the DMCA or other US laws is deleted.{% endtrans %}</p>
|
||||
<div class="mobileHide">
|
||||
<a href="create.php" class="button">{% trans %}Create your board{% endtrans %}</a>
|
||||
<a href="boards.html" class="button">{% trans %}Browse existing boards{% endtrans %}</a>
|
||||
|
@ -73,7 +73,7 @@
|
||||
<table>
|
||||
<tr><th>{% trans %}Default poster name{% endtrans %}</th><td><input type="text" name="anonymous" value="{{config.anonymous|e}}"></td></tr>
|
||||
<tr><th>{% trans %}Board announcement{% endtrans %}</th><td><input type="text" name="blotter" value="{{config.blotter|e}}" size="75"></td></tr>
|
||||
<tr><th>{% trans %}Rules{% endtrans %}<br/><span class="unimportant">{% trans %}Allowed tags:{% endtrans %} p li ol ul strong em u h2<br/>{% trans %}Rules will appear at:{% endtrans %} <a href="/{{board.uri}}/rules.html">https://8chan.co/{{board.uri}}/rules.html</a></span></th><td><textarea name="rules" style="height:100px;width:500px">{{rules}}</textarea></td><tr>
|
||||
<tr><th>{% trans %}Rules{% endtrans %}<br/><span class="unimportant">{% trans %}Allowed tags:{% endtrans %} p li ol ul strong em u h2<br/>{% trans %}Rules will appear at:{% endtrans %} <a href="/{{board.uri}}/rules.html">https://8ch.net/{{board.uri}}/rules.html</a></span></th><td><textarea name="rules" style="height:100px;width:500px">{{rules}}</textarea></td><tr>
|
||||
<tr><th>{% trans %}Stylesheet{% endtrans %}<br/><span class="unimportant">{% trans %}note: does not validate CSS{% endtrans %}</span></th><td><textarea name="css" style="height:100px;width:500px">{{css}}</textarea></td><tr>
|
||||
</table>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user