Rocksolid Light

Welcome to Rocksolid Light

register   nodelist   faq  


rocksolid / rocksolid.programming / Re: a bigger text box for posting

SubjectAuthor
* rslight modding threadanonymous
+* Re: rslight modding threadRetro Guy
|`* Re: rslight modding threadRetro Guy
| `* Re: rslight modding threadanon
|  `* Re: rslight modding threadRetro Guy
|   `- Re: rslight modding threadanon
+* a bigger text box for postingAnonymous
|`- Re: a bigger text box for postingRetro Guy
+* i agree it is the right way to do it in the cssAnonymous
|`- Re: i agree it is the right way to do it in the cssRetro Guy
+- and this is how it looksAnonymous
`- this is how it looked beforeAnonymous

Subject: rslight modding thread
From: anonymous@anon.com (anonymous)
Newsgroups: rocksolid.programming
Organization: def2
Date: Sun, 17 May 2020 18:09 UTC
this thread is dedicated to all the mods and hacks i have been doing and will do on the innocent source code of rslight, which is the easiest way to run a news server yet.

Mod "automatic redirect after posting":

insert
<meta http-equiv="refresh" content="0;url=<?php echo $file_thread.'?group='.urlencode($returngroup[0]).'"' ?>
in line 191 in post.php
--
Posted on def2
z5bqfv5v75kxy7pj.onion


Subject: Re: rslight modding thread
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Organization: Rocksolid Light
Date: Tue, 19 May 2020 00:08 UTC
anonymous wrote:

this thread is dedicated to all the mods and hacks i have been doing and will do on the innocent source code of rslight, which is the easiest way to run a news server yet.

Mod "automatic redirect after posting":

insert
<meta http-equiv="refresh" content="0;url=<?php echo $file_thread.'?group='.urlencode($returngroup[0]).'"' ?>
in line 191 in post.php

I will add this as an option in config for the next release of rslight. Thanks for the mod!

Retro Guy

--
Posted on: Rocksolid Light
news.novabbs.com



Subject: Re: rslight modding thread
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Organization: Rocksolid Light
Date: Wed, 20 May 2020 04:38 UTC
Retro Guy wrote:

anonymous wrote:

this thread is dedicated to all the mods and hacks i have been doing and will do on the innocent source code of rslight, which is the easiest way to run a news server yet.

Mod "automatic redirect after posting":

insert
<meta http-equiv="refresh" content="0;url=<?php echo $file_thread.'?group='.urlencode($returngroup[0]).'"' ?>
in line 191 in post.php

I will add this as an option in config for the next release of rslight.

Thanks for the mod!

This mod has now been added for release 0.6.5d. It is configurable from the main config file.

Thanks again!

Retro Guy


--
Posted on: Rocksolid Light
news.novabbs.com



Subject: Re: rslight modding thread
From: anon@anon.com (anon)
Newsgroups: rocksolid.programming
Organization: def5
Date: Wed, 20 May 2020 23:07 UTC

why, thanks for this nice piece of software. i think you are very close to the stage where this is really plug'n'play (or maybe you are already there, i have to try the d version as well).
and for a newsserver, this really says something: i can well remember the countless hours i have spent trying to understand some weirdass doumentation from decades ago and screening logfiles for the installation and maintenance of inn2. all this will not be necessary anymore for new admins if they use rslight.
so this also increases the chance of ppl opening new nodes.
although in terms of redundancy we should be pretty well setup by now, huh ?
i mean, even if all of our servers would be permanently out for some reason, you could still rebuild everything using just one of the news servers carrying the groups (maybe except /test, i don't know if any server has really _all_ the groups).

Posted on def4


Subject: Re: rslight modding thread
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Organization: Rocksolid Light
Date: Thu, 21 May 2020 08:41 UTC
anon wrote:


why, thanks for this nice piece of software. i think you are very close to the stage where this is really plug'n'play (or maybe you are already there, i have to try the d version as well).
and for a newsserver, this really says something: i can well remember the countless hours i have spent trying to understand some weirdass doumentation from decades ago and screening logfiles for the installation and maintenance of inn2. all this will not be necessary anymore for new admins if they use rslight.
so this also increases the chance of ppl opening new nodes.

Thank you for the kind words. Once thing I want to do eventually is to create a Debian package for it, making it as simple as possible to install. This won't be soon, but it is something I'd like to do eventually.

although in terms of redundancy we should be pretty well setup by now, huh ?
i mean, even if all of our servers would be permanently out for some reason, you could still rebuild everything using just one of the news servers carrying the groups (maybe except /test, i don't know if any server has really _all_ the groups).

I think the idea of permanenly losing messages in rocksolid.* is very slim at this point. I do maintain one separate backup (rocksolid0) who's only purpose is to keep an archive of the groups. It does nothing else. Of course the more newsservers that carry the hierarchy, the more redundancy. rslight, being a newsserver, can easily be used to repopulate another site that may have been lost. Much easier than applying a backup or export of forum software, you just connect to rslight and grab all the messages.

Quick question: Do we want a copy of the nntp server as a standalone? Right now it's a bit tied in to rslight, but that can be changed. Would this be of benefit? If so, it would take a bit of work, but it might be useful for other interfaces without the need to tie in so much of rslight.

Retro Guy



--
Posted on: Rocksolid Light
news.novabbs.com



Subject: Re: rslight modding thread
From: anon@anon.com (anon)
Newsgroups: rocksolid.programming
Organization: def5
Date: Thu, 21 May 2020 18:46 UTC

Once thing I want to do eventually is to create a Debian package for it, making it as simple as possible to install.

That would be super easy for all debians. Is that complex to do ? I never did the exercise myself.

Quick question: Do we want a copy of the nntp server as a standalone?

Right now I have no need for this, because I plan to keep rslight running on the tor side, and vichan on the same machine just for the i2p side.

Posted on def4


Subject: a bigger text box for posting
From: poster@anon.com (Anonymous)
Newsgroups: rocksolid.programming
Organization: i2pn2 (i2pn.org)
Date: Mon, 1 Jun 2020 18:25 UTC
replace line 342 in post.php with

<textarea class="postbody" id="postbody" name="<?php echo md5($fieldencrypt."body")?>" style="width:650px;height:190px;" wrap="soft"><?php
Posted on def2.i2p


Subject: Re: a bigger text box for posting
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.programming
Organization: Rocksolid Light
Date: Mon, 1 Jun 2020 22:53 UTC
Anonymous wrote:

replace line 342 in post.php with

<textarea class="postbody" id="postbody" name="<?php echo md5($fieldencrypt."body")?>" style="width:650px;height:190px;" wrap="soft"><?php

The box size is set in css (style.css):

textarea.postbody {
  background-color: var(--color-medium);
  border: none;
  color: var(--color-title);
  height: calc(1em * 1.5 * 20);
  width: calc(1em * 1.5 * 40);
}

And for mobile:

textarea.postbody {
  height: calc(1em *1.5 * 10);
  width: 100%;
}

Might be best to make the change there as rslight is (tries to be) responsive.

Retro Guy



--
Posted on: Rocksolid Light
www.novabbs.com



Subject: i agree it is the right way to do it in the css
From: poster@anon.com (Anonymous)
Newsgroups: rocksolid.programming
Organization: i2pn2 (i2pn.org)
Date: Tue, 2 Jun 2020 07:57 UTC
Attachments: unnamed (image/jpeg)
guess i just have an outdated version, because putting these parameters gives a strange result (see pic). never mind the actual dimensions (i played around with these), but any change is for all elements.


Attachments: unnamed 
Subject: and this is how it looks
From: poster@anon.com (Anonymous)
Newsgroups: rocksolid.programming
Organization: i2pn2 (i2pn.org)
Date: Tue, 2 Jun 2020 08:00 UTC
Attachments: unnamed (image/jpeg)
after my mod in post.php (which is kind of crude, i will admit).


Attachments: unnamed 
Pages:12
rocksolid light 0.6.5e
clearnet i2p tor