Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

View count Bootstrap vs Baseline Theme

I posted a recording of my desktop for the problem with Bootstrap increment views with 3 by visiting topic and Baseline incremented with only 1 by visiting
http://www.youtube.com/watch?v=iwAklCdDwS8&feature=youtu.be&hd=1
Who can give me an explanation for this?

Comments

  • From the Bootstrap addon page:

    Issue tracking

    If you come across any bugs or if you have a feature request, please file an issue using the GitHub Issue tracker. Bootstrap for Vanilla won't be supported through http://vanillaforums.org so please stick to using GitHub for inquiries about bugs and feature requests. Thanks!

    File a new issue or feature request

    GitHub: https://github.com/kasperisager/vanilla-bootstrap

  • thanks @whu606 i will make that issue on github

  • peregrineperegrine MVP
    edited December 2014

    . issue solved

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • peregrineperegrine MVP
    edited December 2014

    . issue solved edited.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • peregrineperegrine MVP
    edited December 2014

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • jackmaessenjackmaessen ✭✭✭
    edited December 2014

    Well, i found out what exactly causes the increment error ( +3 instead of +1)
    In my default.master.tpl i added 2 links in the head. When i disable them, he increases the views with 1 when open the topic.
    When these lines are enabled, he increases the views with 3 when opening topic.

    <!DOCTYPE html>
    <html lang="en" class="sticky-footer-html">
      <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        {asset name="Head"}
    
        <!-- these 2 links below ( now disabled) causes the increment error! -->
       <!-- <link href="http//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
        <link href="http//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet"> -->
    
          <script type="text/javascript" src="/themes/bootstrap/js/selectable.js"></script> <!-- Selecteer code script -->
    
      </head>
    

    But it is for me still a mystery how these 2 .css files can cause the increment error

  • peregrineperegrine MVP
    edited December 2014

    @jackmaessen said:
    Well, i found out what exactly causes the increment error ( +3 instead of +1)
    In my default.master.tpl i added 2 links in the head. When i disable them, he increases the views with 1 when open the topic.
    When these lines are enabled, he increases the views with 3 when opening topic.

    <!DOCTYPE html>
    <html lang="en" class="sticky-footer-html">
      <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        {asset name="Head"}
        
        <!-- these 2 links below ( now disabled) causes the increment error! -->
       <!-- <link href="http//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
        <link href="http//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet"> -->
          
          <script type="text/javascript" src="/themes/bootstrap/js/selectable.js"></script> <!-- Selecteer code script -->
        
      </head>
    

    But it is for me still a mystery how these 2 .css files can cause the increment error

    my guess is you are incorrect in your assumption. If I were a betting man, I'd bet the house that these two lines have no impact on view count. but I'm not a betting man, so you get to keep your house. :wink:

    <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet">
    <link href="//netdna.bootstrapcdn.com/font-awesome/3.1.1/css/font-awesome.css" rel="stylesheet">
    

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • also @vrijvlinder will eat her vanilla t-shirt if you are correct.

    Don't worry V.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • edited December 2014

    yea as long as you eat your V shirt too !!

    I would be the first to say that css has no power over js ...

Sign In or Register to comment.