Fake download counter CSS
2014-01-15, 08:55 AM,
#1
Hey guys I need a fake download counter that looks pretty nice / decent for CSS.

Is it possible? Have you seen one around or can code a simple one if so lemme know cause I need one.

Thanks guys! I'm looking forward to hearing from you guys.
Reply
2014-01-15, 08:59 AM,
#2
If you cant find one you can use a Website hit counter and just change the text to total downloads

[Image: CZqWQay.png?1?7286]
Reply
2014-01-15, 09:24 AM,
(This post was last modified: 2014-01-15, 09:30 AM by dvLden.)
#3
Here's sample from one of my recent websites.
Don't know any single websites that allow php and mysql for making examples like codepen and jsfiddle, so sorry about that but no Demo...

HTML and PHP
Code:
<!-- Add this at very top of your HTML before <!doctype HTML> -->
<?php
  include 'database.php';

  mysql_select_db(DB_NAME, mysql_connect(DB_HOST, DB_USER, DB_PASS));
  $downloads = mysql_fetch_array(mysql_query("SELECT * FROM downloads"));
?>

<!-- add this where you want the counter and a button -->

<div id="download_outer" class="margin">
  <div id="download_inner">
    <button type="button" class="proceed" onClick="alert('do something')">
      Download
    </button>
  </div>

  <div id="download_count">
    Total Download Count: <span id="download_amount"><?php echo $downloads["count"]; ?></span>
  </div>
</div>

jQuery
Code:
// Adds a point into counter for download amount by a click
$(".proceed").on('click', function () {
  $.post('inc/counter/count.php?q=dlc', function (dlc) {
    $("#download_amount").html(dlc);
  });
});

// Auto-update amount of downloads (buttons clicks) every 4 seconds
setInterval(function () {
  $.post('inc/counter/fetch.php?q=dlc', function (dlc) {
    $("#download_amount").html(dlc);
  });
}, 4000);

Database

.zip   database.sql.zip (Size: 765 bytes / Downloads: 2)

Database Config file

.php   database.php (Size: 281 bytes / Downloads: 2)

Two files required for counter and auto count update
make sure you edit a path into jQuery where you store this folder...

.zip   counter.zip (Size: 987 bytes / Downloads: 2)

Well I really hope that you do know how to implement this. Good luck and enjoy!
Latest Thanks - View all

TOPBOY(2014-01-16 11:33 PM) sharehare(2014-01-16 05:34 AM) Alek(2014-01-15 07:58 PM) alexparris(2014-01-15 12:04 PM) ÐỚℬℤ(2014-01-15 09:31 AM) 
Reply
2014-01-15, 04:35 PM,
#4
Fake download counters are not fair. They are use to block the software.
Reply
2014-01-15, 07:58 PM,
#5
(2014-01-15, 09:24 AM)dvLden Wrote: Here's sample from one of my recent websites.
Don't know any single websites that allow php and mysql for making examples like codepen and jsfiddle, so sorry about that but no Demo...

HTML and PHP
Code:
<!-- Add this at very top of your HTML before <!doctype HTML> -->
<?php
  include 'database.php';

  mysql_select_db(DB_NAME, mysql_connect(DB_HOST, DB_USER, DB_PASS));
  $downloads = mysql_fetch_array(mysql_query("SELECT * FROM downloads"));
?>

<!-- add this where you want the counter and a button -->

<div id="download_outer" class="margin">
  <div id="download_inner">
    <button type="button" class="proceed" onClick="alert('do something')">
      Download
    </button>
  </div>

  <div id="download_count">
    Total Download Count: <span id="download_amount"><?php echo $downloads["count"]; ?></span>
  </div>
</div>

jQuery
Code:
// Adds a point into counter for download amount by a click
$(".proceed").on('click', function () {
  $.post('inc/counter/count.php?q=dlc', function (dlc) {
    $("#download_amount").html(dlc);
  });
});

// Auto-update amount of downloads (buttons clicks) every 4 seconds
setInterval(function () {
  $.post('inc/counter/fetch.php?q=dlc', function (dlc) {
    $("#download_amount").html(dlc);
  });
}, 4000);

Database


Database Config file


Two files required for counter and auto count update
make sure you edit a path into jQuery where you store this folder...


Well I really hope that you do know how to implement this. Good luck and enjoy!

Cool job,thanks.

Long live Balkan. ;)
Latest Thanks - View all

dvLden(2014-01-16 11:36 PM) 
Reply
2014-01-16, 11:34 PM,
#6
(2014-01-15, 09:24 AM)dvLden Wrote: Here's sample from one of my recent websites.
Don't know any single websites that allow php and mysql for making examples like codepen and jsfiddle, so sorry about that but no Demo...

HTML and PHP
Code:
<!-- Add this at very top of your HTML before <!doctype HTML> -->
<?php
  include 'database.php';

  mysql_select_db(DB_NAME, mysql_connect(DB_HOST, DB_USER, DB_PASS));
  $downloads = mysql_fetch_array(mysql_query("SELECT * FROM downloads"));
?>

<!-- add this where you want the counter and a button -->

<div id="download_outer" class="margin">
  <div id="download_inner">
    <button type="button" class="proceed" onClick="alert('do something')">
      Download
    </button>
  </div>

  <div id="download_count">
    Total Download Count: <span id="download_amount"><?php echo $downloads["count"]; ?></span>
  </div>
</div>

jQuery
Code:
// Adds a point into counter for download amount by a click
$(".proceed").on('click', function () {
  $.post('inc/counter/count.php?q=dlc', function (dlc) {
    $("#download_amount").html(dlc);
  });
});

// Auto-update amount of downloads (buttons clicks) every 4 seconds
setInterval(function () {
  $.post('inc/counter/fetch.php?q=dlc', function (dlc) {
    $("#download_amount").html(dlc);
  });
}, 4000);

Database


Database Config file


Two files required for counter and auto count update
make sure you edit a path into jQuery where you store this folder...


Well I really hope that you do know how to implement this. Good luck and enjoy!

hey, can you upload all files on mediafire or zippy? I require 20 posts in order to download an attachment... and I don't want to spam the forum :)
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Help] How could I make some fake proof like this? (With website refresh etc.) Murker 1 87 2017-10-21, 10:45 PM
Last Post: sudipda
  Need Download Button Ads insomniac 5 161 2017-09-11, 08:17 PM
Last Post: callieseye
  Is there a free vps that let you download a bot on it SeoFreak 5 187 2017-08-17, 11:33 AM
Last Post: LeoneAvaliani
  How To Fake Games Proof? timrspk 11 545 2017-07-13, 06:46 PM
Last Post: Padfoot
  how to make video Fake PROOF Coins added? warrensandre25 5 487 2017-05-09, 02:13 AM
Last Post: genesis




About Us | Contact Us | CPA Elites | Advertise | Stats | Staff Team

© 2013-2017 CPA Elites Ltd
Enhanced by MyBB and WallBB
Return to top