3.1.x Extensions Database 3.1 / 3.2[RC] Tables bbCode

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Android Chrome

Re: [RC] Tables bbCodes

Post by Sniper_E »

OK then it's a done deal. Let's see how this works.

First post Updated with version 2.0.7

The table= BBCode has changed so you will have to delete your old one to update.

[ Post made via Samsung Galaxy S5 Active ] Image
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

Puchahawa
Users
Users
Posts: 193
Joined: 20 Jun 2015, 17:58
    Windows 7 Chrome

Re: [RC] Tables bbCodes

Post by Puchahawa »

Well that's interesting. disable / delete data for 2.0.6, removed the table= bbcode, added 2.0.7 and it's a no show in manage extensions. No entry at all? :question: :question: That was on board with 3.1.10. So checked on my 3.1.9 test board and got the same thing. :whistl:

Did a comparison of the two .json files and what changed was adding this code.

Code: Select all

"version-check": {
			"host": "sniper-e.com",
			"directory": "/versions",
			"filename": "tables_version.json"
		}
removed it and it now shows in manage extensions. :question: :question:

Sooo, I went to activate it and got this beauty. :smile:
tables 2.0.7.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Android Chrome

Re: [RC] Tables bbCodes

Post by Sniper_E »

Well this is embarrassing. :whistl:

It's more than just that. I setup a 3.1.10 board and got a white page when trying to enable. That was after removing the version check part. It does show but want install for me.

Back to the drawing board. I'm baffled and confused at the moment.

[ Post made via Samsung Galaxy S5 Active ] Image

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Android Chrome

Re: [RC] Tables bbCodes

Post by Sniper_E »

That helped a lot and fixed the problem with the install.

It would not install with that migration file.
I removed the <script> part of that line and it installed correctly.

That <script> part of the table= bbcode may have to be added in manually after install. That's if it's needed at all. I don't think it's needed there, I have that <script> in the footer.

First post updated.

[ Post made via Samsung Galaxy S5 Active ] Image

User avatar

proavia
Users
Users
Posts: 65
Joined: 30 Aug 2015, 22:50
    Windows 7 Internet Explorer

Re: [RC] Tables bbCodes

Post by proavia »

Alrighty then - I'll just wait to install for now. :yikes:

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Android Chrome

Re: [RC] Tables bbCodes

Post by Sniper_E »

Looks like it's working fine but the switch title on hover is not changing after selection. And I had all of that working smooth when testing on my 3.1.9 site. :roll:

[ Post made via Samsung Galaxy S5 Active ] Image

User avatar

proavia
Users
Users
Posts: 65
Joined: 30 Aug 2015, 22:50
    Windows 7 Internet Explorer

Re: [RC] Tables bbCodes

Post by proavia »

Installed fine. On hover I get the guidelines. On click it opens a "Table Selections" box with columns 1-6 and 10 rows (table icon) under each column. With version 3.1.10

I like that look - and easier to choose table columns/rows.

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Android Chrome

Re: [RC] Tables bbCodes

Post by Sniper_E »

Yea that older drop down selections had issues showing in some places. It was cut off in some cases. And the way it's setup now works fine. Smaller resolutions it will drop five of the table icons down under the top five. Responsive works much better this way.

I'll get those switch titles working, not sure what happened there. I must have got files mixed up. Those hover titles have to work right for me. Something so simple sure has giving me trouble lately.

[ Post made via Samsung Galaxy S5 Active ] Image

User avatar

Puchahawa
Users
Users
Posts: 193
Joined: 20 Jun 2015, 17:58
    Windows 7 Chrome

Re: [RC] Tables bbCodes

Post by Puchahawa »

Interesting way of doing the dropdown. I like it. :tumbsyes: I see the same thing as far as the hover titles. Strange how that is happening.

Tested on both 3.1.9 and 3.1.10. FF, IE and chrome

One thing I did notice and I'm not sure if it matters is when I chose a few different options and the code was put into the text area it wasn't consistent. If you look at the first example the /tr of the second and third rows are at the beginning of the third and fourth rows.

In the second example it shows as I believe you intended.

Code: Select all

[size=130]Table Title[/size]
[table=30 null][thead][tr=null][th=50]Title1[/th][th=50]Title2[/th][/tr][/thead]
[tbody][tr=bg2][td]Text11[/td][td]Text21[/td][/tr]
[tr=bg1][td]Text12[/td][td]Text22[/td]
[/tr][tr=bg2][td]Text13[/td][td]Text23[/td]
[/tr][tr=bg1][td]Text14[/td][td]Text24[/td][/tr][/tbody][/table]

[size=130]Table Title[/size]
[table=45 null][thead][tr=null][th=33]Title1[/th][th=33]Title2[/th][th=34]Title3[/th][/tr][/thead]
[tbody][tr=bg2][td]Text11[/td][td]Text21[/td][td]Text31[/td][/tr]
[tr=bg1][td]Text12[/td][td]Text22[/td][td]Text32[/td][/tr]
[tr=bg2][td]Text13[/td][td]Text23[/td][td]Text33[/td][/tr]
[tr=bg1][td]Text14[/td][td]Text24[/td][td]Text34[/td][/tr][/tbody][/table]
The other thing I noticed is when the button is hovered over you get two things. the hover label and the guidelines. That's cool but the hover label covers part of the guidelines. Maybe dropping the guidelines down 1/4 inch or so should resolve that.

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Android Chrome

Re: [RC] Tables bbCodes

Post by Sniper_E »

Thanks my man! I'll have to look at the language file to see if I put the /n in the wrong place. Knowing my record I'm sure that is the case.

The guidelines on hover was at the top. When you clicked, the guidelines were in the mouse in the way of the selections. So I moved it under the button. I may move it to the Tables Selection title in the selections box and leave the button alone with just the Show Selections title popping up.

I guess we're going to 2.0.8 soon.

[ Post made via Samsung Galaxy S5 Active ] Image

User avatar

proavia
Users
Users
Posts: 65
Joined: 30 Aug 2015, 22:50
    Windows 7 Internet Explorer

Re: [RC] Tables bbCodes

Post by proavia »

Some of mine show fine, other have the [/tr] on the next line. phpBB 3.1.10 with Prosilver SE in both IE and Chrome.

Here's what I see (I've only check these 2 so far):

2x4 - /tr wraps

Code: Select all

[size=130]Table Title[/size]
[table=30 null][thead][tr=null][th=50]Title1[/th][th=50]Title2[/th][/tr][/thead]
[tbody][tr=bg2][td]Text11[/td][td]Text21[/td][/tr]
[tr=bg1][td]Text12[/td][td]Text22[/td]
[/tr][tr=bg2][td]Text13[/td][td]Text23[/td]
[/tr][tr=bg1][td]Text14[/td][td]Text24[/td][/tr][/tbody][/table]
3x5 - /tr doesn't wrap

Code: Select all

[size=130]Table Title[/size]
[table=45 null][thead][tr=null][th=33]Title1[/th][th=33]Title2[/th][th=34]Title3[/th][/tr][/thead]
[tbody][tr=bg2][td]Text11[/td][td]Text21[/td][td]Text31[/td][/tr]
[tr=bg1][td]Text12[/td][td]Text22[/td][td]Text32[/td][/tr]
[tr=bg2][td]Text13[/td][td]Text23[/td][td]Text33[/td][/tr]
[tr=bg1][td]Text14[/td][td]Text24[/td][td]Text34[/td][/tr]
[tr=bg2][td]Text15[/td][td]Text25[/td][td]Text35[/td][/tr][/tbody][/table]
One other small display item:

IE11
Tables - IE11.jpg
Chrome 54.0.2840.71
Tables -Chrome 54.0.2840.71.jpg
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Chrome

Re: [RC] Tables bbCodes

Post by Sniper_E »

I have fixed all the [/tr] on the new line already. Now all the [tr=bg#] are on the new line.
Except for the first [tr=bg#] it is after the [tbody] it has to be.

I have the guidelines moved to a better location also. Far out of the way above the selections.
Image

I grouped each 5 of the table icons together with white-space: nowrap;
I'll look at Chrome to see what will work for that browser.

Good stuff guys! If that's the only problems... we're almost there.

Got everything worked out except the switches. Stand by.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Topic Author
Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Android Chrome

Re: [RC] Tables bbCodes

Post by Sniper_E »

Alright guys... it's all ready now. You will not find one issue in this version.

We're Done!

First post updated with Tables 2.0.8

User avatar

Puchahawa
Users
Users
Posts: 193
Joined: 20 Jun 2015, 17:58
    Windows 7 Chrome

Re: [RC] Tables bbCodes

Post by Puchahawa »

We'll see. :twisted: :lol:

User avatar

proavia
Users
Users
Posts: 65
Joined: 30 Aug 2015, 22:50
    Windows 7 Internet Explorer

Re: [RC] Tables bbCodes

Post by proavia »

Looks good here!

Table guidelines only show when hovering on "Table Selections" after clicking on the "Tables" icon?

EDIT: Not an issue, just pointing it out.
IE - "Table Selections" is centered - Guidelines box aligned on left side (basically) of the words "Table Selections"
Chrome - "Table Selections" is left justified - Guidelines box aligned on left side (basically) of the words "Table Selections"

Post Reply Previous topicNext topic