Pages: [1] 2   Go Down
Send this topic | Print
Author Topic: i want to see STATS!  (Read 1634 times)
paulspage
Trash PC Reviver
Authority Member
****
Offline Offline

Posts: 964


I'm slowly teaching myself website design for fun!


WWW
« on: October 01, 2008, 02:06:02 AM »

HEHEHEHE. well i would like to see which files from my site get the most views. and have it able to filter some files too so for example i would like to see which jpg files load the most. im sure that is easy as the server keeps logs of that stuff and bandwidth usage.
Logged

since Oct 18 2007
random userbar about me below



Dropbox file share and backup free 2.3 gigs -> https://www.getdropbox.com/referrals/NTEyMjczNDA5
inp o҉rtb
The Gangsta
Global Moderator
Official 110mb Guru
*****
Offline Offline

Posts: 15644


experimental theologian


WWW
« Reply #1 on: October 01, 2008, 02:13:17 AM »

It's also easy for you to use a service such as statcounter.
Logged

Hi! I’m a signature virus! Add me to your signature to help me spread.
spam me: ispamspot@gmail.com

blog | my work @ deviantART | Imagine-ng image editor
paulspage
Trash PC Reviver
Authority Member
****
Offline Offline

Posts: 964


I'm slowly teaching myself website design for fun!


WWW
« Reply #2 on: October 01, 2008, 02:29:05 AM »

yes i know but that requires adding code to every page and when i have Jalbum make albums with pics it gets really complicated to add the code to hundreds of pages because i have pages for thumbnails than full size pics also. i just thought it would be real easy to let 110mb users to have access to this data as it most likely is already available. i currently have code on the main pages i think for stats on my site but not each individual image. also this code wont work on images loaded by some kind of php function.
Logged

since Oct 18 2007
random userbar about me below



Dropbox file share and backup free 2.3 gigs -> https://www.getdropbox.com/referrals/NTEyMjczNDA5
inp o҉rtb
The Gangsta
Global Moderator
Official 110mb Guru
*****
Offline Offline

Posts: 15644


experimental theologian


WWW
« Reply #3 on: October 01, 2008, 02:57:49 AM »

Hotlinking's disabled by default anyway, so the chances of loading an image all by itself is pretty low... unless you do have hotlinking enabled. I don't think you should be manipulating the code within the jalbum software itself; rather, it should be part of the template. Why? Because the template's a global bit of data that gets copied to every page. So... you'd avoid having to manually edit lots of pages.
Logged

Hi! I’m a signature virus! Add me to your signature to help me spread.
spam me: ispamspot@gmail.com

blog | my work @ deviantART | Imagine-ng image editor
aldo
Official 110mb Guru
********
Offline Offline

Posts: 8004


SMF is ftw :D


WWW
« Reply #4 on: October 01, 2008, 09:22:18 AM »

Plus if 110MB did this, it would require a lot of resources to calculate the statistics file for all 150k+ users on 110MB, plus Google Analytics is just way better and a lot more specific and detailed Smiley
Logged


paulspage
Trash PC Reviver
Authority Member
****
Offline Offline

Posts: 964


I'm slowly teaching myself website design for fun!


WWW
« Reply #5 on: October 01, 2008, 01:32:58 PM »

to use google analytics dont i need to run ads on my site?
Logged

since Oct 18 2007
random userbar about me below



Dropbox file share and backup free 2.3 gigs -> https://www.getdropbox.com/referrals/NTEyMjczNDA5
Myles Grey
Full-Time Programmer
Super Authority member
******
Offline Offline

Posts: 1863


Programmer's Delight Release - 90%


WWW
« Reply #6 on: October 01, 2008, 01:38:12 PM »

No, you just need to include some JavaScript. It's JavaScript because bots ignore it, so that they don't count. I have it on Programmer's Delight, but it doesn't seem that good.
Logged

IE has the best Quirks
Almost every site you see runs on Quirks, not standards




Remember to mark your topic as [resolved]
paulspage
Trash PC Reviver
Authority Member
****
Offline Offline

Posts: 964


I'm slowly teaching myself website design for fun!


WWW
« Reply #7 on: October 01, 2008, 02:07:33 PM »

it would be so much easier to have it done on the server. it wont hog the cpus if there was a limit on how many times the data can be viewed. for example the users of 110mb can only get ther entire sites usage stats once a week and they have to request it thru some automated way and the server does all the counting during idle time to prevent server slow down. when your data has been generated you get emailed with a secret link to view it or download it as a excel spreadsheet or something. i mean this is just an idea and what i just typed may not be how it works but the way i said it makes sense to me that's all. doing it this way will reduce load times of all sites as noone will need to use counters anymore and it will reduce server space too as no extra code will be needed on each page in a site.
Logged

since Oct 18 2007
random userbar about me below



Dropbox file share and backup free 2.3 gigs -> https://www.getdropbox.com/referrals/NTEyMjczNDA5
Myles Grey
Full-Time Programmer
Super Authority member
******
Offline Offline

Posts: 1863


Programmer's Delight Release - 90%


WWW
« Reply #8 on: October 01, 2008, 03:08:08 PM »

The actual resource time would be the constant calculations of people's IPs, so not when it's viewed. It actually isn't that bad, but when everyone has it, it might become a problem.

If you have .htaccess you can probably create a script to do it yourself. You'd use .htaccess to rewrite the URL to load a special file which does the calculations (In flatfile, SQL, or at least MySQL stat counters aren't allowed) and then outputs the requested file based on the requested URL.
Logged

IE has the best Quirks
Almost every site you see runs on Quirks, not standards




Remember to mark your topic as [resolved]
Piotr GRD
Honoured 110MB Member
Official 110mb Guru
*****
Offline Offline

Posts: 6669



WWW
« Reply #9 on: October 01, 2008, 10:58:14 PM »

Like Myles Grey wrote - for one account there is no big deal. But for 40, 50, 60 thousands accounts on each server (yes, I am correct, these are not exaggerated numbers) and millions files counted constantly on each HTTP request...

There was already full stats at the beginning of 110mb and was shut down because of overloading the servers. So on paid hosting with a thousand accounts on a server - you can have it with no problems. But on a shared host with so large number of accounts on each server like here - don't count on it. 110mb admins are pack up on each server as many accounts as it's possible for running servers reasonably smoothly - with comprehensive stats they will have to drop large number of accounts on each box.

You have to use external stats (yes, it will be embeded only in PHP/HTML files, you will not collect data for images etc.) or own script installed on your account, however remember that you can not use comprehensive stats/counters that uses MySQL, it's not allowed.

Logged

paulspage
Trash PC Reviver
Authority Member
****
Offline Offline

Posts: 964


I'm slowly teaching myself website design for fun!


WWW
« Reply #10 on: October 02, 2008, 03:18:58 PM »

so if having server provide this data is basically impossible how can i get usage of my images? do paid hosts even have this capability? i wonder if flickr allows hotlinking?
Logged

since Oct 18 2007
random userbar about me below



Dropbox file share and backup free 2.3 gigs -> https://www.getdropbox.com/referrals/NTEyMjczNDA5
inp o҉rtb
The Gangsta
Global Moderator
Official 110mb Guru
*****
Offline Offline

Posts: 15644


experimental theologian


WWW
« Reply #11 on: October 02, 2008, 03:22:23 PM »

Flickr allows hotlinking.
Logged

Hi! I’m a signature virus! Add me to your signature to help me spread.
spam me: ispamspot@gmail.com

blog | my work @ deviantART | Imagine-ng image editor
Myles Grey
Full-Time Programmer
Super Authority member
******
Offline Offline

Posts: 1863


Programmer's Delight Release - 90%


WWW
« Reply #12 on: October 02, 2008, 03:29:48 PM »

so if having server provide this data is basically impossible how can i get usage of my images? do paid hosts even have this capability? i wonder if flickr allows hotlinking?

What do you mean? Do you mean how to make it so that you can hotlink images from your 110mb site? If so, you need .htaccess.
Logged

IE has the best Quirks
Almost every site you see runs on Quirks, not standards




Remember to mark your topic as [resolved]
paulspage
Trash PC Reviver
Authority Member
****
Offline Offline

Posts: 964


I'm slowly teaching myself website design for fun!


WWW
« Reply #13 on: October 02, 2008, 03:48:24 PM »

no i mean is it possible to have all my jpegs on my site here load from flickr instead of 110mb. reason i want to do this is that i believe flickr counts views of the images unless they count page views of the image that loads the image. i have never done this and not sure if anyone has and been successful at it.
Logged

since Oct 18 2007
random userbar about me below



Dropbox file share and backup free 2.3 gigs -> https://www.getdropbox.com/referrals/NTEyMjczNDA5
Myles Grey
Full-Time Programmer
Super Authority member
******
Offline Offline

Posts: 1863


Programmer's Delight Release - 90%


WWW
« Reply #14 on: October 02, 2008, 04:04:21 PM »

Well, inportb thinks you can. You could, if you want, make a counter for the images by loading them as viewimage.php?img=myphoto.jpg.
Logged

IE has the best Quirks
Almost every site you see runs on Quirks, not standards




Remember to mark your topic as [resolved]
paulspage
Trash PC Reviver
Authority Member
****
Offline Offline

Posts: 964


I'm slowly teaching myself website design for fun!


WWW
« Reply #15 on: October 02, 2008, 04:33:32 PM »

ill try the flickr way first as i know how to do it that way. php is not easy for me. thanks to all for ideas.
Logged

since Oct 18 2007
random userbar about me below



Dropbox file share and backup free 2.3 gigs -> https://www.getdropbox.com/referrals/NTEyMjczNDA5
TeamYankee
OohRah!
Loyal 110MB Member
*******
Offline Offline

Posts: 2460


Proud PRIUS driver... :-D


WWW
« Reply #16 on: October 03, 2008, 12:03:43 AM »

Use www.statcounter.com  add their code to your skins index.htt and slide.htt files as appropriate.
Make and publish your album as usual.
If you already have a published album, I suspect you'd have to download your pages, add the code stscounter provides and then upload them back up.

Logged

paulspage
Trash PC Reviver
Authority Member
****
Offline Offline

Posts: 964


I'm slowly teaching myself website design for fun!


WWW
« Reply #17 on: October 03, 2008, 02:12:15 AM »

but this way will not count my image loading unless the image has its own page.
Logged

since Oct 18 2007
random userbar about me below



Dropbox file share and backup free 2.3 gigs -> https://www.getdropbox.com/referrals/NTEyMjczNDA5
inp o҉rtb
The Gangsta
Global Moderator
Official 110mb Guru
*****
Offline Offline

Posts: 15644


experimental theologian


WWW
« Reply #18 on: October 03, 2008, 02:27:34 AM »

And of course, you'd like to have a page dedicated to each of your images. As an artist, are you not concerned about people hotlinking your images without attribution?
Logged

Hi! I’m a signature virus! Add me to your signature to help me spread.
spam me: ispamspot@gmail.com

blog | my work @ deviantART | Imagine-ng image editor
paulspage
Trash PC Reviver
Authority Member
****
Offline Offline

Posts: 964


I'm slowly teaching myself website design for fun!


WWW
« Reply #19 on: October 03, 2008, 02:34:31 AM »

but i was told that hotlinking is disabled on here. so now im confused.
Logged

since Oct 18 2007
random userbar about me below



Dropbox file share and backup free 2.3 gigs -> https://www.getdropbox.com/referrals/NTEyMjczNDA5
Pages: [1] 2   Go Up
Send this topic | Print
Jump to: