arrow_upward

Pages (16): Jump to page 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post4VPS Post Counter Script
(10-30-2018, 04:30 PM)arsalahmed786 Wrote: @TrK, @Dynamo and @"Hidden Refuge" Thanks helping me regarding issue with PiratesHosting's post counter script.

I have found the error when i tried fresh script downloading from HMR's github.

Error is:

Line #79 code on img.php is:
if (substr($post->plaintext, 0, 3) === 'Yes' or substr($post->plaintext, 0, 3) === 'Tod' or substr($post->plaintext, 0, 3) === 'Les' or substr($post->plaintext, 3, 3) === 'min' or substr($post->plaintext, 2, 3) === 'min' or substr($post->plaintext, 2, 3) === 'hou' or substr($post->plaintext, 3, 3) === 'hou' or substr($post->plaintext, 0, 3) === date("m-") && substr($post->plaintext, 5, 5) === date("-Y")) {
$numberofpoststhismonth++;
        }

What's the problem in line #79 ? it fresh's script code i didn't even touch anything except changing mybb forum url changing.

You need to set date.timezone in your php.ini as referenced in the warning since the code is not.
(10-30-2018, 04:51 PM)coreyman Wrote: You need to set date.timezone in your php.ini as referenced in the warning since the code is not.

Well i can't find any such file php.ini in my entire cpanel file manager and Show Hidden Files (dotfiles) already enabled.
Terminal
Best Regards,
Global Moderator of Post4VPS 

Is there any working link of this feature now? I feel some issue with forum monthly post counter. It seems not updating number of posts.


Thank you  Sweet



(02-20-2019, 01:14 AM)Littlemaster Wrote: Is there any working link of this feature now?  I feel some issue with forum monthly post counter. It seems not updating number of posts.

Double post? There is already a thread in the Feedback Forum to which you made the same comment. Please note that when there is an issue with the post counter, it is very easy to count your posts manually. Please check the comments in the Feedback Forum discussion at the link below:

https://post4vps.com/thread-2739.html

Am going to close this thread to prevent further double posts from happening. If there is a genuine need to discuss the script side of creating the counter at a later stage, please PM me to re-open the thread.
Terminal
Thank you to Post4VPS and VirMach for my awesome VPS 9!  
Pages (16): Jump to page 
lockThread Closed 


Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
2,963
08-22-2019, 05:41 PM
Last Post: Mashiro

person_pin_circle Users browsing this thread: 2 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting