🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes.announce
Article #511

Re: RSLight - Thread layout for Overboard

#511
From: Retro Guy
Date: Fri, 26 Apr 2024 14:52
47 lines
4051 bytes
SugarBug wrote:

> On Fri, 26 Apr 2024 12:18:08 +0000
> Retro Guy <retroguy@novabbs.com> wrote:

>> Retro Guy wrote:
>> 
>> > Retro Guy wrote:
>> 
>> >> I've been experimenting with an option in overboard to display recent articles by thread.
>> 
>> >> I did this in the past, but it wasn't so great, so trying again. I'm still testing, but if you want to take a look, it's running on www.novabbs.org now:
>> >> https://news.novabbs.org/computers/overboard.php?thisgroup=news.software.nntp
>> 
>> >> The thread vs. flat display will be a toggle in overrides.inc.php (with a default, of course)
>> 
>> >> I'm still testing, so no commit yet.
>> 
>> > I've improved the sorting, removed duplicate display of article that starts a thread, and added a toggle to display 'Thread' or 'Article' view. The toggle will remain with your session, and if you are logged in, will become your default view.
>> 
>> > Hopefully, I can add a commit later today or tomorrow. I'm still trying to find bugs, but I'm sure once I commit I'll start to find them all :)
>> 
>> Well, I got sorting sorted. HAHHAHAHA! (Yes, I'm all alone in a room and may have lost my mind)
>> 
>> Anyway, I have pushed a commit for the new overboard. If you don't create a default in overrides,inc.php, it will default to the original flat articles view. There is a toggle (radio buttons) on the overboard for a user to change that, and it will remain changed for that user.
>> 
>> -- 
>> Retro Guy

> Suggestion: place an interface button for each of the different views, with the option for admin to set one as default or even hide this that or the other.

> Perhaps something like this would make sense: OVERBOARD | THREADED | SINGLE | FUTURE?

> This would allow you to separate all views into separate PHP template files going forward.

I'm trying to grasp what you mean. Currently, the user can choose between 'Articles' (flat), or 'Threads'. Once they choose, it sticks to their Session, and if logged in, is written to their config.

overrides.inc.php contains a setting to choose the default view for the site.

I think you're adding the ability to remove an option from the choices on the overboard (radio buttons). Is that what you mean?

For different 'templates', each view is a separate function in overboard.php. I had to make one change to style.css (remove forcing date to the left), but other than that, the functions use the same stylesheet.

What, if anything, am I missing? (re-reading): Do you mean different overboard buttons? That might be messy as there are at least three ways to get to the overboard.

-- 
Retro Guy
Technical Details
Message-ID: <1b943eaa1aefaa6b658fcc0b500c94f4@www.rocksolidbbs.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <4db039a6015e6a7fece7506639cb5fb9@www.rocksolidbbs.com> <1b8c35def60c1b062c71e1f8ff6072c0@www.rocksolidbbs.com> <22a05f3902ca813be81d25e681a96bfa@www.rocksolidbbs.com> <1a68fb81d32ab6c32d324ba597a197e6$1@sybershock.com>

Show Full Headers
Complete Article Headers
Message-ID: <1b943eaa1aefaa6b658fcc0b500c94f4@www.rocksolidbbs.com>
Subject: Re: RSLight - Thread layout for Overboard
Date: Fri, 26 Apr 2024 14:52:13 +0000
From: Retro Guy <retroguy@novabbs.com>
References: <4db039a6015e6a7fece7506639cb5fb9@www.rocksolidbbs.com> <1b8c35def60c1b062c71e1f8ff6072c0@www.rocksolidbbs.com> <22a05f3902ca813be81d25e681a96bfa@www.rocksolidbbs.com> <1a68fb81d32ab6c32d324ba597a197e6$1@sybershock.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf2.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: rocksolid.nodes.announce
Organization: RetroBBS
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
 logging-data="2433700"; mail-complaints-to="usenet@i2pn2.org";
 posting-account="fYz127kbt+aT6hju4qlokPsE7yMfXI8TzBbT9UvcPrk";
User-Agent: Rocksolid Light
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
 ?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
 H0=hZt'[%)4kG|
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Site: $2y$10$rQHYjI6udJFfHzH/R9/Fvu1lRlI07qYkcYt/rWvxmkKFNsRaNA5GK
X-Rslight-Posting-User: 470b25edab282a455f83b37c76e8728963cc19ae