Close

Account

Documentation

Forum

Menu

View Counter Not Working

  • Post count: 10498
    Adek
    December 19, 2017 at 12:41 pm #26712

    Hi notdefteri,

    Regarding this issue, i will need to check it directly on your website what actually happens. Kindly you can provide me login credentials to WP Admin panel of your site. You can send it here and don’t forget to check Set as private reply option below.

    Thank you

    Post count: 67
    notdefteri
    December 19, 2017 at 3:03 pm #26715
    This reply has been marked as private.
    Post count: 19
    dreamjobma
    December 21, 2017 at 4:34 am #26753
    This reply has been marked as private.
    Post count: 10498
    Adek
    December 21, 2017 at 1:08 pm #26769

    @notdefteri,

    Please try to go edit the following file list below :
    1. wp-content/plugins/jnews-social-share/class.jnews-share-bar.php with this one https://pastebin.com/FppmxjeA
    2. wp-content/plugins/jnews-view-counter/class.jnews-view-counter.php with this one https://pastebin.com/kXPMM62n
    3. wp-content/themes/jnews/assets/css/main.css with this one https://pastebin.com/9w246XaP
    4. wp-content/themes/jnews/assets/dist/frontend.min.css with this one https://pastebin.com/7k25iANQ
    5. wp-content/themes/jnews/assets/dist/frontend.min.js with this one https://pastebin.com/iEHj8bkR
    5. wp-content/themes/jnews/assets/js/main.js with this one https://pastebin.com/gihLM0GJ

    Let me know if you need something else. In this case, i can’t implement the changes on above on your site without your permission.

    @dreamjobma,

    I’ve checked your site previously. And I get something wrong in there. On this post https://www.dreamjob.ma/emploi/karizma-conseil-recrutement/karizma-conseil-recrute-des-stagiaires-pre-embauche-remuneres-casablanca-%D8%AA%D9%88%D8%B8%D9%8A%D9%81-%D8%B9%D8%AF%D8%A9-%D9%85%D9%86%D8%A7%D8%B5%D8%A8/ the view counter works fine but on this post https://www.dreamjob.ma/emploi/vinci-maroc-recrute/vinci-maroc-recrute-5-profils-casablanca-rabat-%D8%AA%D9%88%D8%B8%D9%8A%D9%81-%D8%B9%D8%AF%D8%A9-%D9%85%D9%86%D8%A7%D8%B5%D8%A8/ the view counter not working (also on other posts). Can you please try to disable all plugins except required plugin for JNews just for a while? and then see the result. Because i can’t do that without your permissions. Regarding this problem, i will need to enable WP_DEBUG mode on your site and install this plugin https://wordpress.org/plugins/error-log-monitor/ in order to check if there’s an error message occurs.

    Thank you

    Post count: 67
    notdefteri
    December 21, 2017 at 3:01 pm #26774

    @Adek

    You can edit the site. I give permission.

    Post count: 10498
    Adek
    December 22, 2017 at 9:14 am #26802

    Hi notdefteri,

    I’ve checked again your website and try to implement the changes but i’m worried about the max upload file size limit. Because if the file failed to upload, it can break your website. In this case, can you please provide me FTP access to your server in order to upload the necessary file? You can send it here and don’t forget to check Set as private reply option below or send it to our support email.

    Thank you

    Post count: 67
    notdefteri
    December 22, 2017 at 2:51 pm #26819
    This reply has been marked as private.
    Post count: 10498
    Adek
    December 25, 2017 at 2:39 pm #26845

    Hi notdefteri,

    I just check your site previously and it seems the view counter just working fine now on my side. I don’t make any changes yet on your site. Kindly you can check it out on your side. Just want to make sure.

    Let me know if you need something else.

    Thank you

    Post count: 13
    VetRehberi
    December 25, 2017 at 8:04 pm #26870

    hi
    I have that same problem
    pluginler actual
    I do 8 social sharing but social sharing is zero

    Post count: 10498
    Adek
    December 26, 2017 at 2:31 pm #26884

    Hi VetRehberi,

    Can you please provide me your site URL? so i can check it out on my side. Also, please make sure if you’ve been using the latest version of JNews and please try to disable all plugins except required plugin that related to JNews.

    Thank you

    Post count: 13
    VetRehberi
    December 26, 2017 at 10:12 pm #26903

    https://vetrehberi.com

    JNews if all the updates are done

    • This reply was modified 9 months ago by  VetRehberi.
    • This reply was modified 9 months ago by  VetRehberi.
    Post count: 10498
    Adek
    December 27, 2017 at 12:15 pm #26918

    Hi VetRehberi,

    For the social share counter, the counter will update every 24 hours. Once the expired time reached the counter will update automatically. In this case, we use cache data on the counter to avoid bloated request into social media provider and also it can slow down the website.

    Thank you

    Post count: 13
    VetRehberi
    December 27, 2017 at 3:00 pm #26929

    thank you

    Post count: 10498
    Adek
    December 28, 2017 at 10:06 am #26945

    You’re welcome VetRehberi

    Post count: 32
    app83
    February 5, 2018 at 5:27 pm #28428

    HEllo,

    I have the same problem. When any article reach 1300 views it goes back to 0.
    It’s very important for us to fix this issue.

    The theme and wordpress are updated to last versions.
    All the plugins are also updated!
    Site: http://hinews.bg

You must be logged in to reply to this topic.