Internetbureau Clearsite
Forum Replies Created
-
Forum: Plugins
In reply to: [Cookie Opt In] where to implement the code?<?php if (!function_exists(‘coia’) || coia(‘social’)) { ?>
<?php } ?>
Goes around any code that would generate a social cookie.
If you use your own code to present Facebook Like, Google+ or Tweet This functionality, you place it around that.
If it is a plugin, you probably can use the Cookie-Opt-In plugin’s functionality of removing actions.
Please see the settings panel for that.
Forum: Plugins
In reply to: [Cookie Opt In] Keep getting presented with Permission TabClosing ticket due to no response
Forum: Plugins
In reply to: [Cookie Opt In] Making it sticky ?#cookie_opt_in_toggle {
width: 180px !important;
}Forum: Plugins
In reply to: [Cookie Opt In] Making it sticky ?quite welcome
Forum: Plugins
In reply to: [Cookie Opt In] Making it sticky ?same trick can be applied there for element
#cookie_opt_in_toggle
so
#cookie_opt_in_toggle {
position: fixed !important;
}should be enough to get it to stick.
Forum: Plugins
In reply to: [Cookie Opt In] Making it sticky ?can you point me to your site, i’ll take a quick look
Forum: Plugins
In reply to: [Cookie Opt In] Making it sticky ?you can do that in the file css/cls-style.css in the plugin folder,
or you can use the wordpress theme editor and add#cookie_opt_in_top_bar_container {
position: fixed !important;
}at the end of your style.css
Forum: Plugins
In reply to: [Cookie Opt In] Making it sticky ?sure, you can use position: fixed; instead of position: absolute;
Support in Internet Explorer is bad, but should work in IE8 and up.in case of the example skin, set position to fixed where it says position: absolute on #cookie_opt_in_top_bar_container
Forum: Plugins
In reply to: [Cookie Opt In] Translation Save Settings / Allow cookiesYou can translate almost all texts using po-edit;
copy the file lang/cookie_opt_in-nl_NL.po to lang/cookie_opt_in-pl_PL.po
(I think pl_PL is the correct language tag, you can maybe find that in your wp-config.php file if you installed the polish version)
then edit it with po-edit, translate all texts and save.
this will result in two files; cookie_opt_in-nl_NL.po and cookie_opt_in-nl_NL.mo
both are needed.The buttons, however, are images.
There are PSD-files included in the css folder to allow you to create translated buttons
cls-accept.psd and cls-save.psd
save the polish versions as cls-accept-pl_PL.png and cls-save-pl_PL.pngthen, edit the style-sheet of the used skin to add lines like this:
.lang-pl #cookie_opt_in_container button.coia-accept-all { background: transparent url(cls-accept-pl_PL.png) no-repeat left top; } .lang-pl #cookie_opt_in_container button.coia-ok { background: transparent url(cls-save-pl_PL.png) no-repeat left top; }
when done, if you want, you can send the resulting po, mo and png’s to me and I’ll add them so thy will stay with updates.
Forum: Plugins
In reply to: [Cookie Opt In] How to use the default skin/style?hmmmm, your comment made me go back to the plugin page and I discovered that the screenshots and comments don’t match.
I will correct them asap.
If you want the bar style, activate the example skin.
If you want the pull-out corner pane style, don’s activate a skinsorry for the inconvenience.
Forum: Plugins
In reply to: [Cookie Opt In] Change button classsure, just change it.
Unfortunately, when you update the plugin to a newer version you would lose the change, but it’s just one word, should not be that much of a bother.
In the javascript file of your skin (generally ends in opt-in-if.js, if standing for interface) there are multiple addClass calls, find the right one, and add your desired class.
Forum: Plugins
In reply to: [Cookie Opt In] Keep getting presented with Permission TabSorry for the delay.
There are 3 possible causes for this
1. Your browser is set to not allow cookies
2. Your browser is set to clean cookies on shutdown
3. The cookie-expiry time is invalidFor the first two; sorry, can’t help you there – from plugin point of view.
For the last one; I would be very interested to know if your problem goes away when you set the permission-cookie-lifetime (TTL) to – say – 6 months.Forum: Plugins
In reply to: [Attachments] Include/Exclude Attachments for specific page-ID'sI think you misunderstood. When using “attachments_register” and creating instances you can tell which post types to utilize (‘Page’). This puts the Attachments-metabox on all pages.
What i want to do is only have the metabox on a page of a specific ID, in my situation the page used as static homepage (get_option(‘page_on_front’)). Is it possible to, instead of post-types like ‘page’, enter ID’s for utilizing Attachments?Thanks for the help.
Forum: Plugins
In reply to: [Cookie Opt In] LAW CHANGE – Tracking will no longer require permissionunfortunately, there’s only a dutch page I can find this quickly, it’s on a news page, you can find it here: https://www.nu.nl/internet/2987889/cookiewet-versoepeld.html
Forum: Plugins
In reply to: [Cookie Opt In] change placement ?Make the following style changes:
#cookie_opt_in_top_bar_container { position: fixed; bottom: 0; /* remove the top: 0; line */ } #cookie_opt_in_container form { bottom: 0; /* remove the top: 0; line */ } #cookie_opt_in_toggle { position: fixed; bottom: 0; /* remove the top: 0; line */ }
This probably won’t work in Internet Explorer 7 or older, but at least it’ll get you in the right direction.