1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Accept cookies banner for EU users 6.5

Banner for accept cookies (for Google analytics, end users, etc)

  1. lms

    lms Well-Known Member

    macroforum and radu81 like this.
  2. AlexL777

    AlexL777 Member

    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!
     
  3. Robru

    Robru Active Member

    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.
     
  4. AlexL777

    AlexL777 Member

    Thanks, it worked and you had to update the Addon again. Now I have the cookie bar, super!
     
  5. lms

    lms Well-Known Member

    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: Oct 9, 2015
  6. lms

    lms Well-Known Member

  7. Sperber

    Sperber Active Member

    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 :/
     
  8. lms

    lms Well-Known Member

  9. lms

    lms Well-Known Member

    New screenshots by my iPhone 6

    image2.PNG image3.PNG

    Salud2
     
  10. Robru

    Robru Active Member

    upload_2015-10-17_14-41-28.png
     
    lms likes this.
  11. lms

    lms Well-Known Member

    Robru likes this.
  12. Breixo

    Breixo Active Member

  13. LogOn

    LogOn Active Member

  14. lms

    lms Well-Known Member

    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
     
  15. lms

    lms Well-Known Member

    Do not forget to review the add-on and rate them.

    Salud2
     
  16. LogOn

    LogOn Active Member

    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!
     
  17. lms

    lms Well-Known Member

    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
     
  18. Breixo

    Breixo Active Member

    Cookies notice on Xenforo goes away after first pageview:
    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: Oct 28, 2015
  19. lms

    lms Well-Known Member

    Yes, but calmly. Now I am going wrong time.

    Salud2
     
    Breixo likes this.
  20. lms

    lms Well-Known Member

    Breixo likes this.

Share This Page