Thread subject: Official Home of the PHPFusion CMS :: Cookiebar Panel

Posted by Falk on 30-05-2013 08:10
#1

[mp]571[/mp]

Posted by Harly on 15-09-2013 07:11
#2

Hi Domi!

After adding this, the Cookiebar Panel, to my site, I validated it (old habit) and the CSS validator result showed me that there is a few bugs/errors in the cookiebar_panel.css file.

Looking at the validation-result of this, the Main, site, I can see the very same errors appearing in the validation-result, as those on my site's result. That is, before I just asked the file to ignore the lines containing the error(s). So now, my site is W3C-valid again! cool But the problem is off course, that now, after my modification of the file, the panel will not work with IE versions older than #9. wink

Tried to fix it myself, but couldn't - because I've never seen codes like that in a CSS-file before: looks like some kind of Java-code (which I know very little about)!

The error(s) are located in the last part of the cookiebar_panel.css file, the part that concerns the older IE browsers (v. 6, 7 and 8)!

Link to the CSS validation-result of this, the Main, site:
http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.php-fusion.co.uk%2Findex.php&profile=css3&usermedium=all&warning=1&vextwarning=&lang=en

Posted by Falk on 15-09-2013 17:21
#3

Validating CSS is quite tricky, It dosen´t allow you to mix CSS and CSS3 that well.
Your code can in a sense be good but mixing CSS3 and CSS can fail the validation.

Posted by Harly on 15-09-2013 18:07
#4

Quote

Your code can in a sense be good..

There's nothing wrong with the code, concerning the function of the panel - everything works just fine - it's a cool panel, and thank you for that, Domi! smile

Quote

..to mix CSS and CSS3..

Not understood! :| Are they not one and the same thing, Domi? wink

I've tried using some of the new CSS3 possibilities and it's cool, but if the validator shows me there's an error in my CSS, I try to find it and correct it.
If the validator shows me a warning, and no errors, my site still passes as valid, and I don't have to correct it right away - but that is not the case, if there are errors in the code - and that's why I pointed it out to you, simply because no one else seems to have noticed this. smile

Edited by Harly on 11-07-2026 07:46

Posted by Falk on 15-09-2013 18:49
#5

There are differences in CSS interpretation and validation from versions.
I am not exactly sure how many version definitions there are.
CSS 3 would be the latest from 2.1 if my memory serves me right.

I know that there can be validation problems if you mix the version styles. That´s what I meant by that the statement "Your code can in a sense be good..". In essence it can also be valid but still fail when mixing styles.

Altho design and CSS in general is not my field of expertise.

The code that seems off in the CSS comes from Colorbox for the overlay feature

Posted by Harly on 15-09-2013 19:25
#6

Now you're making me a little confused, so just to be sure:
Which validator(s) does the PHPFusion community recommend for validating the addons, before submitting them to this site? Can I still trust the W3C Markup Validation Service and the CSS Validation Service?

As you know, I have not been active in here for some time now, so I just want to know, if there has been any major changes in how you guys run things around here, while I've been gone! wink

Posted by Falk on 15-09-2013 19:34
#7

Yeah you can trust em, it´s what i would recommend.
I just don´t think Addon approvers are so harsh on the CSS validations due to the given explanation above.
We still promote and encurage both validations.

It´s just something of a grayzone atm It´s actually a quite big subject on various dev forums aswell.

Posted by Harly on 15-09-2013 20:11
#8

Quote

Yeah you can trust em, it´s what i would recommend.

Good - I will continue to use those validators ,then (working on a new theme for the PHP-F community atm.)!

Quote

It´s just something of a grayzone atm It´s actually a quite big subject on various design forums aswell.

Okay! I did'nt know that!
It seems to me like the CSS Level 3 needs some time to be working as a standard on the different internet-browsers. My theme offen looks a little different, depending on which browser I use (similar to the situation before CSS3, so nothing new about that). So the continuing differences between browser-standards will, off course, still make it difficult to 'please' them all, so that, my theme will look (almost) the same on most modern browsers. shock
But I still enjoy making the themes, though - again! cool

Thanks for now, Domi, and have a fine day. smile

Posted by Rudios on 20-10-2014 16:22
#9

Excellent as always.
Thanks!

Posted by london on 27-07-2015 23:56
#10

Clicking the I consent is bring me to this page which is white http://dx27.net/infusions/cookiebar_panel/consentcookies.php

Any ideas?

Posted by london on 30-07-2015 09:00
#11

Seems the theme was the problem.

Switching from "itheme2" back to "myblog" done the trick.

--------------------------------------------------------------------------------------------------------

No, it hasn't., Each page I go to I get the cookie bar at the bottom of the page.

I am using version v7.02.07

Edited by london on 11-07-2026 07:46

Posted by Falk on 03-08-2015 09:15
#12

The Addon have been online a very long time, I have it on a ton of sites my self with no reported issues as you explain em, it makes it quite rough to pinpoint the exact issue here.
It could be many things, your individual browser or even some addon you run thru a panel, try disable everything and also try another browser ( it is usually easier than tinkering with the settings ).

Posted by jemstar on 06-07-2022 02:40
#13

Hi,

Just wondering if anyone is working on a Cookie Acceptance popup for Version 9?

Can only find this one for version 7.

Thanks!

Posted by karrak on 06-07-2022 06:27
#14

https://github.com/PHPFusion/Addons/t...ebar_panel

Posted by jemstar on 06-07-2022 06:56
#15

Thanks so much!

EDIT: Thanks heaps, have copied it all into folders and uploaded to website and works perfectly!!

Edited by jemstar on 06-07-2022 15:07