This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT `num`, `subnum`, `thread_num`, `op`, `timestamp`, `timestamp_expired`, `preview_orig`, `preview_w`, `preview_h`, `media_filename`, `media_w`, `media_h`, `media_size`, `media_hash`, `media_orig`, `spoiler`, `deleted`, `capcode`, `email`, `name`, `trip`, `title`, `comment`, `sticky`, `locked`, `poster_hash`, `poster_country`, `exif` | |
FROM `board` | |
INTO OUTFILE "board.csv" | |
FIELDS TERMINATED BY ',' ENCLOSED BY '"' | |
LINES TERMINATED BY "\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src/Controller/Chan.php | |
+++ b/src/Controller/Chan.php | |
@@ -492,6 +492,11 @@ class Chan extends Common | |
// get the current status of the thread | |
$thread_status = $board->getThreadStatus(); | |
+ | |
+ if(!isset($options['type']) && $thread_status['nreplies'] > 5000) { | |
+ return $this->error(_i('Threads this large can\'t be opened reliably. <a href="'.$this->uri->create($this->radix->shortname.'/chunk/'.$num.'/').'">Use the chunked method</a> or <a href="'.$this->uri->create($this->radix->shortname.'/last/50/'.$num.'/').'">view last 50 posts</a>.')); | |
+ } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.flag { | |
display: inline-block; | |
width: 16px; | |
height: 12px; | |
background: url(images/polflags.png) no-repeat; | |
} | |
.flag.flag-us { | |
background-position: -16px 0; | |
} | |
.flag.flag-kp { |