excerpt?
-
Hi there,
is there any option to show post excerpt and limit it to word count? something like {post_excerpt_20}
thanks.
https://www.ads-software.com/extend/plugins/ajax-hits-counter/
-
Error log?
Sorry i lost them all cause i reinstalled everything from php to mysql
and httpd to nginx.You still don’t get excerpt in plugin widget?
Yes i get but the word count is not working. its not very big problem for me but you can take a look to see what is the error.
Great idea! Thanks.
I’ll try to think about this new widget in few days.why create a new one? just update this one, create a new mysql table which will hold the hits and will reset in every 24hrs. obviously users can set this option enabled in their widget installation. a new plugin means 2x load.
Sorry i lost them all cause i reinstalled everything from php to mysql
and httpd to nginx.Too bad ??
why create a new one? just update this one, create a new mysql table which will hold the hits and will reset in every 24hrs. obviously users can set this option enabled in their widget installation. a new plugin means 2x load.
I will think about your suggestion.
Please check version 0.8.0
you mean now we can show posts which are popular in last 24 hours?
and did you tried to make the hit count system dependent on js instead of php?
> you mean now we can show posts which are popular in last 24 hours?
It’s hard.
But now you can show only posts, that published in last 24 hours/week/month/…> and did you tried to make the hit count system dependent on js instead of php?
How it can be on JS? node.js ?
It’s hard.
But now you can show only posts, that published in last 24 hours/week/month/…well that’s something what i needed, but anyway, i can wait for it to added later. ??
How it can be on JS? node.js ?
if you can build it with that library then no problem. there is lots hit counting system dependent on js (like google analytics, statcounter etc.).
The advantage of it is that they are client side and when one cache a page with some cache plugin (like w3 total cache, wp super cache etc.) the hit counting will not be affected. they will be accurate because for it’s client side behavior.
I think i made it clear to you now kutsy.there is lots hit counting system dependent on js (like google analytics, statcounter etc.).
The advantage of it is that they are client side and when one cache a page with some cache plugin (like w3 total cache, wp super cache etc.) the hit counting will not be affected. they will be accurate because for it’s client side behavior.AJAX Hits Counter as you know, also count with JS with PHP on the backend.
I use W3 Total Cache + nginx whole-page-cache and I dont get any problems with hits counting. And I still dont understand reasons to move backend to JS.I use w3 total cache too.. i use it to cache the page for a static one. the problem is it the counts are less than the actuals. i thought that it is due to the cache. i use 15 mins to keep cached page. so in this 15 minutes i think it not counts the page loads. hits are also less than the page view shows in analytics service. for this reason i think js will be good to count the visits. if you sure that it can “accurately” count the visits, then its okay.
I saw the new feature that the hits count meta box is added to post page. great. but can you set this so that only users with admin privilege can see this box? well, this can be done by few tweaks in the functions file, but if you add this then it will be good. ??
the problem is it the counts are less than the actuals. i thought that it is due to the cache. i use 15 mins to keep cached page. so in this 15 minutes i think it not counts the page loads. hits are also less than the page view shows in analytics service.
Maybe I understand your problem. Your nginx location
/wp-admin/
is also cached by nginx whole-page-caching?
If it is true, then this is normal ??
I added to GET-parameters in hit-request some random and time data, for resolve this.if you sure that it can “accurately” count the visits, then its okay.
Check version 0.8.2
I saw the new feature that the hits count meta box is added to post page. great. but can you set this so that only users with admin privilege can see this box?
Also check version 0.8.2
I am not using nginx right now Roman. I am on apache.
I also added the plugin files in total cache ‘no-cache’ list.
Actually i have various authors in our site and they will love to alter their article’s hits to get in to the first page. ??
I am not using nginx right now Roman. I am on apache.
I also added the plugin files in total cache ‘no-cache’ list.It’s strange… Hm…
Actually i have various authors in our site and they will love to alter their article’s hits to get in to the first page. ??
From version 0.7.2 you can use function to display hits in your theme
ajax_hits_counter_get_hits($post_id)
Yeah, it’s strange for me too..
yes i know about that and i am thinking to use it near future. ??
- The topic ‘excerpt?’ is closed to new replies.