/halp/ - LynxChan technical assistance

General support

Mode: Thread

Max message length: 4096


Max file size: 1.00 MB

Max files: 3


(used to delete files and postings)


Remember to follow the rules

Anonymous 05/28/2019 (Tue) 18:43:48 No. 786 [Reply]
For whatever reason, uploading an mp3 works perfectly fine on firefox, but completely fails with a "A file had a format that is not allowed by the server."
When i do it on chrome/chromium
Chrome uses a different mime for mp3 and the site must add this mime on the global settings.
>chrome can't meme
Nevermind, I figured it out.

(324.94 KB 382x417 fragezeichenkadse.png)
Anonymous 05/28/2019 (Tue) 07:14:03 No. 773 [Reply]
because all the big chan-apps ignore to implement lynxchan so far and i will write an android reader for it, a general question cause i haven't found a documentation for it: how to create a post/thread via api?
have you checked the repo group? i think there's a now outdated mobile repo you could see
Up to 2.1 there was an api that took json as input, but that's gone now. So you will have to send a regular POST with multipart encoding. You can see how penumbra's js does it for reference.

I never actually went anywhere with it. It's literally nothing.
>penumbras js

Anonymous 05/27/2019 (Mon) 17:00:01 No. 770 [Reply]
I'm currently having another problem with thumb nailing, probably something with CSS again. When multiple files are posted, they cannot fully expand like they should, instead of enlarging to full size they just become slightly bigger. I haven't done anything to the CSS other than make the upload cell and the thumbnails bigger.
Oh. Honestly suprised this one wasn't me fucking up something lel.

Anonymous 04/13/2019 (Sat) 21:27:55 No. 606 [Reply]
IS there any way to enable global themes on the boards page?
6 posts omitted.
which .css file is the Default theme?
There is no single css for the default theme. The default theme is just not having any theme overriding the css.
any simple way to auto select a theme?
Not really, you'd have to write js for that.

Anonymous 05/27/2019 (Mon) 02:46:15 No. 767 [Reply]
Is there some way to make files downloaded either use the original file name or the classic chan unix time file name? Or at least take the image-jpg/image-png off the end?
There's already a link with the original filename.

Anonymous 01/19/2019 (Sat) 16:29:35 No. 524 [Reply]
Hi. Using the placeholder front end and going to my site (index.html) can you pls tell me the file to edit the top left (in the address bar where the favicon usually is) it says "My chan" in the address bar and I did not see the title in the html or css. Thanks!
Go to global settings and change the site name.
A little trick that helped me out was using grep/ack if I couldn't find a particular file. For instance the text "Watched threads" you would do a simple "ack watched threads" on the OS of your using.

Also I think GitGud has a good string searching feature that looks through all the files in the repo. Helped me a bit too.
what's the status of the placeholder fe? looks like it last works on 2.1
Discontinued midway to 2.2. However, you could try the lynxhub branch on penumbra if you want what this site uses.

Anonymous 04/12/2019 (Fri) 23:45:13 No. 603 [Reply]
How would I set a lynxhub powered imageboard from http to https?
Do you mean to force the http to https redirect or how to set up https at all?
If you mean how to set https at all, you'd need the https certificate and key, place them with the correct name on the correct place (see src/be/readme) and enable ssl on global settings.

The downside of that is that most people use LE, and it requires renewel every now and then, and there is no integration. However, one could use their software and tell it to restart lynxchan after a renewal.

If you mean the redirect to force ssl usage, that's the same setting that enables ssl, it has 3 modes: disabled, enabled and mandatory.

Another option is to get a webserver handle ssl between the user and the engine running on some other port than 80.
LE's certs aren't named ssl.key/cert, what do
Create links.

(53.53 KB 450x434 garbage.jpg)
Anonymous 05/23/2019 (Thu) 13:07:31 No. 749 [Reply]
I'm still having a problem with thumbnails. If I set the CSS and the global settings for thumbnails to be the same size, it works. Thumbnails show up large. However, in some posts will multiple images, they go outside the frame.
How do I solve this?
6 posts omitted.
2.2.x doesn't fix the problem either.
And actually it looks like it got worse. Now thumbnails of really big images shrink when clicked on.
>There are some things set on the cell that holds the image
(296.91 KB 614x665 a.png)
why set thumbnail size with css.. thats very gay. you should instead pass the correct parameters to the thumbnailing program. that way it will always have the correct size instead of the current random size.
You are getting it wrong. Is not random, there is a set size passed to imagemagick that can be configured. The css is only a complement so pages won't stretch while the thumbs load.

(853.91 KB 600x338 7zip.gif)
Anonymous 05/21/2019 (Tue) 19:46:56 No. 740 [Reply]
Files do not expand when clicked on. How do I fix this?
3 posts omitted.
Also, you should change the css for thumbs to use the same size you have on your back-end settings. I think the css is slightly larger, making thumbs look blurred.
What CSS file would that setting me in?
I think it's postings.
I did this, now multi-file posts overlap. What do?

Favicon Anonymous 04/08/2019 (Mon) 02:51:38 No. 600 [Reply]
Is there a global setting to set a favicon or should I manually edit it in every file?
5 posts omitted.
>can upload any file to mongo and it will be served as is
i want to use a png but isn't the engine looking for favicon.ico cos i see
> "GET /favicon.ico HTTP/1.1" 404 464
in the error log
Is not the engine looking for it, is the browser.
>I don't know, that's up to browsers.
long story short
> png put png doesn't show
> png put ico does show
> ico put ico does show
mystery solved
its not going to work if the file is not a .ico. its what the browser always looks for and you get those errors because it cant find a .ico file
idk tested in ff n chrom, werkd


no cookies?