Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2019-08-01 10:15:28

dezix
Member
From: France
Registered: 2019-07-31
Posts: 7

Looking for MOD that changes <TABLE> from Index & Forum View to <DIV>

Hello the FluxBB World !

To make FluxBB very texte mode friendly
and above all very easy readable in a terminal web-browser like Lynx,

I'm in search of a MOD that generates an output looking like  :

$ lynx https://www.debian-fr.org/c/support

Not being a webdev expert,
I guess that <TABLE> element isn't the best suited for my purpose.

I understand too that I can edit index.php and viewforum.php
but maybe some one (with better skills than I) has yet release such a MOD

Thanks for advises.

Last edited by dezix (2019-08-03 06:18:31)

Offline

#2 2019-09-10 15:40:48

JJones
Member
Registered: 2019-04-28
Posts: 59

Re: Looking for MOD that changes <TABLE> from Index & Forum View to <DIV>

I'm sorry for the late response .... please clarify your request!

You want a script that changes the PHP files / Template files to convert <table> to <div> ???

OR

You want a javascript code that converts the <table> to <div>?

The 1st option is easily done without a script and a few keyboard shortcuts ( plus having to change <tr> & <td> ) .... HOWEVER, this again comes down to the theme you are wanting, you'll have to manually go back through each one and add the classes you want in each new <div><ul><span> .... basically youll still get stuck with having to manually edit to your design.

Offline

#3 2019-09-10 15:45:01

dezix
Member
From: France
Registered: 2019-07-31
Posts: 7

Re: Looking for MOD that changes <TABLE> from Index & Forum View to <DIV>

Thanks for answer JJones

I'm looking for the first option :

a script that changes the PHP files / Template files to convert <table> to <div>

Offline

#4 2019-09-10 15:46:33

dezix
Member
From: France
Registered: 2019-07-31
Posts: 7

Re: Looking for MOD that changes <TABLE> from Index & Forum View to <DIV>

or some theme that already does that

Offline

#5 2019-09-10 16:03:36

JJones
Member
Registered: 2019-04-28
Posts: 59

Re: Looking for MOD that changes <TABLE> from Index & Forum View to <DIV>

Depending on which code editor you are using:

with PSPad or Notepad++  === use CTRL + H key ... in the first input field, type in <table, in the second input field type in <div
Repeat these steps to the <tr, <td   ... and again for the closing tags </table>, </tr>, </td>

It took me about 45 minuets to replace everything in the PHP files of the core, and there is a LOT of trash....

Also note, things arun a lot smoother and faster when you start telling your text editor to default open specific file extensions ( php, htm, html, js, blah blah blah..

Offline

#6 2019-09-10 16:20:46

dezix
Member
From: France
Registered: 2019-07-31
Posts: 7

Re: Looking for MOD that changes <TABLE> from Index & Forum View to <DIV>

Ok, it's very kind from you, thanks

Best regards

Offline

Board footer

Powered by FluxBB