[ an / aw / cr / fi ] [ ra ] [ au / ga / he / sp ]

/aw/ - AwsumChan Meta

Discussion of AwsumChan itself.
Name
Email
Subject
Comment
Verification
File
Password (For file deletion.)

File: 1580449258246.png (4.76 KB, 240x80, redis.png)

 No.208[Reply]

1.
I'm trying Redis. When I try to rebuild there's this error:
>Function Redis::delete() is deprecated
Seems renamed to del() or something. Please update the code?

2.
NPFchan added memcached support sometime ago. Is it easy to port that?

3.
Between these two which do you prefer for Tinyboard?

 No.209

Believe it or not, I had removed Tinyboard's support of Memcached a while ago (NPFchan never added it themselves) since it was being abused for an open exploit. This has been largely patched in most installations of Memcached so I decided to add it back since you mentioned it.
I've also changed the call from Redis::delete to Redis::del to fix that deprecation issue.
As for an opinion, I'd recommend Redis more. It has a much bigger following and seems to be more reliable since I haven't heard of any deeply concerning exploits like I have with Memcached.

Also, I'd like to note ahead of time that APC will be deprecated (and eventually removed) in a future version of Tinyboard, and I highly suggest using APCu instead.



File: 1574133364625.gif (1.25 MB, 255x136, vawtf1.gif)

 No.111[Reply]

Is your fork more stable or secure than reg vichan? What are the benefits of your fork over mainstream vichan? Also do you do php work? If i end up using your fork on my site would you be a consultant for it? Just easy shit like best setup options, a bit of help setting up cache, and very minor style changes. It should be super easy for you, and it would pay good.
6 posts omitted. Click reply to view.

 No.129

>>126
Using Cloudflare on here, I haven't noticed any issues. I can't speak for Rocketloader or any of CF's paid offerings. Worth trying on a site mirror though.

Tinyboard unfortunately does use a fair bit of inline scripts and style tags. Luckily CSP does allow you to whitelist them - see our CSP for an example.

>>127
I think you're a bit paranoid. If you're a firm believer that imageboards should have an incredibly small codebase, just go use TinyIB. Although I can acknowledge that a fair bit of *chans on the dark web are harbors of illegal content. Sad.
Also, please don't try to impersonate staff, lmao

 No.201

>>129
Rocket Loader is free though. Did you try it on?

Anyway another question:
I want to change a board's directory name (URL), and/or migrate it to another Tinyboard setup.
There's no auto procedure for URL renaming AFAIK, so I need to do it manually.
Where else should I look besides the board's dir and database entries?

 No.203

>>201
Rocketloader and cloudflare in general are stupid. If you are that paranoid about being hacked, just lower the attack surface by not having shit ppl would want to hack. Also, cloudflare is not some magic protection, for example if someone knows the server ip address, cloudflare can be bypassed entirely- just like you do when you ssh or sftp into your own website. Lastly, if you are running code so slow where you think a cdn is ultra necessary, how about growing a brain and using a more modern technology than php. Lynxchan is a good example. Node js is far superior to php.
Sure, a few sites like Wikipedia use php still, but they have to have lots of servers at an absurd cost. Take ANY php web app, and it can be coded to be far more efficient in node js or go or something. So instead of relying on a stupid cdn, code the fucking thing in a modern language in the first place, then no cdn is needed. Basically, tards like you who shit your pants over stupid shit like rocket loader create your own problems by existing in php which is shit, outdated, and just stupid.(don't try to impersonate mods)

 No.204

>>201
I haven't tried RocketLoader. I might look into it since it's free though.

As for directory changes, it's possible although you'll have to rebuild the HTML for the entire board as well as move all uploaded files and thumbnails to the new directory. You'll also have to change a lot of database entries like you said, but that /should/ be it. Tinyboard (and most imageboard software) don't intend for you to change the board URI anytime down the road.

>>203
While you do share a bunch of valid points, I don't see PHP as /that/ bad. I definitely agree that Cloudflare is not to be relied upon as a tool to prevent intrusion or dramatically increase performance. It does help smaller websites handle an increased traffic load though, which is really handy for those using a budget VPS or shared hosting package who have content that reaches a large amount of people. From my experience, people who use Cloudflare on top of a Tinyboard site generally use it to have the static content served reliably, not to "speed up" the dynamic content served over PHP.

As for the PHP hate - legacy PHP apps have been historically badly coded, easily susceptible to attacks, and inefficient. I wouldn't blame the language, but the poor code ethics that seemed to surround it for the longest time. Node.js might have better general performance but NPM has become CPAN shit show 2.0, with a lot of inexperienced developers flooding their community with really poor code (gee, wonder what that sounds like). Call me wrong, but PHP 7 has been something long needed - forcing developers to patch vague and broken code that miraculously worked in PHP 4 and 5. Sure, we might not like it, but it's for the betterment of PHP-based software.

 No.207

>>203
No shit, Sherlock. Come back when your perfect project finally has these:
1. Data compatible or at least easy to migrate from/to Tb/vi;
2. Customizabiliy on par with inc/config.php, especially spamfilter and autoban regexes;
3. Platform genericity (RoR, Node, Go, whatever the next meme trend is, still hasn't beaten the popularity of plain old LA/EMP)

Regarding CDN, yes I just need cache for my cheap hosting, "security" be damned. (My nginx is configured to never serve directly outside though.) The extras are just a flip of switch away anyway so it's a loss not to explore and make full use of them.



File: 1579715880975.gif (101.64 KB, 128x63, 3.gif)

 No.181[Reply]

Hi, Do you know of any catalog issues? If you go to a test board at https://4usa.com/board/b and then go to the catalog , the style sheet links on bottom appear twice and do not work. I re-installed the catalog theme and rebuilt the board a bunch of times, to no effect. The board is only set to have a few posts, but that should not have anything to do with it. Is it maybe because I have too many style sheets enabled? Not a big deal at all, just wondering if you knew of any issues with this.
7 posts omitted. Click reply to view.

 No.191

>>189
Oah, sorry, disregard. Even tho I got the error on the 2nd command, Oekaki works on the board now.

 No.192

>>191
Submodules should be updated now.

You may run into an error after updating. Flush the template cache without rebuilding and it should be fixed.

 No.193

>>192
yup its all working great, thanks!

 No.200

Does anyone know how to make a [embed] link appear after you put a video url in the message area? (like mlpol.net and lynxchan has) That is a nice feature so one does not have to have a separate youtube embed post form box. I tried a very lot to figure out the js to do it.

 No.206

>>200
I'll look into incorporating mlpol.net's implementation since they run a fork of vichan that I've cherry-picked a few commits from (NPFchan).



File: 1579798657583.jpg (58.54 KB, 904x900, 4.jpg)

 No.195[Reply]

https://4usa.com/z0/index.php

<?php


// Configuration
$name = 'BBS';
$background = 'cadetblue';
$text = 'black';
$defname = "Anonymous";
// End of configuration

// HTML character escaping
$p = htmlentities($_GET["p"], ENT_QUOTES | ENT_IGNORE, "UTF-8");

Post too long. Click here to view the full text.

 No.196

Would you be willing to help with a serious project? I am trying to make a simple but ultra efficient text board. The example code given and link to the working instance is just a reference.

goals-

1) Ultra simple code (to future proof) but efficiency matters more.

2) possibility of having lots of posts. I will have a board for each state un the usa, and within each state in the usa there will be more boards (lots of categories). So, there is the potential that there could be lots of posts at once. I really need a board that could potentially handle it.

3) Looking for a simple interface as shown in the example. Ultra easy for poster to make a post.

4)All the posts are meant to be there for years, so some kind of archive system is needed. Something simple, like saving the archived files in simple txt files. or html like v.htm

5)I have other code which locks the board (so 2 users cant post at once) posts at the bottom of the board. This seems more efficient, but new posts should show up on the top, not the bottom.

6)css style changer (which would be simple just text color and background color changer to make it easier on ppl's eyes to read
Post too long. Click here to view the full text.

 No.197

the ability to reply to posts in not needed, it would be more efficient to just number each post, then if someone was referencing a post they could just put the post number in the new post.
Also the htmlentity in the example post is interesting it seems to limit the amount of chars - too many words and the submit button don't work. Also hitting submit without a message does nothing either. kind of built in anti flood

 No.198

it should be so simple that it does not have error checking messages… just reading and posting. More efficient and user friendly that way.

 No.199

I put 2 simple textboards at https://github.com/4usacom
They are called textboard1 and textboard2 Each one is just like 5 lines of code! If you could improve on either it would be so awesome, the goal is just efficiency in case many boards were run. I will pay for any help!



File: 1579621976318.jpg (15.82 KB, 425x425, 47.jpg)

 No.179[Reply]

Could you make [create new thread] link that shows/collapses the post form? This makes browsing from mobile phones so much more enjoyable and looks nice. I really want to implement that in a production site. One example here - https://16chan.xyz/b/ (which is annoying because he intentionally made it not function from iphones) 4chan and npfchan has it too, probably the best looking is npfchan.
It is rather minor, but seems to really make a huge difference in the feel of the boards, especially from mobile. Check this out, then make sure to check it from mobile!! https://4usa.com/z1/ It makes probably the worse looking chan (viewed) from mobile phones (tinyib) look nice on mobile phones, way less awkward!
I can up the patreon for 1 month to whatever you want as payment for the mod. Maybe it would be easy to implement the npfchan style? Not sure, and i would rather have it done by a pro instead of just hacking something myself, as this will be on a production server.

 No.180

By the way the example shown (the tinyib hack) runs from just one php file, that's it! The entire board is just a bit over 3k lines, but its all in one php file.

 No.183

I have added a hide-post-form.js script that can add this functionality if you'd like it on your installation: https://github.com/Circlepuller/Tinyboard/commit/0884eb3089a60b25f268d669244499ee63107b08

 No.184

>>183
awesome! I upped the patreon for a month, let me know if I owe ya anything more.

p.s- I was screwing around with the js, and some of it is not even working. It seems to be hit or miss. To make your mod simple and efficient, did you ever think about taking out potentially dangerous js like user added js under the options? I suppose user css is safe, but wow the ability to add user js is nuts, isn't it?



 No.119[Reply]

Ever hear of lynxchan? At least if you had a lynxchan site you would be having a shitty site that not one person comes to and a patreon acct with zero subscribers - but at least it would be modern. A php site like this with thousands of lines of code just to post a file is nothing short of absolutely laughable and just shows what an idiot you are.
1 post omitted. Click reply to view.

 No.121

You are a racist against black ppl, a fat slob, and its fucking laughable that you think thousands of lines of code is needed for a fucking imageboard. Oah and php 7.4 has been a out a long time, douchebag.

 No.122

>>121
Have you even bothered trying to run Tinyboard on 7.4 yourself? You seem pretty salty, and idk why you're posting insults in here thinking I'm going to actually respond in any positive way to them. Also I have no idea why you're babbling about "thousands of lines of code" - I never defended the need for it nor said it wasn't possible without. There's several examples of imageboard software running with a low code base (TinyIB comes to mind).

Throwing the race card makes no sense here either, lmao.

Like I said earlier, Tinyboard is a hobby for me. If you don't like what I've done to it, seriously just pack up and leave.

 No.123

your version calls on tons of private github repos which is thousands of lines of code. Your version is not secure and you are fat.

 No.124

Me and 200 black ppl are going to have a protest outside your workplace. Shame on you for being a racist with a shitty and not secure imageboard with thousands of lines of unnecessary code! What a fat racist!

 No.125

File: 1576950894414.jpg (23.72 KB, 665x574, amiretarded.jpg)

>>123
>>124
Lmao my sides, 0 to 100



 No.117[Reply]

1) is your board able to run on php 7.4 yet?
2) you say you took out some of the unnecessary code on the repo, but then since one has to use composer, it essentially ads thousands and thousands of lines of code from all the dependancies in the composer files. THis seems both unnecessary and a profoundly huge security risk. So why is your way any safer or better than just installing vichan?

 No.118

>>117

1.) I still can't guarantee it until it reaches Debian or Ubuntu Linux distributions, which I test it on. My guess is it should work just fine, I'm not aware of any specific compatibility issues, but you never know what can pop up from under the woodwork.

2.) I'd argue Composer keeps Tinyboard more secure by making security related updates to dependencies as simple as a command. If exposure of these files is a concern to you, I'd be using something like .htaccess to deny viewing access. Also, Github tracks security risks that your project may have if you use a Composer dependency file. vichan is not actively developed with the exception of paid support/security.

Also, I'd like you to know I'd appreciate if you didn't create a thread for each reply you have to my comments, as well as keep the uploaded content SFW on the SFW boards. Replying to a thread and following site rules should not be a chore. Thanks.



File: 1552500556997.jpg (23.98 KB, 219x255, 843b016a2eebc7142c02d8cea0….jpg)

 No.91[Reply]

1)
When someone is in the admin panel, under recent posts/erase local data, when I click on erase local data it does nothing. What is that for?

2)would it be possible to have it so only a subject is required? I was thinking that doing so could possibly reduce server load and also make things easier for the user. Like if someone wants to just upload an image, if the body is required then the person just usually enters random keys in the comment like wsfr. Just an idea.

 No.95

File: 1552501780117.bmp (944.55 KB, 1723x187, New Bitmap Image.bmp)

When one disables requiring anything, it is possible to just press send and it goes through as a blank post like in the pic. Would it be possible to put error correcting in there to prevent that? Also if one selects a file and also a youtube embed is entered, it they will not both show up in the post. Maybe error handling telling the person they can't do a file and embed?

 No.99

Tinyboard already allows you to change the requirements of an OP post:
$config['force_body_op'] and $config['force_image_op']

 No.100

>>99

No shit. But that's not what the question asked. Never mind anyway, php is for faggots, I found an imageboard coded in GoLang.

 No.103

>>100
Lol okay

glhf



File: 1552488620726.jpg (9.42 KB, 255x143, e87a5b782a73cc2c4926f2621d….jpg)

 No.87[Reply]

So i'm on a vpn and maybe that's why- but write the comment, and hit send. it says one needs to do the verification, fine, so it has a back link. After hitting the back link, one sees a blank comment area, the text is gone. I can get the text back by hitting the browser back button twice, interestingly enough.


Sometimes it does the same thing if I forget to enter an image. When I hit the link it gives to go back, the text is blanked out, but if I hit the browser back arrow twice it brings back the text of the comment.

It may just be the vpn that I use causing this effect. Sometime maybe you can see if you can recreate the possible bug? Sometimes the back button works and the comment is still there, sometimes after one sees the error message that says one forgot to send an image or do the captcha, the comment text is gone


File: 1542960080468.png (1.49 MB, 1204x1204, 1501115005770.png)

 No.24[Reply]

>over 1.33 years later
>still no music and frames
1 post and 1 image reply omitted. Click reply to view.

 No.27

https://awsumchan.org/frames.html

There's now a fairly nice frames setup with a YouTube playlist full of music that I feel people would enjoy, selected daily. You're welcome.

 No.29

File: 1547181068842.jpg (237.54 KB, 1204x1204, 1542960080468s.jpg)

>>27
>mfw can't post on awsumchan due to excess arguments
>mfw even when there's frames there's still no frames

 No.30

File: 1548532505324.jpg (451.84 KB, 1920x1080, GIMP kmSXQR.jpg)


 No.31

File: 1548537690487.jpg (199.05 KB, 1204x1204, frames.jpg)

>>30
>mfw horsefucker is back

 No.32

File: 1549043919992.jpg (40.08 KB, 498x374, awshitnigga.jpg)




Delete Post [ ]
[1] [2] [3]
| Catalog
[ an / aw / cr / fi ] [ ra ] [ au / ga / he / sp ]