[RC] Tables

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Sniper_E
Registered User
Posts: 1126
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [RC] Tables

Post by Sniper_E »

ssl wrote: Sun May 09, 2021 8:17 am Hi Sniper_E
The solution was given here: https://www.phpbb-fr.com/forums/viewtop ... 6#p1678306
I don't see how any of that css will remove the outer blue border of the table like Kikix was asking for.
But I will check it out and see what it does. It may need to be added in. Thanks for the link!

And if you do use that css above for something else in Tables, then I would suggest you use a div.tables1
before those class names so it will effect only the ext tables. That css alone will effect all tables in your forum.

If Kikix wants the blue background of a table gone he would have to add div.tables1.forumbg { background-image: none !important; }
That would only effect the tables from the ext.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
ssl
Registered User
Posts: 1580
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert
Contact:

Re: [RC] Tables

Post by ssl »

Sorry for my English ... I do my best!

phpBB: 3.3.11 | PHP: 8.2.16
[GitHub] - [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
HaioPaio
Registered User
Posts: 265
Joined: Mon Jan 08, 2018 7:39 pm

Re: [RC] Tables

Post by HaioPaio »

No longer valid - Mods, please delete.
www.der-räuchertreff.de phpBB 3.3.x php 7.4
User avatar
Sniper_E
Registered User
Posts: 1126
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [RC] Tables

Post by Sniper_E »

Yes I see those results ssl. Kikix was asking me about the outline borders and threw me off. There were no borders in the css there.
The solution was to over ride the padding in the .forumbg class with the .forumbg-table class.
That "border" is actually a .forumbg backround color reduced to 1px on the sides, it's not a border, just looks like one.

@HaioPaio, Who? What? Why? ................. Huh?
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
HaioPaio
Registered User
Posts: 265
Joined: Mon Jan 08, 2018 7:39 pm

Re: [RC] Tables

Post by HaioPaio »

Sniper_E wrote: Thu Sep 23, 2021 10:55 pm HaioPaio, Who? What? Why? ................. Huh?
My problem was located between my ears. However, I could have used the space for thanking you.
Thaaaaaanks
www.der-räuchertreff.de phpBB 3.3.x php 7.4
visite777
Registered User
Posts: 4
Joined: Sat Sep 18, 2021 8:56 am

Re: [RC] Tables

Post by visite777 »

Hello Sniper_E,

ist there any chance to convert an excel table to the ext?

best wishes
User avatar
Sniper_E
Registered User
Posts: 1126
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [RC] Tables

Post by Sniper_E »

With extra classes and the right css for them, you could make these tables look just like a excel table.

Image

But this ext is setup for a prosilver type of table using phpbb's table css in your phpbb forum.
To convert an existing excel table into this extension, I would not have a clue how to do that.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: [RC] Tables

Post by 3Di »

visite777 wrote: Mon Sep 27, 2021 12:22 am ist there any chance to convert an excel table to the ext?
To convert an excel worksheet into a format that can be used to render a table you need:
viewtopic.php?f=456&t=2530201
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
visite777
Registered User
Posts: 4
Joined: Sat Sep 18, 2021 8:56 am

Re: [RC] Tables

Post by visite777 »

Thank you 3Di,
works a treat :P
and also thank you to Sniper_E,
of course you do a good job :D

best wishes...
User avatar
newbyeagain
Registered User
Posts: 73
Joined: Tue Oct 05, 2021 10:52 pm

Re: [RC] Tables

Post by newbyeagain »

Sniper_E wrote: Wed Sep 14, 2016 5:39 pm Extension Name: Tables...
Useful but... can you post a example of use?
Thanks
Io c'ho vent'anni, perciò non ti stupire se dal niente faccio drammi. Ho paura di lasciare al mondo soltanto denaro,
che il mio nome scompaia tra quelli di tutti gli altri. Ma c'ho solo vent'anni e già chiedo perdono per gli sbagli che ho commesso.
Ma la strada è più dura quando stai puntando al cielo. Quindi scegli le cose che son davvero importanti. Scegli amore o diamanti, demoni o santi. (MANESKIN - "Vent'anni")
Hervé
Registered User
Posts: 414
Joined: Tue Jun 04, 2019 7:51 am
Location: Belgium
Name: Rudy
Contact:

Re: [RC] Tables

Post by Hervé »

Hi,
Is there a way to control the tables cells height ?
Thanks
Hervé
Registered User
Posts: 414
Joined: Tue Jun 04, 2019 7:51 am
Location: Belgium
Name: Rudy
Contact:

Re: [RC] Tables

Post by Hervé »

in /ext/sniper/tables/styles/prosilver/theme/tables.css I read
/* Tables custom classes - Add all classes for every cell needed */
So I've tried to add .height { line-height: 15px; }
and to invoke it thanks to [tr=height] but I get a fatal error in the renderer.
What am I doing wrong ?
Can you help ?
Hervé
Registered User
Posts: 414
Joined: Tue Jun 04, 2019 7:51 am
Location: Belgium
Name: Rudy
Contact:

Re: [RC] Tables

Post by Hervé »

Nobody knows where the .css defining the .bg1 class is located ?
Hervé
Registered User
Posts: 414
Joined: Tue Jun 04, 2019 7:51 am
Location: Belgium
Name: Rudy
Contact:

Re: [RC] Tables

Post by Hervé »

Modifying the .bg1 class in the colors.css file of SE_square effectively modifies the display of the table.

The catch is that I now realize that .bg1 is far from being only used by the Sniper's Table extension.
Even the background of the forum index is changed!
To modify the table celles height it would therefore be necessary to use a class other than .bg1 for the extension.
I still do not have an answer from its author :|
User avatar
Sniper_E
Registered User
Posts: 1126
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: [RC] Tables

Post by Sniper_E »

I apologize...
If you wanted to adjust the line height in bg1 you could add it in the tables/styles/prosilver/theme/tables.css
div.tables1 .bg1 { line-height: 15px; }
Don't edit your colours.css stylesheet because it will effect the whole forum.
What else can I answer Hervé? I'd be glad to help if I can. Are you sure the bg1 is what needs the adjustment?
See if the div.tables1 td { can be altered to get what you want.
Image . -.. / .... ..- -- .--. .... .-. . -.--
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!

:!: Sniper_E Styles | phpbbmodders :!:
Post Reply

Return to “Extensions in Development”