[ cyb / tech / λ / layer ] [ zzz / drg / lit / diy / art ] [ w / rpg / r ] [ q ] [ / ] [ popular / ???? / rules / radio / $$ / news ] [ volafile / uboa / sushi / LainTV / lewd ]

λ - programming

/lam/bda /lam/bda duck
Name
Email
Subject
Comment
File
Password (For file deletion.)

BUY LAINCHAN STICKERS HERE

STREAM » LainTV « STREAM

[Return][Go to bottom]

File: 1445641354661.jpg (404.72 KB, 2048x2100, wood thinkpad.jpg) ImgOps Exif iqdb

 No.10910

O great /Lambda/ will you please find it in your hearts to fix the newest bug on our board software?

https://github.com/lainchan/lainchan/issues/40
>>

 No.10913

File: 1445643270599.png (401.51 KB, 598x1021, 1441406404949.png) ImgOps iqdb

I really would love to contribute but I am pretty new and learning C so I dont know how I could help as it looks like everything is in php.

friendly bump tho

>>

 No.10915

>>10910
Wooden Thinkpad? Someone's practically committing suicide.

When wood is subjected to heat for a long time, it becomes super-dry.

Super-dry wood is highly flammable.

>>

 No.10916

>>10910
well what does ['board_locked'] do?

>>

 No.10918

Have you tried reverting https://github.com/lainchan/lainchan/commit/6d28f9c98e8b436e0f79f0abb56f4d706fe3722d , e.g.

restoring logic to

https://github.com/lainchan/lainchan/commit/a93f168c79a0c8137a6d9032d42e598469b4b072

e.g.
if (!$_POST['mod'] && $config['board_locked']) { error("Board is locked");
}

>>

 No.10920

>>10915

Isn't the extra expensive model Novena?

>>

 No.10921


>>

 No.10937

I will give it a shot, trying to set up an environment right now.

>>

 No.10940

>>10937
nvm, I gave up, it too much of a pain to set up.

>>

 No.10946

>>>10910


the "board_locked" is set once in /inc/config.php, L 298 and called once in post.php L 20.

Those 2 files are straight copies from vichan, nothing in those files has been altered. If locking the boards doesn't work isn't this a vichan bug?

I tried to run the lainchan code locally from an old commit, there seem to be some problem with the latest commit. It told me the install was successful, I don't see an index file tho. Not sure how to run this

Are you sure that true is spelled correctly, in all lowercase?

>>

 No.10947

>>10910

Also, according to the comments mods are still able to post even if $config["board_locked"] == true. It only has an effect on regular users.

>>

 No.10948

>>10920
That proves that money can't buy everything.

>>

 No.10954


if (!$mod) {
// Liar. You're not a mod.
error($config['error']['notamod']);
}

>>

 No.10955

It's not a bug. Your software doesn't have that feature. You can either make it impossible for non-mods to post at all by changing the config file or you can let everyone post.

>>10918
Then only mods would be able to post.

>>

 No.10964

>>10955
>Your software doesn't have that feature.
Sounds like a bug.

>>

 No.10966

>>10955
We want a board to be locked to people who aren't mods/admin.

>>

 No.10982

>>10964
>Sounds like a bug.
Yes, in some sense.

>>10966
Sorry, I misunderstood. You want the entire board locked? I'll look at it.

>>

 No.10983

>>10966
Why do you need to be able to post on a locked board?

>>

 No.10990

>>10983
So they can scheme without the plebs knowing.



Delete Post [ ]
[ cyb / tech / λ / layer ] [ zzz / drg / lit / diy / art ] [ w / rpg / r ] [ q ] [ / ] [ popular / ???? / rules / radio / $$ / news ] [ volafile / uboa / sushi / LainTV / lewd ]