Recent Tutorials
Who is online?
In total there are 9 users online :: 0 Registered, 0 Hidden and 9 Guests :: 2 Bots

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17
Keywords

[EDGE] Avatar doesn't show in the statistics when updating the profile

View previous topic View next topic Go down

avatar
Guest
Guest
View all awards

PostGuest on Sat 26 Nov 2016, 11:07

Hmm... This is very strange and I wonder what's causing this. When updating the avatar, it doesn't show in the Statistics:




Do I need to wait a bit longer? Sync the forum? What exactly is causing that?


Thanks for your reply.


Last edited by Samantha NL on Mon 28 Nov 2016, 12:17; edited 1 time in total
avatar
Guest
Guest
View all awards

PostGuest on Mon 28 Nov 2016, 03:36

Well, that's strange... It took over a day to update the avatar on the testforum. On your site, it took a couple of hours before my friend's avatar showed in the statistics. So, why the delay?
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4652
Points : 9634
Reputation : 2327
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 28 Nov 2016, 10:23

Hi,

Some special statistics that are acquired via AJAX are updated every hour ; the data is cached to prevent too many requests from being sent to the server. You can reduce the cache time by going to AP > Modules > JS Codes Management > HOMEPAGE.JS

Find
Code:
1*60*60*1000
( there should be two ), and modify it as needed. To simplify it, this is what each digit represents : HH*MM*SS*MS. If you want the stats to refresh every 15 minutes it'd look like this :
Code:
15*60*1000
. You can also clear your cache to force the change on your side.
avatar
Guest
Guest
View all awards

PostGuest on Mon 28 Nov 2016, 10:39

I found this: new Date - 1*60*60*1000) twice. Is that it? And does that mean 1 hour 60 minutes 60 seconds and 1000 ms?
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4652
Points : 9634
Reputation : 2327
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 28 Nov 2016, 12:15

Yep you got it ! 1*60*60*1000 = 3600000ms == 1 hour.
avatar
Guest
Guest
View all awards

PostGuest on Mon 28 Nov 2016, 12:17

I'll try and set it to a more frequent time lapse then. Thanks & Solved.
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4652
Points : 9634
Reputation : 2327
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Mon 28 Nov 2016, 12:22

Anytime Doff

Topic archived

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum