[ / / / / / / / / / ] [ dir / abdl / asmr / fur / liberty / nofap / u / wooo / zoo ]

Catalog (/8code/)

[Create thread]
Sort by: Image size: [Show all]
R: 9 / I: 2 / P: 1 [R] [G] [-]
I'll get a proper intro sticky up soon, but for the time being, here's an summary about this board.

This board is for the discussion of, and contribution to, 8chan's codebase. I made this board because, in my opinion, /meta/ is filled with a bunch of crossboard nonsense in relation to coding 8chan and the issues page for the main repo is quite cluttered and disorganized. Feel free to bring up any ideas or concerns (be it management/security/aesthetics/etc) as long as it pertains to the technology behind 8chan's operation.

There are a couple rules that you need to follow. READ THEM. See: https://8chan.co/8code/rules.html

ITT: Meta discussion and feedback about this board.
R: 1 / I: 0 / P: 1 [R] [G] [-]

This is my legacy.

R: 1 / I: 0 / P: 1 [R] [G] [-]

Class 'CurlFile' not found

{"error":"Caught fatal error: Class 'CurlFile' not found in <strong>\/srv\/http\/post.php<\/strong> on line 1000"}

Got this while trying to upload a few pics to /s/

I looked at https://github.com/ctrlcctrlv/infinity/blob/master/post.php and didn't see what class CurlFile was.

Cloned the repo and grepped the whole source for curlfile and didn't find anything.

R: 0 / I: 0 / P: 1 [R] [G] [-]

Easter?

Easter?

R: 0 / I: 0 / P: 1 [R] [G] [-]

Easter?

Easter?

R: 0 / I: 0 / P: 1 [R] [G] [-]

Easter?

Easter?

R: 8 / I: 0 / P: 1 [R] [G] [-]

Previewing external threads and Bandwidth drain

This is an issue I submitted to Github a while ago that sadly got ignored. When you are previewing an external thread, it seems all the thumbnails are also being downloaded. As you can imagine, this causes considerable delay when previewing a large thread.

I post here in the hope that someone can suggest a fix.

Link to the issue and relevant code:
https://github.com/ctrlcctrlv/8chan/issues/213
https://github.com/ctrlcctrlv/8chan/blob/master/js/post-hover.js
R: 0 / I: 0 / P: 1 [R] [G] [-]

this thread will be here forever

R: 0 / I: 0 / P: 1 [R] [G] [-]

scat thread please

R: 1 / I: 1 / P: 1 [R] [G] [-]
Is there a reason why we can't have spoilered images generate thumbnails? There have been a number of requests across boards that I've seen about having an "unspoiler images" option available. Is it a storage issue, or just that it hasn't been programmed into the site yet?
R: 0 / I: 0 / P: 1 [R] [G] [-]

MOTHERFUUUUuUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUCKER

R: 0 / I: 0 / P: 1 [R] [G] [-]

ded board

ded board

R: 0 / I: 0 / P: 1 [R] [G] [-]

worst code ever seen lol

R: 0 / I: 0 / P: 1 [R] [G] [-]

I have searching for like a month to have the best imageboard script but I didn't find one untill I found infinite code. But I don't want that users can create their own board is there an possibilty to dissable that?

R: 0 / I: 0 / P: 2 [R] [G] [-]

Bug report

When you have too much text in a box, it will truncate it and add a line saying "Post too long. Click here to view the full text."

However, sometimes it does this on the last line. Considering that the "post too long" msg actually takes up 2 lines, it should perhaps take how much text is left in the post into consideration, rather than cutting it off at a hard #.

R: 1 / I: 0 / P: 2 [R] [G] [-]

Custom codes not working

So as per the configuration menu I set up my custom codes for all of the formatting options. Spoiler is like dis, bold is [b]like dis[/b] etc. Unfortunately it seems that no matter what, the site will not accept my magic words and continues to expect default syntax.

Is there a fix for this in the works?

R: 1 / I: 0 / P: 2 [R] [G] [-]

what's up doc

Could we get like some sort of list of important files/functions that 8chan uses and what they do? Documentation in the codebase is non-existent, not even developer notes scattered around.
R: 1 / I: 0 / P: 2 [R] [G] [-]

What would it take to get sophisticated code tags?

Something I dislike about code tags both on Halfchan and Fullchan is their lack of flexibility. Fullchan's code tags eat tabs (whereas Halfchan's converts them to four spaces), and neither of them is syntax aware. Both of them will highlight keywords arbitrarily as long as they're used in some sort of programming language, and will treat certain symbols as comments or quotes regardless of what language they're in. This makes them very bad for Lisp based languages, which often use single quotes and # characters to represent symbols and characters. I think we can do better than that.

Rather than our current approach to code tags, perhaps we could do something like <code lang="C"></code> (but as BBcode obviously), and have it perform syntax highlighting based on that language. If no language is provided, it would do the default action it currently uses (except maybe not eating tab characters and looking like total shit on mobile).

What would it take to get something like this implemented?