![]() |
vB PHP Counter Script - almost ready
Hello,
I use the following script to show a counter in FORUMHOME or wherever I want: PHP Code:
Just one thing: The numbers are shown like this: 21458754 without a "." to mark a thousand - how can I change this? :( Thanks, -Tom |
$daily_hits = vb_number_format($daily_hits); should do the trick. ;)
|
Hmm, now it get's reset when it reaches 1000 :confused:
The data is stored in the datastore table, which is of type 'mediumtext', if this is any help... |
It only reaches a maximum of 1000 in your datastore table?
|
Only if I place the a.m. code
PHP Code:
|
Are you placing that code before or after your update queries?
|
Ah - I see what you mean.
Now I placed the line at the very end and it works like a charm. Good one - many thanks, that's great :) |
All times are GMT. The time now is 05:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|