/qa/ - Questions and Answers

Keeping the community together by giving you a voice


If you want to see the latest posts from all boards in a convenient way please check out /overboard/
For Pony, Pony, Pony and Pony check out >>>/poner also Mares

Name
Email
Subject
Comment
6000
Select File / Oekaki
File(s)
No files selected
Password (For file and/or post deletion.)

2311559.gif
Bugs you found, and changes I made
Pupper
## Admin
No.5911
5915 9112 9132 9943
Bugs you found, and changes I made

Just thought I'd create this thread where you can post any bugs or problems with the site you encounter. And also for me to post any big changes I made.
159 replies and 51 files omitted.
Anonymous
No.6234
6235
>>6233
also i think that the dice placeholder should be automatically always on top in case people try to fudge the roll somehow
Anonymous
No.6235
            [Read more]            
Anonymous
No.6259
6260
testing a few things
[1d1-99999 = -99998]
[-1d1]
Anonymous
No.6260
6261 6262 6299
1555516111906.jpg
>>6259
>[diceroll]
intardesting...
[diceroll]what im saying by that post is that you should add negative dices, see exotic weapon part of pic, although even is there where no system that utilized negative rolls, having it would be a really neat feature of the system making it capable to go to a minimum of -1999998... i think[/diceroll]
oh and [1d0 = 1] [diceroll]0d1=0{}[/diceroll] [diceroll]0d0=0{}[/diceroll] [1d1+0 = 1] [1d1-0 = 1] [1d1 = 1] [1d1-1 = 0] [1d1-2 = -1] testing some more
Anonymous
No.6261
6262
            [Read more]            
Pupper
## Admin
No.6262
6263
>>6260
>>6261
Yep I see there is a bug in the dice system when it comes to displaying negative results, and that a dice roll of zero dices should not be performed. I'll look into the other portions regarding dicerolls you mention, but have to read it more thoroughly.
Thanks for doing the testing and finding the bug. I will fix and update the code so negative dice rolls also shows up.
Anonymous
No.6263
            [Read more]            
Pupper
## Admin
No.6299
6314
>>6260
Think I got all the bugs with dice roll fixed.
I also added the option to do multiple rolls (up to three rolls).
[2d10-1d6 = (10-4) = 6]
Anonymous
No.6314
>>6299
neat
Anonymous
No.6315
6316
I'm not sure if this is really a bug, but Archived threads clutter up the search results. Is there a "Don't show archived threads" option when searching?
Pupper
## Admin
No.6316
>>6315
I will look into adding this option to the search.
Anonymous
No.6325
6326
0AE50F41B0091FA2211C72D11472344D-188637.png
>>>/mlpol/322722 →
Just a bug (or a feature) so you know. So it still opens up the post and the good news it doesn't add a post number next to the post in question. The other part of the oddness is that the post retains the colorized underline.
[color #00f[u>>6314[/u[/color
>>6314
Pupper
## Admin
No.6326
>>6325
Thanks for letting me know. I'll look into the error with the post number not being added to "quoted by". It should have been added, but I guess I have made a small oversight in the regex used for adding "quoted by" to posts.
Pupper
## Admin
No.6327
>quoted by
*cited by
Anonymous
No.6331
6332
This is more of a question regarding of NPFchan. Would mind telling my why did store all the files in the archive table as mediumtext? Because of this, there's no way I can't properly access the uri of the files in that string.
I'm trying to modifying the archive class and how it handles, but without success so far without messing up with previous archived threads.
I really liked how you handled your archive like it was a catalog, but I can't fetch the OP's thumb or even the json of the thread because of the json_scramble. Can you give me a light in the right direction?
Pupper
## Admin
No.6332
>>6331
Been a long time since I worked with NPFChan. The scrambled json can be turned off in setting and is not needed at all (unless you want it, but it was never fully hashed out and polished feature). The way NPFChan saved the archive was that it just saved the html files generated as I remember and copied the accompanying files (not sure what it kept in the database if anything except the thread info). It didn't do any alterations of the files (except fix the links in the html to the new locations) from what I remember. But to be fully frank I can't remember how I coded it all for the archive - part of the problem remembering is that there was a two tier archive system set up (that evolved over time). If you turn off the scrambling of json, and easiest next step is perhaps to creating a script that reads the json files one by one (in the archive) get the thread id from it and rename or save a copy with the correct thread id.
sage
Anonymous
No.6399
Bug when -------------------- the output disregards the previous portions. For rough timestamp. 325157
Anonymous
No.6434
6448
Can the Overboard get a clickable button at the bottom of the screen that loads the next page? Sometimes it doesn't register that I've scrolled down enough or completely.
Anonymous
No.6447
6448
Why cant we upload .webp images?
Pupper
## Admin
No.6448
6449
            [Read more]            
Anonymous
No.6449
6450
>>6448
What if the site converted uploaded .webps into jpgs before hosting them on the site?
Pupper
## Admin
No.6450
>>6449
It is an option that I can look into. I don't like to change the uploaded files since uploader probably intended it to be in the format they wanted and might loose quality be converting etc. Only time I change file extension is in cases the uploaded file has wrong extension like changing .png to a .jpg or visa versa as an example. But it is an possibility, but I would have to add an extra step in the upload process and convert image so I have to look at the code and how it is done. As code is now it is likely easier for me to look into potential exif data in webp and see if Taglib and/or Exiftool supports it (and if there is any custom cleaning needed as addition).
Anonymous
No.6451
6452 6454
How do I shut this goddamn snow off? Its lagging out my mobile
Pupper
## Admin
No.6452
6453
>>6451
To manually turn it off you can go to Options and User CSS and add

.container-extra-4 {
display: none;
}

but snow should be turned off soon as the celebrations comes to an end.

>The extra field might be used for other things in the future so it is not just for the snow. It was just an convenient field I added it to when I was scrambling to make some festivities for Christmas.
Anonymous
No.6453
6454 6455
>>6452
Thanks. Goddamn was a little harsh, I was frustrated because I could only post so much before the text would take 3 sec per character added, and would lag out if I had too many queued characters
Anonymous
No.6454
6455
>>6451
>>6453
I confirm, the snow may cause high CPU, in my case a desktop computer.
Pupper
## Admin
No.6455
6465 6583
            [Read more]            
Anonymous
No.6465
>>6455
Thank you, the new script seems to work nicely
Anonymous
No.6583
6584 6585
>>6455
Im not sure if its a bug or not, but the Oekaki tool isnt on the quick reply window.
Anonymous
No.6584
>>6583
It's not on the 4chan /i/ window either, iirc. Probably not a bug.
Pupper
## Admin
No.6585
>>6583
It is not on the Quick Reply since it was troublesome to get it in there in current form (would have had to add big drawing area to the quick reply). In the new code I plan on changing Oekaki to the same one used on /i/ and I will try to get it on the Quick Reply and also add option to draw on images added. But I'm not at that point in the code yet.
Anonymous
No.6624
6625
No biggie, but moving threads resets the posting time/date of all posts to the time it was moved.
Pupper
## Admin
No.6625
>>6624
Yes, the move function in current code is not too good.
Moving of threads/posts is one of the areas I will totally redo and fix in the rewrite/cleanup I'm doing. Another aspect I will fix regarding Moving threads is that the post links gets updated to the correct new post links (so I don't have to manually fix them after move).
Moving threads never worked that well in the old code either (NPFChan), so moving threads/posts is something that always have been used very rarely.
Pupper
## Admin
No.6627
6629
We had small incident of downtime. Hopefully it didn't cause too much inconvenience.
Anonymous
No.6629
6630
20ad89e.png
>>6627
It scared me the hell out.
Pupper
## Admin
No.6630
CCC2A2010A9DE7C79A531D0E3BF7D804-64509.jpg
>>6629
Not sure what the reason was. Server stopped responding.
The server might just have had a Derp moment, but all looks good now.
Puppe
## Admin
No.6631
6632
Fixed small bug regarding posting links and getting false positive "Spam detected" alert.
Anonymous
No.6632
>>6631
That's good news. It's annoying getting flood detected every few minutes when I'm dumping images.
Pupper
## Admin
No.6658
6659
image.png
Updated a major part of the code hoping I fixed the bug that caused server to not respond. If you notice anything that isn't working as it should please let me know.
Anonymous
No.6659
6660
>>6658
>I fixed the bug that caused server to not respond
Yup, I got that problem. Last time was 10 minutes ago.
Pupper
## Admin
No.6660
>>6659
Last one you experienced might have been when i took down server shortly to activate the new code. But hopefully the change I did to the code will make the site more responsive and not have the occasional slow to respond as happened from time to time.
Anonymous
No.6679
6680
Bug: There is no "Whole words only" option in the search menu.

Search for "ADL" and you see countless posts with the letters adl somewhere in them. Posts where someone used a word like badly, sadly, adler, and so on.
Anonymous
No.6680
>>6679
I'd recommend add a space before or after. Pro tip " ADL " or " ADL" or "ADL ".
Anonymous
No.6684
6685
1F1633A1-2F86-4F7C-98C4-61FF0FB74C90.jpeg
I have seen an OP post where there were links provided to lolicon websites. The post was since deleted, but the post itself may have taken a while to be deleted from the catalog. Is there any reason for this?
Anonymous
No.6685
>>6684
Kiss loli 😭😭😭😭😭😭
Anonymous
No.6686
6687
2062738.png
09bdb9a7affad6c5250d93269940cddd.jpg
>6684
Do you even understand how servers operate nigger?
>6685
Surrounded by retards and boomers.
Anonymous
No.6687
>>6686
I do, but Johnny Law may not.
Hmmmmmm.
Anonymous
No.6693
6701
1565194038478.png
1582446910866.jpg
84D47CAE22F0A102DFD25E1CC2ADBD0B-57954.png
1534658803952.png
            [Read more]            
Anonymous
No.6701
            [Read more]            
Anonymous
No.6714
6715 6716
Can you add a "Sort by newest" and "sort by oldest" option to the Search function?

Thread Watcher
TW