How do I add counter of opened game link

Get help using Construct 2

Post » Mon Feb 29, 2016 12:46 pm

I have game on dropbox only, its possible to add counter in game, that counter show how many times game will played/opened ?
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,555

Post » Mon Feb 29, 2016 2:23 pm

..never hosted game on dropbox..but if someone click on link testcounter.bitballoon.com
and confirms
Counter>14
Image

there may be an easy way...

...........................................................................................
Edit:

..seems to work..counter is on 19 now..so apparently.. someone click on link...

So..

search web for " free website visitor counter" ( I used http://www.reliablecounter.com/ )
choose counter style,choose All hits or Unique hits ,add game URL..
and generate link

download Pode HTML Pack - Div plugin
and use action SetinnerHTML

you also need to edit link,in text editor replace Double Quotation Marks with Single Quotation Marks
( " ---> ' )
like this:
Code: Select all
<a href='http://www.reliablecounter.com' target='_blank'><img src='http://www.reliablecounter.com/count.php?page=testcounter.bitballoon.com/&digit=style/plain/1/&reloads=0' alt='' title='' border='0'></a><br /><a href='http://' target='_blank' style='font-family: Geneva, Arial; font-size: 9px; color: #330010; text-decoration: none;'></a>
Image
B
64
S
23
G
7
Posts: 1,483
Reputation: 10,827

Post » Mon Feb 29, 2016 3:36 pm

@korbaach Thats right! very clever i must check this how works on dropbox
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,555

Post » Mon Feb 29, 2016 8:56 pm

@korbaach can you click on link?
https://dl.dropboxusercontent.com/u/447 ... agia%20%26%
game have your method
Last edited by delgado on Tue Mar 01, 2016 1:05 pm, edited 1 time in total.
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,555

Post » Mon Feb 29, 2016 9:40 pm

003 &003
you choose Unique hits ?
Edit :
I changed my IP adress .. and I got 004
so you definitely couts only unique visitors...is it okay?
Image
B
64
S
23
G
7
Posts: 1,483
Reputation: 10,827

Post » Mon Feb 29, 2016 9:43 pm

@korbaach i use all hits and seems this count only unique.
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,555

Post » Mon Feb 29, 2016 9:50 pm

try again..but first change name of your game folder ..that will change your game URL..
and you will be able to generate new link...
Image
B
64
S
23
G
7
Posts: 1,483
Reputation: 10,827

Post » Mon Feb 29, 2016 11:14 pm

@korbaach thank you
B
109
S
25
G
43
Posts: 1,883
Reputation: 33,555


Return to How do I....?

Who is online

Users browsing this forum: alextro, Ryan Kocourek and 7 guests