/lynxchan/ - LynxChan

The best engine you will ever shitpost with.

Mode: Reply
Name
Subject
Message

Max message length: 4096

Files

Max file size: 1.00 MB

Max files: 3

E-mail
Password

(used to delete files and postings)

Misc

Remember to follow the rules



(6.64 KB 250x250 15384333296811s.jpg)
Cat 05/17/2019 (Fri) 05:54:23 Id:2d3c2e No. 795
woohoo 2.2 coming out in one day! get hyped bitches!
what's the proper way to use templates? how to add muh themes in 2.2 ?
>>802
What do you mean by how to use templates?
And adding themes is a bit more complicated now. You have to add CSS entries using theme-x where x is the theme code you set on the themes.js file. Look at the theme and how it is registered. Then look at the CSS entries for it.
>>803
so i have to add theme_id infront of every element in my css and append them to global.css ?
what about custom board css
were there changes there
>>804
No. You only add entries on elements that willbe changed on the theme. For example:

.theme_clear #postingForm th, .theme_clear .modalTableBody th {
background: #dddddd;
}

All it does is to change the th on elements with id postingForm when they are in a parent with the class .theme_clear. That class theme_X is set by the themes.js code. I strongly recomment you read the source code on themes to understand it better.

>>805
What.
>>806
but that's what i wrote
>>807
You don't put everything on global.css. If something is set on another css, you put there right after the original entry. And is not for every element, just for the ones you want to change on that theme from the original.
penumb 2.2 doubles links on top left of account login page
>>811
What do you mean?
can i ask to make the quick reply remember it's previous position? i'd do it for you but idk js
>>813
On which site specifically is that happening and on which page?

>>814
I think that making it jump to the place where the post is enables people to "unstuck" it. Sometimes due to small screen sizes it might end up with the top bar used to drag it outside the view.
>>817
>On which site specifically is that happening and on which page?
/.static/about.html
i don't remember changing anything, it's 2.2.x
>>817
>I think that making it jump to the place where the post is enables people to "unstuck" it. Sometimes due to small screen sizes it might end up with the top bar used to drag it outside the view.
in that case i suggest making it optional in settings > other, because what usually happens is you click on a post number to reply and the qr is 50 or 80% submerged so you have to drag it every time for posts close to the bottom
.theme_clear.modalDecorationPanel
>or
.theme_clear .modalDecorationPanel

is space just for human readability in this?
>>820
No, the space is necessary.
>>818
It's something that you changed.
>>822
my mistake, login to about
>>823
>to
not
>>823
Nothing here.
https://balkanchan.ga/login.html
clear theme doesn't apply also
idk if you get any idea later, i tried git and the tar archive, diff folders a few times
>>828
Whoever migrated that front-end forgot to remove the innerhtml from those links. So first it shows the text on the innerhtml and then the text through css on ::after.
>>828
Also, make sure -r was ran after upgrading, because some pages are cached in disk, like login.
>>828
Also, that front-end didn't add the themeLoader script that actually applies the selected theme, it shows on the console.
>>832
>>829
no migration, copy
>>830
> -r
i think that did it, thx
one nice thing about the new theme thing is that there is no 'flash' now
>>835
That was the whole point of the refactor of the themes script.
when you follow quote links [forward] and you go back, the screen doesn't go back to the previous post/s
board description should be optional
on boards page, overboard text is missing; but that gives an idea if width gets too small, to switch the top header to icons only [no text]
>>839
Do you have an overboard set? That link and the link to sfw overboardar are removed when they aren't set.
>>839
>if width gets too small, to switch the top header to icons only [no text]
Also, that is already the case.
>>840
yes, you can see it here too

>>841
nice.jpg
>>842
Everything seems fine. Did you refresh your cache on the browser?
>>843
so it's supposed to be like this
>>841
you should make the side catalog button also close it, cos the X can't be seen if you open it, and it's more lazy on desktop cos then you don't have scroll all the way back up
>>844
Aaaah yeah, I missed that for some reason.
:v
I'll look into it. In the future, post a picture, I'm having issues understanding you.
>>844
Fixed on master, lynxhub and 2.2.x branches.

>>845
It is entirely disabled on mobile. At worst if your screen reduces in size after the initial loading it will be a bit inconsistent, but I am yet to hear from someone having that issue.
watched thread entry is empty if op starts with a url or a greentext
https://balkanchan.ga/t/res/14.html
https://balkanchan.ga/ck/res/5.html
hypothetically if someone did want (You)s could it be on his side like an extension or custom js in settings
>>849
Will look into it.

>>850
It would be easier to add to the front-end js.
>>849
Fixed on lynxhub, master, 2.2 and 2.1 branches.
> Worker 1 booted at
2.2.1 doesn't boot
>>853
What is happening?
>>854
i launch boot.js and that usual 'worker' output doesn't show up, top shows only one node
>>855
How long are you waiting?
>>856
how long do i have to wait
>>857
Usually it's less than 5 seconds, but sometimes the engine has to do some stuff and might take a little longer. Also, the default tor exit node list is down today, so you'd have to wait for that to timeout and then the engine would stop booting.
>>858

/home/ubuntu/LynxChan-2.2.1/src/be/kernel.js:630
throw error;
^

Error: connect ETIMEDOUT 138.201.14.212:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)


is that it? and it exits
>>859
nvm, copied torips
2.2.1 uses just 50mb; does memory use increase over time or use?
>>860
Yeah, that was it. Also yes, that is an option. Another option is changing the tor exit node list to something else, there are alternatives out there.

* `torSource`: url to the list of TOR exit nodes ips. Defaults to `https://check.torproject.org/exit-addresses`.
>>861
No, but concurrent users might increase it. Also, the cache will use memory, but it should prune itself hourly to drop cached pages that are not being accessed.
>>861
Also, core count affects ram usage.
>>819
nvm just had to comment 2 lines
> Extension used for thumbnails (Will make all gif thumbs do not animate):
> Extension used for thumbnails (Will not animate gif thumbs):
better si
not really sure but it looks like jpg thumbnails of gifs don't show up on the front page
>open qr
>type something
>put the text cursor at the beginning (top left)
>click some other post's number
>quote link goes at the end (bottom right)
code tag seems to truncate new lines
>>905
it has been there
>>906
Show me.
>>908
https://balkanchan.ga/t/res/6.html#27
empty lines here was the issue
>>910
weird, ok then
>>909
btw, on that post code tags were not used.
>>912
ye, i tried a few times and didn't use them at the end
>>914
doesn't look like the /src/
2.2.1 borked too, did mongo dieded?
>>915
switched to my prev 2.2.1 dir
2.2.2 fugged somehow
>>914
>>915
>>916
nvm, my bad, on latest update, missed to remove a bracket
>>838
notice me senpai
i had 'Max message length' set to 2000, did a long post and didn't get a pop up saying it was too long, what happened was the text was cut with the extra characters removed
this does not happen if that setting is left empty
>>946
Wait, can you tell me more? You do get a popup if you don't set a different limit?
>>947
either there was no pop up or i didn't notice it
>>948
Were you using js?
>>949
yes
>>950
Which site was that? Because I couldn't reproduce on penumbra's master branch.
>>951
i can't rep either, weird
text was 2015 char, it was op
dunno if already mentioned somewhere but one annoying thing is quote links are always added at the end in the post box, instead of where the cursor is
have you seen how 4chanX does it's post preview
feature request

add option to auto spoiler thumbnails of images [and videos?] posted via tor

Delete
Report/Ban

Captcha (required for reports and bans by board staff)


no cookies?