3.1.x Extensions Database 3.1 / 3.2 ⇒ [RC] Tables bbCode
-
Puchahawa
- Users

- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: Tables bbCodes
Really smart change Sniper. I agree, it will make it easier to edit.

-
Anuj Dhawan
- Users

- Posts: 109
- Joined: 31 Aug 2015, 10:32
Re: Tables bbCodes
Sniper_E wrote: 13 Sep 2016, 21:29 Far out! Now you have to start over again.![]()
First post updated to Version 2.0.0
Am I'm missing something - My Girl says, "I'm getting old!" So may be I did miss something. :)First Post wrote:Extension Download:
Coming soon...
Join us: http://www.zMainframes.com/
-
Puchahawa
- Users

- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: Tables bbCodes
That's a bit odd. It was there yesterday when I was testing.
Hey sniper I'm curious. As it stands at the moment the bbcodes define the overall table, header and body. With the header being used to define and label the columns. Is it possible to add 1 row above the header that would be a overall title for the table? Like in the pic.
Hey sniper I'm curious. As it stands at the moment the bbcodes define the overall table, header and body. With the header being used to define and label the columns. Is it possible to add 1 row above the header that would be a overall title for the table? Like in the pic.
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: 1161
- Joined: 14 Oct 2014, 19:01
Re: Tables bbCodes
Sorry I had to change the lang file real quick so I pulled it. I meant to put that back up last night. Done!
Adding a [size =130]overall title for the table[/size] at the beginning of the codes placed in the post would give you that.
You have 8 columns in that image. Maybe we should have more column choices in this, we have only 5 right now.
In the subsilver2 type table I created at first it had that overall title for the table, but prosilver's layout isn't built that way.Puchahawa wrote: 14 Sep 2016, 17:54Hey sniper I'm curious. As it stands at the moment the bbcodes define the overall table, header and body. With the header being used to define and label the columns. Is it possible to add 1 row above the header that would be a overall title for the table? Like in the pic.
Adding a [size =130]overall title for the table[/size] at the beginning of the codes placed in the post would give you that.
You have 8 columns in that image. Maybe we should have more column choices in this, we have only 5 right now.
-
Puchahawa
- Users

- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: Tables bbCodes
Ok thanks. Will play with that. It probably wouldn't hurt to add a few more columns. Maybe even 10x10. The pic was just a random sample to show my intent. Nothing to do with my board.
-
Sniper_E
- VIP

- Posts: 1161
- Joined: 14 Oct 2014, 19:01
Re: Tables bbCodes
Your image using these tables with size 150 for the table title.
OMG 10x10 choices... that would kill me to have to double the size of this.
OMG 10x10 choices... that would kill me to have to double the size of this.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
-
Puchahawa
- Users

- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: Tables bbCodes
Appreciate your sharing the example of the title.
-
Puchahawa
- Users

- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: Tables bbCodes
Came across another extension that needs some tlc. It's rmcgirr83's Contact Admin ext. v1.0.4
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: 1161
- Joined: 14 Oct 2014, 19:01
Re: Tables bbCodes
That looks like it wasn't picking up the css for the tables. Clear server cache and your browser.
-
Puchahawa
- Users

- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: Tables bbCodes
-
Sniper_E
- VIP

- Posts: 1161
- Joined: 14 Oct 2014, 19:01
Re: Tables bbCodes
I just installed Contact Board Admin 1.0.3 to check that out and I don't see bbcodes in the setting, ACP
-
Puchahawa
- Users

- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: Tables bbCodes
The addition of that section in the ext setup is in v1.0.4
EDIT: It's in the development board topic before it was released. https://www.phpbb.com/community/viewtop ... tact+admin
or here at github: https://github.com/rmcgirr83/contactadmin
-
Sniper_E
- VIP

- Posts: 1161
- Joined: 14 Oct 2014, 19:01
Re: Tables bbCodes
Yes got it. That being in the ACP it is pulling the ./adm/style/acp_posting_buttons.html into his settings page.
In the ACP the templates are using the ./adm/style/admin.css to load it's classes. No prosilver classes are used...
including any extension classes. And you must have created a acp_posting_buttons_after.html in the events/
In the ./adm/style/acp_posting_buttons.html file I added an event to get the tables button to show in the right place.Then I created a acp_posting_buttons_custom_tags_before.html in events/
Then you would have to add the table classes to the ./adm/style/admin.cssBut this does not get the class bg1 to work for the drop down. You would have to add that class also.
You are customizing the ACP pages and have left the forum.
In the ACP the templates are using the ./adm/style/admin.css to load it's classes. No prosilver classes are used...
including any extension classes. And you must have created a acp_posting_buttons_after.html in the events/
In the ./adm/style/acp_posting_buttons.html file I added an event to get the tables button to show in the right place.
Code: Select all
<!-- EVENT acp_posting_buttons_custom_tags_before -->
<!-- BEGIN custom_tags -->
<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
<!-- END custom_tags -->
</div>
<!-- EVENT acp_posting_buttons_after -->Then you would have to add the table classes to the ./adm/style/admin.css
Code: Select all
/* Tables bbCode Extension
------------------------------------ */
tr.null {
background-color: transparent;
}
.table-button {
padding: 0 4px;
height: 15px;
margin: 1px -1px;
}
.tables .table-selections {
display: none;
}
.tables:hover .table-selections {
display: inline-block;
position: absolute;
padding: 4px 6px;
margin-left: -70px;
margin-top: 17px;
border: solid 1px #666666;
-webkit-border-radius: 8px;
-o-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
box-shadow: 3px 3px 6px #444;
z-index: 999;
}
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
.forumbg-table {
margin-left: 0;
margin-right: 0;
}
.table-button {
padding: 0 7px;
margin: 4px 2px;
}
.tables:hover .table-selections {
padding: 4px 4px 4px 6px;
margin-left: -80px;
margin-top: 17px;
}
}Code: Select all
.bg1 {
background-color: #ECF3F7;
}-
Puchahawa
- Users

- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: Tables bbCodes
Wow, thanks for looking into that for me. Sniper. 
-
Sniper_E
- VIP

- Posts: 1161
- Joined: 14 Oct 2014, 19:01
Re: Tables bbCodes
It's too bad that acp posting don't have a preview of that.
Then you should have a Preview
Open ext/mcgirr83/contactadmin/adm/style/acp_contact.html
Find This may be a partial find and not the whole line Add after Add these lines on a new blank line after the preceding line(s) to find
Code: Select all
<textarea name="contact_admin_info" rows="10" cols="60" style="width: 95%;" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" data-bbcode="true">{CONTACT_INFO}</textarea>Code: Select all
<input type="submit" tabindex="5" name="preview" value="{L_PREVIEW}" class="button1"<!-- IF not S_PRIVMSGS --> onclick="document.getElementById('postform').action += '#preview';"<!-- ENDIF --> />