3.1.x Extensions Database 3.1 / 3.2 ⇒ [RC] Tables bbCode
-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: [RC] Tables bbCodes
I noticed the hover title on the button was not changing from 'Show Table Guidelines' to 'Hide Table Guidelines'
Hover over the button and it will show 'Show Table Guidelines' in the title.
Click it to show the guidelines.
Then hover over the button again and it should show 'Hide Table Guidelines' in the title.
I have the templates fixed for that and I trimmed down the css.
I'm now using each buttons ext classes for the buttons instead of the table classes.
But the only one I'm having problems with is the abbc3 title on hover in the acp.
First post updated with these changes. Same version 2.0.6
Grab that if you would and just replace the theme/ and template/ directory files. Clear cache. Refresh browser.
It is baffling me why I can't get that one title to change in the abbc3 acp. All the others work fine.
Please check and see if you have the same issue.
Hover over the button and it will show 'Show Table Guidelines' in the title.
Click it to show the guidelines.
Then hover over the button again and it should show 'Hide Table Guidelines' in the title.
I have the templates fixed for that and I trimmed down the css.
I'm now using each buttons ext classes for the buttons instead of the table classes.
But the only one I'm having problems with is the abbc3 title on hover in the acp.
First post updated with these changes. Same version 2.0.6
Grab that if you would and just replace the theme/ and template/ directory files. Clear cache. Refresh browser.
It is baffling me why I can't get that one title to change in the abbc3 acp. All the others work fine.
Please check and see if you have the same issue.
-
- Users
- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: [RC] Tables bbCodes
Updated those directories and tested. Working as desired. show and hide. 

-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: [RC] Tables bbCodes
Cool
I must have something stuck in my cache or something.
I'll check it on a fresh phphbb install to confirm that. That should resolve my issue.
Nothing I do corrects the problem on the title change. One more test and this ext is done.

I'll check it on a fresh phphbb install to confirm that. That should resolve my issue.
Nothing I do corrects the problem on the title change. One more test and this ext is done.
-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: [RC] Tables bbCodes
Oooops I had a tables filename wrong in that last package for the posting buttons ext. Easy fix on that.
But on a fresh install of phpbb and all these extensions...
After clicking the button on 'Show Table Guidelines' I still get a 'Show Table Guidelines' title on hover in abbc3. WTF
But on a fresh install of phpbb and all these extensions...
After clicking the button on 'Show Table Guidelines' I still get a 'Show Table Guidelines' title on hover in abbc3. WTF

-
- Users
- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: [RC] Tables bbCodes
That's bizarre! Maybe try a different browser or??
Maybe the answer is in this. Just looked at mine again. In the normal post a topic area it's show and hide. But in the ACP I'm getting show and show.
Maybe the answer is in this. Just looked at mine again. In the normal post a topic area it's show and hide. But in the ACP I'm getting show and show.
Last edited by Puchahawa on 29 Sep 2016, 00:08, edited 2 times in total.
-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: [RC] Tables bbCodes
That is bizarre! I just tried another browser. Why didn't I think of doing that.
Same thing. I might have to [ABD] this ext.
This function below is toggling the id #table_guide display but it is not toggling the id #table-img title.Why? 

This function below is toggling the id #table_guide display but it is not toggling the id #table-img title.
Code: Select all
<script>
function toggle_table_guide()
{
var x = document.getElementById('table_guide');
if (x.style.display === 'block') { x.style.display = 'none';document.getElementById('table-img').title = '{L_TABLES_BBCODE_HELP}'; }
else { x.style.display = 'block';document.getElementById('table-img').title = '{L_TABLES_BBCODE_HIDE_HELP}'; }
}
</script>
<span class="tables">
<input type="button" class="abbc3_button" name="table_guide" id="table-img" value="" onclick="toggle_table_guide();" title="{L_TABLES_BBCODE_HELP}" />

-
- Users
- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: [RC] Tables bbCodes
In looking at a few of the template html files the order of show and hide in the <script> function toggle_table_guide() definition is different. Some are show then hide. Some are hide then show.
Don't know if that would make any difference or not but it got my attn.
Don't know if that would make any difference or not but it got my attn.
-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: [RC] Tables bbCodes
Exactly! That's what I was saying. Only in the acp for abbc3 buttons does it show that, show/showPuchahawa wrote: 28 Sep 2016, 23:51In the normal post a topic area it's show and hide. But in the ACP I'm getting show and show.
In posting it does a show/hide title without buttons ext and with both buttons ext.
In the acp only the abbc3 buttons shows the show/show. In acp without buttons ext and with posting buttons all works well.
Let me look at those templates you're talking about.
Look at the one I posted above.
Code: Select all
if (x.style.display === 'block')
else { x.style.display = 'block';

Give me a minute to fix these templates.

EDIT: No that code is correct. Shit!
-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: [RC] Tables bbCodes
Well I fixed the function codes in all the templates to be the same but I still have the same problem.
Maybe I can come back to it later and look for what I'm missing. It makes no sense.
Download on first post is updated with my latest edits.
I have to walk away from this thing now.
Maybe I can come back to it later and look for what I'm missing. It makes no sense.
Download on first post is updated with my latest edits.
I have to walk away from this thing now.
-
- Users
- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: [RC] Tables bbCodes
Before I say this I need a disclaimer.
I know enough to get myself into trouble.
Looking at the two html files for ABBC3 in win merge and the only difference is the <span class="row3 table-selections"> in ACP and <span class="bg2 table-selections"> in "normal post area. Is that difference just what class needs to be used for the ACP vs normal post area?
I did notice that in image b vs abbc3 the class is bg1 ???

Looking at the two html files for ABBC3 in win merge and the only difference is the <span class="row3 table-selections"> in ACP and <span class="bg2 table-selections"> in "normal post area. Is that difference just what class needs to be used for the ACP vs normal post area?
I did notice that in image b vs abbc3 the class is bg1 ???
-
- Users
- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: [RC] Tables bbCodes

did a disable / delete data. remove table bbcodes / purge cache and enable of latest.
Checking on my other test board now. That's confusing. it's still show/show. same version of abbc3 and tables as the other board. purged cache. Using chrome. going to check with other browsers now. Checked with ie and FF Same issue. it works acp and post page on one board and only on post page in the other.

Tried my live board. disable / delete data / remove all bbcodes manually / purged cache/ remove old files / add new / activate. WORKS correctly.
So I'm 2 for 3 working as desired. Don't get why the one local board won't get it.

-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: [RC] Tables bbCodes
Yes in the acp the admin.css uses row3 and row4. In the forum the colours.css uses bg1 and bg2.Puchahawa wrote: 29 Sep 2016, 01:02Looking at the two html files for ABBC3 in win merge and the only difference is the <span class="row3 table-selections"> in ACP and <span class="bg2 table-selections"> in "normal post area.
That is the reason I had to create two different templates. I used the lighter color background colors in each.
Yes my three test sites I'm using are on the same server, same site with different directories. Maybe that has something to do with it.Puchahawa wrote: 29 Sep 2016, 01:11So I'm 2 for 3 working as desired. Don't get why the one local board won't get it.![]()
The two sites where it worked right for you must be on different sites by themselves. No other test sites on the same server. Yes

Maybe my codes are fine and they conflict when testing on multiple sites on the same server.
From these tests we have been doing that is what it seems like to me. Thank you for your time with those tests.
If multiple sites on the same server is not causing this problem then I have no clue. You think we found the problem

I'll change the id name on one of mine and see if the conflict is corrected.
-
- Users
- Posts: 193
- Joined: 20 Jun 2015, 17:58
Re: [RC] Tables bbCodes
I just don't know. My two test sites are (local wampserver) Same server. The board that works is in directory called phpbb12. The one not working is phpbb3. Both in the same server root (www)
So one of those works and my live board hosted in canada works in dir called phpbb3.
So one of those works and my live board hosted in canada works in dir called phpbb3.
-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: [RC] Tables bbCodes
I'm changing the function name and the id names in each of the templates to see if that is the conflict. Tests look promising.
I'll update here in a minute...
I'll update here in a minute...
-
- VIP
- Posts: 1157
- Joined: 14 Oct 2014, 19:01
Re: [RC] Tables bbCodes
OK looks like that was the problem. Each template has it's own function and id name. We have a winner
First post updated with the final version download.

First post updated with the final version download.