Accept cookies banner for EU users

Accept cookies banner for EU users 6.5

No permission to download
Hello dear developers,
Thank you for the first time for the addon and I have just installed. But if you on "more information" click in this cookie bar, this page is called (/ ayuda / cookies). Unfortunately, there is no page in this Forum.

Probably even a directory of this addon must be uploaded to the root directory by XenForo installation. But the addon I found only two XML files. Can you please help me? Thanks in advance!
 
But if you on "more information" click in this cookie bar, this page is called (/ ayuda / cookies).
Open addon-xf_cookie_accept-1.xml with Notepad++

Search for:
Code:
<a href="ayuda/cookies" class="tiposCookies">

Change to:
Code:
<a href="help/cookies" class="tiposCookies">

Save and install.
 
Sorry, I have a route change from help to ayuda. I change this and update it coming soon. Thanks @Robru .
Also, if you edit the xf_accept_cookies template and search for <a href="ayuda/cookies" class="tiposCookies"> and change it for <a href="help/cookies" class="tiposCookies"> get the same result.

Salud2
 
Last edited:
Any chance to get the buttons underneath the text for mobile styles? The way it is right now is functional not really readable or nice to the eye, as the buttons are splitted by a line break and overlay parts of the text :/
 
I think you should have no problem to the add-on work in that style. I have not this add-on because it is paid. Should give me the content of the header and logo (just in case) templates.

Salud2

header template:

Code:
<xen:edithint template="header.css" />

<xen:hook name="header">
<div id="header">
    <xen:include template="logo_block" />
    <xen:include template="navigation" />
    <xen:if is="{$canSearch}"><xen:include template="search_bar" /></xen:if>
</div>
</xen:hook>

header.css:

Code:
#header
{
    @property "header";
    background-color: @primaryMedium;
    @property "/header";
}

{xen:helper clearfix, '#header .pageWidth .pageContent'}

    #logo
    {
        display: block;
        float: left;
        line-height: {xen:calc '@headerLogoHeight - 4'}px;
        *line-height: @headerLogoHeight;
        height: @headerLogoHeight;
        max-width: 100%;
        vertical-align: middle;
    }

        /* IE6/7 vertical align fix */
        #logo span
        {
            *display: inline-block;
            *height: 100%;
        }

        #logo a:hover
        {
            text-decoration: none;
        }

        #logo img
        {
            vertical-align: middle;
            max-width: 100%;
        }

    #visitorInfo
    {
        float: right;
        min-width: 250px;
        _width: 250px;
        overflow: hidden; zoom: 1;
        background: @primaryLighter;
        padding: 5px;
        border-radius: 5px;
        margin: 10px 0;
        border: 1px solid @primaryDarker;
        color: @primaryDarker;
    }

        #visitorInfo .avatar
        {
            float: left;
            display: block;
        }

            #visitorInfo .avatar .img
            {
                border-color: @primaryLightish;
            }

        #visitorInfo .username
        {
            font-size: 18px;
            text-shadow: 1px 1px 10px white;
            color: @primaryDarker;
            white-space: nowrap;
            word-wrap: normal;
        }

        #alerts
        {
            zoom: 1;
        }

        #alerts #alertMessages
        {
            padding-left: 5px;
        }

        #alerts li.alertItem
        {
            font-size: 11px;
        }

            #alerts .label
            {
                color: @primaryDarker;
            }

I can't find the logo template, only "logo_block"

Thank you for your help!
 
The header template is the same as for the original style. There should be no problem for this to works in that style.

You just have to adjust the top position (for position top) to zero, if applicable.

Salud2
 
Cookies notice on Xenforo goes away after first pageview:
"This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies."
So no need to explicity press "Accept" button.
Is it possible to add it to this plugin?
I just wanted this addon in order to show the notice at the bottom, but this turns into a small disadvantage.
 
Last edited:
Top Bottom