EDIT: confirmed. All is well in tables land.
3.1.x Extensions Database 3.1 / 3.2 ⇒ [RC] Tables bbCode
-
Puchahawa
- Users

- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: [RC] Tables bbCodes
EDIT: confirmed. All is well in tables land.
-
Sniper_E
- VIP

- Posts: 1160
- Joined: 14 Oct 2014, 19:01
Re: [RC] Tables bbCodes
Man that was a headache and one aggravating experience. Together we got to the bottom of it. You're awesome!
-
Puchahawa
- Users

- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: [RC] Tables bbCodes
Always a good day when things like that get resolved. Happy to help!
-
proavia
- Users

- Posts: 65
- Joined: 30 Aug 2015, 22:50
Re: [RC] Tables bbCodes
Sorry - just got back in town.....
Updated to version 2.0.6 and all works great!
One question, you both make reference to the ACP - Am I supposed to see any extension options under "Extensions" or is what you are referencing somewhere else (and where)?
Updated to version 2.0.6 and all works great!
One question, you both make reference to the ACP - Am I supposed to see any extension options under "Extensions" or is what you are referencing somewhere else (and where)?
-
Puchahawa
- Users

- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: [RC] Tables bbCodes
There are some extensions that have settings under the ext tab in the ACP that allow bbcodes and the tables are available there. Sniper was having a challenge getting the code to work correctly in the ACP. That is what we were referencing as we were trouble shooting different variations of the code for the ext. He got it worked out and now it's playing nice everywhere.proavia wrote: 01 Oct 2016, 01:40 Sorry - just got back in town.....
Updated to version 2.0.6 and all works great!
One question, you both make reference to the ACP - Am I supposed to see any extension options under "Extensions" or is what you are referencing somewhere else (and where)?
-
proavia
- Users

- Posts: 65
- Joined: 30 Aug 2015, 22:50
Re: [RC] Tables bbCodes
Thanks - yes, I do see several of my different extension settings under the ext tab - but not tables. Should it show there? Or just the BBCodes for tables under the Posting tab? Just wanting to know if mine installed fully or not. The extension itself works GREAT!Puchahawa wrote: 01 Oct 2016, 02:32There are some extensions that have settings under the ext tab in the ACP that allow bbcodes and the tables are available there. Sniper was having a challenge getting the code to work correctly in the ACP. That is what we were referencing as we were trouble shooting different variations of the code for the ext. He got it worked out and now it's playing nice everywhere now.proavia wrote: 01 Oct 2016, 01:40 Sorry - just got back in town.....
Updated to version 2.0.6 and all works great!
One question, you both make reference to the ACP - Am I supposed to see any extension options under "Extensions" or is what you are referencing somewhere else (and where)?![]()
![]()
-
Puchahawa
- Users

- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: [RC] Tables bbCodes
The only thing that shows for this ext in the acp is the bbcodes under the posting tab. YES it installed fully!proavia wrote: 01 Oct 2016, 02:36
Thanks - yes, I do see several of my different extension settings under the ext tab - but not tables. Should it show there? Or just the BBCodes for tables under the Posting tab? Just wanting to know if mine installed fully or not. The extension itself works GREAT!
Other extensions like the contact admin ext have the option of editing the message that people see and it has the bbcodes, smilies etc... It's setting are under the extension tab and was one of them that wasn't working correctly.
-
Sniper_E
- VIP

- Posts: 1160
- Joined: 14 Oct 2014, 19:01
Re: [RC] Tables bbCodes
You know I did not setup any acp settings for the admin to allow anyone to use the tables bbcode. It is setup as a normal bbcode.
But I'm sure if an admin sets a user up to not allow bbcodes then this table bbcode will not be available.
Now there is a problem with the table bbcode not showing in the acp if posting buttons or abbc extensions are not installed.
The adm/style/acp_posting_buttons.html needs an event for this <!-- EVENT acp_posting_buttons_custom_tags_before -->
I have requested this event added at area51 already. But if they do add it... it will come out in a newer version of phpbb3.
And there is a problem with the table bbcode not working in posting buttons also. Or any bbcode ext working in posting buttons.
I have put in a request to dmzx also for his event name changed before custom buttons. That's been a few days ago.
I have put in a request to dmzx also for acp templates so his posting buttons would show in the acp as well.
But you guys do not need to worry about that because you use abbc3.
Abbc3 does not have any templates for the acp yet they show in the acp. Not sure how he made that happen.
But I'm sure if an admin sets a user up to not allow bbcodes then this table bbcode will not be available.
Now there is a problem with the table bbcode not showing in the acp if posting buttons or abbc extensions are not installed.
The adm/style/acp_posting_buttons.html needs an event for this <!-- EVENT acp_posting_buttons_custom_tags_before -->
I have requested this event added at area51 already. But if they do add it... it will come out in a newer version of phpbb3.
And there is a problem with the table bbcode not working in posting buttons also. Or any bbcode ext working in posting buttons.
I have put in a request to dmzx also for his event name changed before custom buttons. That's been a few days ago.
I have put in a request to dmzx also for acp templates so his posting buttons would show in the acp as well.
But you guys do not need to worry about that because you use abbc3.
Abbc3 does not have any templates for the acp yet they show in the acp. Not sure how he made that happen.
Last edited by Sniper_E on 01 Oct 2016, 06:08, edited 1 time in total.
-
proavia
- Users

- Posts: 65
- Joined: 30 Aug 2015, 22:50
Re: [RC] Tables bbCodes
Thanks Guys! Just wanted to be sure it installed correctly and I wasn't missing parts of it.
I think you could easily restrict the bbcodes associated with the extension via the Posting, BBCodes tabs, then edit each bbcode and select the Group permissions. I know this works with custom bbcodes, not positive if it would work with an actual extension though.
I think you could easily restrict the bbcodes associated with the extension via the Posting, BBCodes tabs, then edit each bbcode and select the Group permissions. I know this works with custom bbcodes, not positive if it would work with an actual extension though.
-
Sniper_E
- VIP

- Posts: 1160
- Joined: 14 Oct 2014, 19:01
Re: [RC] Tables bbCodes
You taught me something new dm... I use event acp_posting_buttons_custom_tags_before.html in tables.
So I looked...

Therefor in the tables/ext.php file I would use:I did not know what to look for before, now I do. Thanks! 
So I looked...

Therefor in the tables/ext.php file I would use:
Code: Select all
public function is_enableable()
{
$config = $this->container->get('config');
return version_compare($config['version'], '>=3.1.10-RC1');
}As you can see from the image above they added it right away. Why was I not notified that they added it? Need to know kind of thing I guess.Sniper_E wrote: 01 Oct 2016, 03:19Now there is a problem with the table bbcode not showing in the acp if posting buttons or abbc extensions are not installed.
The adm/style/acp_posting_buttons.html needs an event for this <!-- EVENT acp_posting_buttons_custom_tags_before -->
I have requested this event added at area51 already. But if they do add it... it will come out in a newer version of phpbb3.
-
dmzx
- Founder

- Posts: 6484
- Joined: 13 Jan 2014, 21:45
Re: [RC] Tables bbCodes
Sniper_E wrote: 21 Oct 2016, 09:15 You taught me something new dm... I use event acp_posting_buttons_custom_tags_before.html in tables.
-
mh254
- Users

- Posts: 15
- Joined: 28 Jan 2016, 09:23
Re: [RC] Tables bbCodes
I use the latest version and the table looks like this:
This is the text in posting:
Where are those linebreaks coming from?
This is the text in posting:
Code: Select all
[size=130]Vim Manager Settings[/size][table=95 vimmanager][thead]
[tr=null][th=30]Bezeichnung[/th][th=30]Wert[/th][th=40]Kommentar[/th][/tr]
[/thead][tbody]
[tr=bg2][td]V...
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
-
Sniper_E
- VIP

- Posts: 1160
- Joined: 14 Oct 2014, 19:01
Re: [RC] Tables bbCodes
When you click on a table, how ever many rows and columns you want and it inserts it in the textarea...
It will insert it in one line. Leave it that way and edit the titles and text areas the way it is.
You are entering the <br/>s yourself trying to make it look right in the textarea. Don't do that.
Click on a table choice and then click Preview. It will show without any <br/>s.
Then hit Enter to drop a row down and click Preview, you will see a <br/> added by you.
https://www.phpbb.com/community/viewtop ... #p14521076
It will insert it in one line. Leave it that way and edit the titles and text areas the way it is.
You are entering the <br/>s yourself trying to make it look right in the textarea. Don't do that.
Click on a table choice and then click Preview. It will show without any <br/>s.
Then hit Enter to drop a row down and click Preview, you will see a <br/> added by you.
https://www.phpbb.com/community/viewtop ... #p14521076
The only directions wrote:Click Preview after inserting table. From your view change the titles and text to suit your post.
-
mh254
- Users

- Posts: 15
- Joined: 28 Jan 2016, 09:23
Re: [RC] Tables bbCodes
Thanks, now it looks good :)
-
Sniper_E
- VIP

- Posts: 1160
- Joined: 14 Oct 2014, 19:01
Re: [RC] Tables bbCodes
I should add that to the directions. You are not the first one to do that.
