banner

/baw/ - General Discussion

Board updated. Please use this thread to report bugs.

Mods & Janitors: If you've forgotten your login details but would like to continue helping, please e-mail me: [email protected]

radio
6MB jpg, 6MB png, 8MB gif, 6MB mp3, 12MB swf, 8MB webm, 8MB mp4
60 posts, 9 images, 3 videos (total attachments: 12)
417543pinned
Black HandDeveloper
savepng3.354KB
plus4chan.png
116116
After half year, the board software has finally been updated.

Please use this thread for bug reports, questions, and suggestions.
replyreportdelete
417544
Black HandDeveloper
Why did it take so long?
The old board software was buggy and did not scale with a large database, nor was it easy to add new sections to it. Because of this, a significant portion of the rendering had to be rewritten from scratch, combined with a lot of database and query optimization. This took a lot of trial and error.
Once the new software was up and running, it replicated the boards near perfectly, but it did nothing else. So a little extra time was taken to add a few new features, and to fix some more old bugs.

There is still room for speed improvements (very little caching is done right now), but the new code was deemed good enough to go into production.
replyreportdelete
417545
Black HandDeveloper
New features:
- a frontpage. Also, lots of favicons.
- RSS feeds. There are 7 in total: 4 on the frontpage, 2 on the index, and 1 for a thread. You can use the feeds to see new posts minutes after they are made, on any board, without needing to load the site every time.
- catalog. The stylesheet for this is work in progress.

Feedback on the new features would be welcome.


bugs fixed:
- any bug related to thread rebuilding, such as:
- posts or threads remaining visible in the index after being deleted
- new threads not being created immediately
- old pages not updating
- phrase banning is now fixed
- ipv6 is handled now
- a bug that reduced the maximum allowed image size on uploads (almost twice as big images can be uploaded now)
- webm uploading is fixed
- mp3 bitrates should be displayed properly now
- youtube and vimeo embeds should be fixed (unfortunately this does not affect old posts, only new ones)
and possibly others I forgot. It has been a long time.
replyreportdelete
417552
Anonymous
I had an issue using spoilers and greentext. Testing.
spoiled
>did it work?
replyreportdelete
417553
Black HandDeveloper
That's odd because they are supposed to be turned on. The options were set in the SQL, at least... but did not appear in the admin panel. I don't know.

re-set them now, and they should be working:
spoiled
>did it work?
replyreportdelete
417554
Mr. StonezWb42fBPMM
Because I wanted a brown/“coffee”/“chocolate” color scheme, I went ahead and made a userstyle for plus4 so I could edit and test for a proper color scheme that doesn’t wreck my eyes. I used CSS variables to make switching colors out a far easier process.

The userstyle as it stands right now — https://pastebin.com/qR14R1Pn — only replaces the blue colors (which are commented out in the variable declarations), which leaves everything else untouched. If’n someone wants to use it for testing and creating a proper brown-hued color scheme for plus4, go nuts. (I prefer lighter text on darker backgrounds, but this was a spur-of-the-moment thing for me.)
replyreportdelete
417555
Mr. StonezWb42fBPMM
>417554
Aaaaaaaaaand there’s another issue for you dark wizard devs to fix: link parsing!
replyreportdelete
417556
Anonymous
savepng18.699KB
https.png
940346
I'm having an issue with the https:// protocol. Works fine for demo site, not here.
replyreportdelete
417557
mooseAdmin
>417556
The cert fucked up due to nameserver change, I'll be re-enabling it tomorrow
replyreportdelete
417558
Black HandDeveloper
>417554
It is premature to write new styles; the index and thread templates will be rewritten (eventually). The catalog is a "sneak peak" of that, it runs on the new code (and uses practically no js).
Of course, you are free to write your own user codes, just keep this in mind.

>417555
That would need to be done with javascript and I'm concerned about speed, since we have 300+ post threads.
replyreportdelete
417559
Mr. StonezWb42fBPMM
>417558
The userstyle is mainly just for testing/"what if" purposes, not for a replacement of the actual CSS. As for the parsing issue: Eh, I have a Linkify bookmarklet if need be.
replyreportdelete
417560
Mr. StonezWb42fBPMM
Minor issue with parsed YouTube links: The YouTube favicon no longer shows up to the left of the link.
replyreportdelete
417561
Black HandDeveloper
>417560
Could you please point out an example, as it shows up fine for me.
replyreportdelete
417563
Black HandDeveloper
savepng7.279KB
Image1.png
523111
There is an unrelated bug in that newly made posts won't have the javascript trigger on them, so if they have a youtube link in them, they won't expand until you reload the page. But that's pretty minor so I'll only fix it once I get to touch the ajax code in general.
replyreportdelete
417564
Anonymous
Can we finally get the rest of the banners added? I think all the ones before >396676 got added but none of the ones after. Pick the best, I guess.
replyreportdelete
417565
Black HandDeveloper
We updated to HTTPS.
You may need to flush your cache/cookies if you are experiencing errors, since I had to restructure a few things in the js code to make the switch simpler.

As usual, please report any bugs here.
replyreportdelete
417567
Anonymous
>417564
Most of those are awful.

Maybe make some more banners, and hope that people make better ones?
replyreportdelete
417568
Black HandDeveloper
savemp4447.698KB
b4UM1fJqIKGv4gi2.mp4
640360
MP4 posting should be enabled on all boards now.

I removed a bunch of old stump code, it might make posting a bit faster.
replyreportdelete
417571
Mr. StonezWb42fBPMM
savemp43.76MB
Crow Hopping Around.mp4
562480
>417568
>MP4 posting

Nice.
replyreportdelete
417578
Anonymous
Requesting a phrase filter on "South Korea", unless we can find some other characteristic phrase in that Korean political spam.
replyreportdelete
417579
Black HandDeveloper
>417578
Please make sure you put a ban on such posts, not just delete them, otherwise they don't get logged and I won't be able to figure out a common phrase.
replyreportdelete
417583
Anonymous
savepng10.896KB
spam.png
494236
>417579
I wasn't able to ban this one as it is outside my moderator boards.
Should we ban people trying to use <a href> links who aren't moderators? It's pretty common in spam, and apart from admin posts I don't think anyone legitimate has tried to use them.
replyreportdelete
417586
Anonymous
>417583
That's not a bad idea, I'll keep it in mind if we get hit harder.
replyreportdelete
417602
Black HandDeveloper
>417583
>417586
Implemented.
Here's hoping it doesn't accidentally block everyone from posting.
replyreportdelete
417603
Black HandDeveloper
Well in the end it did break posting temporarily. It should be fixed now.
replyreportdelete
417604
Anonymous
>417603
Fanks!
replyreportdelete
417607
Anonymous
savejpg1.91KB
mpv-shot0004.jpg
3236
someone unironically posted on /draw/

what do
replyreportdelete
417608
Anonymous
savemp4770.863KB
fdxqbn0V3_xeiLHQ.mp4
640360
>417607
>someone unironically posted on /draw/
replyreportdelete
417610
Black HandDeveloper
I raised the file sizes a bit since it's not 2010 anymore.
replyreportdelete
417611
Black HandDeveloper
Made a big change with the file names which needs testing, I'm asking all the mods to check the beta board and test it out.
replyreportdelete
417612
Anonymous
>417611
I'm always getting 'flood response detected' on mod's /baw/ but not /co/.
replyreportdelete
417613
Anonymous
>417612
That's normal. Post speed is limited to 60 sec on /baw/ but 10 sec everywhere else.
replyreportdelete
417614
Anonymous
>417613
I haven't posted yet today and I received that error when trying to post.
replyreportdelete
417616
Anonymous
>417614
aaah, I see, I think I know the problem, I'll fix it tonight.
replyreportdelete
417617
Anonymous
okay, fixed that issue. Since I changed the precision of the time field, the flood counter was now 100 times larger.
replyreportdelete
417630
Black HandDeveloper
savepng102.69KB
concept1.png
962833
Okay, here are two concepts for a new layout. Pic related is what I'm trying to cook up - a combination between the current design and the traditional imageboard layout. Note that this is an incomplete stylesheet, not a concept... it's missing a LOT of stuff (It's a rewrite from scratch), and I keep finding ways to improve it as I work on it.

And then there's this which I found in the board files:
https://boards.plus4chan.org/boardtop.png
This is an old design concept, that was being made by whoever was coding the site in the past (secret? anonex? I don't even know.). I think it has good ideas, but a lot of problems too.

This is what I'm working with right now. Thoughts?
replyreportdelete
417661
Anonymous
>417630
Give us the option to make thread subjects we have to use the name field to make thread subjects.
replyreportdelete
417663
Mr. StonezWb42fBPMM
>417661
This this this.
replyreportdelete
417664
Black HandDeveloper
Adding thread subjects has been on my list since the beginning, but it is a surprisingly complex thing to add, and it involves digging into parts of the code that I intend to axe outright. Once a new skin is done, it will have subjects, but I haven't even began adding forms to it yet (the current post form is shit and needs to be rethought).
replyreportdelete
417666
Anonymous
>417630
I reckon it looks far better with rectangular post boxes than the complex shape in that image. Looks like something out of Halo.
replyreportdelete
417667
Black HandDeveloper
Yeah, that's about the conclusion I came to as well.
However the traditional imageboard design dictates that the image of the first post is floating, so that part has to stay a complex shape - or have no background at all. I'm torn between trying to make the first post a different design and keeping it the same.
replyreportdelete
417669
User 9
Could a rules page get put up somewhere?
replyreportdelete
417670
Black HandDeveloper
>417669
What rules?
replyreportdelete
417672
Anonymous
>417670
There used to be 'rule 1) Don't be a dick' and subrules but honestly I don't think they really need to be spelt out
replyreportdelete
417689
Mr. StonezWb42fBPMM
Great, looks like we need a stronger spamfilter.
replyreportdelete
417692
Anonymous
savepng6.127KB
spam.png
665142
>417689
I haven't seen any until just now so maybe it's just getting cleaned up before I see it.
replyreportdelete
417694
Black HandDeveloper
We do get more spam nowadays but I usually delete it very fast, since I use the RSS feed to get new posts. It is likely happening since we had to turn Cloudflare off due to a problem with the SSL, I don't know if Moose restored it since.
replyreportdelete
417702
Black HandDeveloper
savepng109.453KB
concept2.png
950730
WIP test. One step back, two steps forward... this will probably be the desktop version, while the mobile one has 100% wide blocks akin to the current design. I like the current fixed width design more, but I think people want the site looking like this instead, right?
replyreportdelete
417707
Anonymous
>417702
That's pretty nice. I like it. I think it could look a little better with a few pixels more padding around the posts, but I'm not even sure because it's nice, compact and simple.
replyreportdelete
417709
Black HandDeveloper
Do you mean the padding between two posts, or the padding inside a post (around the post text)? I'm still fiddling with details like that.
replyreportdelete
417710
Anonymous
>417709
I mean inside the post, between the text and the post border.
replyreportdelete
417795
Anonymous
Need to do something about the bizarre asian bot
replyreportdelete
417796
Anonymous
>417795
This. Luckily it's ineffective and predictable in delivery, but it's regular. Regex should hopefully stomp it, especially now that no-one uses the politics thread.
replyreportdelete
417804
Black HandDeveloper
savepng105.146KB
concept3.png
1280730
Latest WIP. The threads' layout will be pretty much this. The popup label for the post hider and the file save icon will have their labels appear on the right, so they don't obscure each other. The hashtag is for making permalinks (and the post number was changed so it allows both permalinking and replying). Yes, the text is larger.

I did toy with replacing the icon pile with a single question mark icon, that you could hover over, and have all the icons appear in a small box, with their labels already opened next to them. But then it wouldn't be immediately apparent how you reply to posts. And having a question icon on each post looks silly. Tried a gear icon but it didn't look right either.

I'm not yet satisfied with the header, but I want to keep the current layout instead of copying what every imageboard uses. I'll likely put an options icon on the top right, symmetrical to the current home page icon. Link colours still need to be optimized.

Next up will be the reply box. Then a lot of javascript.
replyreportdelete
417805
Anonymous
>417804
>The hashtag is for making permalinks
Doesn't the post number do that?

I personally think the boards button at the very top should have transparent background (or same colour as parent object). It's pretty nice though.
replyreportdelete
417806
Anonymous
>417805
>Doesn't the post number do that?

Right now the post number permalinks, and the reply button makes a quoted reply.
On other chans, the "No." part in the post number permalinks, and the numbers themselves make a quote reply.
replyreportdelete
417807
Anonymous
>417805
>I personally think the boards button at the very top should have transparent background

The style switcher in the footer also uses coloured buttons, the ideas is to make the links uniform.
replyreportdelete
417808
Anonymous
>417806
Good point.
replyreportdelete
417821
Anonymous
Status update: with the main post body being (mostly) done, I'm working on the post form. Right now the idea is to make one that looks like the current form but less buggy (for tablets and mobiles), and to have it pop up in a fixed position at the bottom so it is easier to multi quote (the post form persists in a fixed position so you can scroll the thread and click reply and type in).

I'll also do a more traditional imageboard style form. For the new traditional look, you'd want a traditional post box fixed in the right corner (by default), as that design isn't as wide.

One little detail is that you'll be able to control all of it from keyboard properly, including using the nsfw/spoiler buttons. And yes, post subjects will come back, or at least I want them to. I'll also drop that "toggle poster info" bullshit, all fields will be visible by default.
replyreportdelete


File selected.
top