#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
How are "views" cal...
 
Share:
Share
Tweet
Share
Notifications
Clear all

[Closed] How are "views" calculated?

Page 2 / 3 Prev Next
    Last Post
RSS

danniee
Posts: 157
 danniee
Topic starter
December 16, 2020 3:11 pm
(@danniee)
Estimable Member
Joined: 3 years ago

Views are still not increased. It makes the forum look inactive which is not good :/

danniee
Posts: 157
 danniee
Topic starter
December 20, 2020 10:44 pm
(@danniee)
Estimable Member
Joined: 3 years ago

Excuse my ignorance, but why is it that cache and wpforo don't work for this when all other forum software like phpbb and whatever works fine? Also, I can't remember having this issue in the past with wpforo and I've always used the same cache plugin.

Problem for me is that nothing works. I tried excluding in WPRocket, but that doesn't help. Views are only updated live when I turn of "object cache" in wpforo, but then things like "likes" stops working instead.

The way this is coded doesn't make any sense. Views on any forum should be updated live/once you refresh the page.

This post was modified 1 year ago 2 times by danniee
danniee
Posts: 157
 danniee
Topic starter
January 2, 2021 11:09 am
(@danniee)
Estimable Member
Joined: 3 years ago

So is there any way to remove "views" because it doesn't look good when it displays zero views due to the caching thing. The code suggested doesn't work properly. It doesn't display right. Thanks.

1 Reply
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 8952
Robert - Twitter
January 2, 2021 1:03 pm
Reply todannieedanniee

@danniee,

So, you mean all your topic views are zero, and they don't increase even if you click the [Delete all caches] button in Dashboard > Forums > Dashboard admin page?

If so, please send admin login details to support[at]gvectors.com, we can check it directly on your website, because it seems like a site specific issue.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

danniee
Posts: 157
 danniee
Topic starter
January 6, 2021 2:49 pm
(@danniee)
Estimable Member
Joined: 3 years ago

Hi,

Views do increase after I hit Delete all caches or when someone posts in a thread. But unless I do that, views will display as zero. I've had many different forum softwares throughout the year and I've never seen that before. Views are typically always updated on the fly whenever someone clicks the post.

It's kind of tedious having to delete all caches just to see how many views a post has received. Is there any way to change this? Thanks.

5 Replies
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 8952
Robert - Twitter
January 7, 2021 5:30 am
Reply todannieedanniee

@danniee,

The views will be updated once a new reply or topic is posted. There are lots of other actions that triggers view update. So it makes views updating very often. This saves lots of server resources and makes your forum lighter.

There is no a critical point to update views right after entering the topic. In any case if you want to update them in real-time mode you should disable the "Enable Object Cache" option in Dashboard > Forums > Settings > Features Tab. But this will affect the forum performance. However, if your server is powerful and the forum is not large you'll not see any changes.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

danniee
 danniee
(@danniee)
Joined: 3 years ago

Estimable Member
Posts: 157
January 7, 2021 9:36 pm
Reply toRobertRobert
danniee

@robert thank you for the answer. As mentioned, I am a bit confused as to why on the fly update of views whenever someone enter a topic would be a problem with this software and not for example phpbb? Is it Wordpress itself that is the problem? I am just asking out of curiosity.

Also, as mentioned previously, I do know that disabling "Enable Object Cache" does what I want, but like I stated before it breaks the "likes" function. Why, I do not know.

Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 8952
Robert - Twitter
January 9, 2021 8:51 am
Reply todannieedanniee
Robert
danniee

@danniee,

Posted by: @danniee

but like I stated before it breaks

I don't follow you... Please provide more info about how it breaks your like function?

 

Posted by: @danniee

fly update of views whenever someone enter a topic would be a problem

It doesn't relate to entering a topic. The problem is if you don't cache views, the website has to recalculate all topic views one by one on each page load. So each call of your forum pages will initiate lots of DB queries and calculating functions, which can be avoided by a simple caching of this information.

 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

danniee
 danniee
(@danniee)
Joined: 3 years ago

Estimable Member
Posts: 157
January 9, 2021 7:18 pm
Reply toRobertRobert
danniee
Robert
danniee

@robert

Yes, I understand why you do it, but what I don't get is why this is necessary with wpforo and not all the other big forum softwares I have used in the past such as phpbb and invisionboard. These are all updated live with every click. I think this is better because if views don't increase until someone replies (maybe never), it will just say zero. I personally think this is a strange thing?

What happens when I disable "Enable Object Cache" is that likes stops working properly. Members names will be displayed under the likes icon, but likes will say zero.

 

 Untitled-4.jpg
This post was modified 1 year ago by danniee
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 8952
Robert - Twitter
January 10, 2021 9:22 am
Reply todannieedanniee
Robert
danniee
Robert
danniee

@danniee

Posted by: @danniee

not all the other big forum

There are many forums that work in this way. Some of them don't cache their topics that's why they don't cache views. In any case this makes wpForo faster than the forums which don't do this. Also, the standalone forums seep is not depended on WordPress and tons of other plugins on WordPress. So, wpForo has to use cache solutions to increase the performance as much as possible.

 

Posted by: @danniee

What happens when I disable "Enable Object Cache" is that likes stops working properly. Members names will be displayed under the likes icon, but likes will say zero.

This issue should have been fixed with latest wpForo versions. Are you sure you're using the latest wpForo version and are you sure this issue still exist?

 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

danniee
Posts: 157
 danniee
Topic starter
January 10, 2021 11:05 am
(@danniee)
Estimable Member
Joined: 3 years ago

Thank you for the answer. Now I understand better why you have this approach. I think I will want to have the cache turned off though. Or even better would be if I could somehow remove views altogether because if no one is replying to topics it makes no sense to have views that will display zero. Is there any way to do this? The css I was asked to try to hide the views before did not work. It made the forum look weird.

And yes, I am using the latest version Version 1.9.3. I still have the mentioned problem.

1 Reply
Robert
 Robert
Admin
(@robert)
Joined: 6 years ago

Support Team
Posts: 8952
Robert - Twitter
January 11, 2021 4:53 am
Reply todannieedanniee
Posted by: @danniee

Or even better would be if I could somehow remove views altogether because if no one is replying to topics it makes no sense to have views that will display zero. Is there any way to do this?

This may be helpful: https://wpforo.com/community/how-to-and-troubleshooting-2/disable-view-counter/#post-20378

 

Posted by: @danniee

And yes, I am using the latest version Version 1.9.3. I still have the mentioned problem.

Ok, we'll check this again and fix in the next update.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Page 2 / 3 Prev Next
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Views counter not updating with cache enabled
    5 months ago
  • Number for viwes on the forum page not showing on moble
    8 months ago
  • Readers Count not correct
    10 months ago
  • No viewers count
    11 months ago
  • Problema con el contador de visitas.
    1 year ago
Topic Tags:  topic views (14),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • How can I make notification bell appear site wide?

    By marios, 3 hours ago

  • wpForo not working correctly with Silk browser on Fire 7 Tablet

    By starman71, 12 hours ago

  • Style Guests see "Add Topic" button - even if settings are right

    By DanielOfAnu, 13 hours ago

  • Forums link on main page leads to 404, is not updated

    By Redglyph, 24 hours ago

  • Creating the forum structure

    By Redglyph, 1 day ago

  • Style Show Likers with their avatar

    By Tutrix, 2 days ago

Topic Tags

  • translation49
  • css49
  • plugin conflict48
  • seo45
  • new features43
  • buddypress42
  • ultimate member40
  • avatar40
  • forum40
  • moderation38
  • login38
  • registration36
  • threaded layout35
  • cache33
  • editor32
  • menu32
  • shortcode30
  • spam29
  • phrases28
  • forum accesses28
View all tags (2157)

Recent Posts

  • RE: Guests see "Add Topic" button - even if settings are right

    @martin Thanks again for the quick reply I've don...

    By DanielOfAnu, 38 mins ago

  • RE: How can I make notification bell appear site wide?

    @marios, Yous should use wpForo Profile and Notificat...

    By Martin, 3 hours ago

  • wpForo not working correctly with Silk browser on Fire 7 Tablet

    Just tried the Amazon Silk browser using an Amazon Fire...

    By starman71, 12 hours ago

  • RE: Forums link on main page leads to 404, is not updated

    @redglyph Ok, take your time. wpForo has its own Menu...

    By dimalifragis, 15 hours ago

  • RE: Creating the forum structure

    @dimalifragis I agree, first things first 🙂

    By Redglyph, 20 hours ago

  • RE: when is the new update ?

    @gsmdahisi, We're very close to release the beta vers...

    By Martin, 1 day ago

  • RE: Hide or disable Select Forum dropdown in Private forum

    Thank you for the code which was simple to install and ...

    By BrianWent, 2 days ago

Share:
Share
Tweet
Share
  Forum Statistics
20 Forums
9,742 Topics
49.4 K Posts
4 Online
43.1 K Members

Latest Post: Guests see "Add Topic" button - even if settings are right Our newest member: ericlewis64 Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation