macc
07-05-2009, 10:00 PM
Found this free script and with some changes everybody can use this on vBulletin boards and all pages on your site and also have a different counters with different looks!
Download attached zip file and pack up.
Upload counter directory in your server root - public_html/counter and with notepad make one text file (test.txt) and put in that file - number what you want (exp. 12455) and upload this test.txt in counter/pages
open counter/config.inc.php and found this (at the end of file)
find:
$CFG['pages'] = array(
'demo'
);
and put name of your text file what you make before
you can have few pages here - depend how many different counters you need for your pages
$CFG['pages'] = array(
'demo','test'
);
and save file
after go in your (for vbulletin) admincp - styles (your template) - forumhome, adv_portal (if you have vba CMPS) and put this code before $footer in your templates
<center><img src="http://yoursite.com/counter/counter.php?page=my_page&digit=my_digit_set" border="0" alt="counter"></center>
just change few things
yoursite.com - to your url
page=test
digit=reflect (i use this)
digit - you can found in zip package and also make one demo page with all digits and just choose which you want
page - make how much you want - but do not forget to add them in config.inc.php and also upload in counter/pages
Note: All of you can have own demo page for digits/counters. It is in zip package.
Demo page (http://libar-libar.com/counter/demo.php)
counter in action - http://libar-libar.com
That is all.
If you like it, just click on install!
regards
macc
Download attached zip file and pack up.
Upload counter directory in your server root - public_html/counter and with notepad make one text file (test.txt) and put in that file - number what you want (exp. 12455) and upload this test.txt in counter/pages
open counter/config.inc.php and found this (at the end of file)
find:
$CFG['pages'] = array(
'demo'
);
and put name of your text file what you make before
you can have few pages here - depend how many different counters you need for your pages
$CFG['pages'] = array(
'demo','test'
);
and save file
after go in your (for vbulletin) admincp - styles (your template) - forumhome, adv_portal (if you have vba CMPS) and put this code before $footer in your templates
<center><img src="http://yoursite.com/counter/counter.php?page=my_page&digit=my_digit_set" border="0" alt="counter"></center>
just change few things
yoursite.com - to your url
page=test
digit=reflect (i use this)
digit - you can found in zip package and also make one demo page with all digits and just choose which you want
page - make how much you want - but do not forget to add them in config.inc.php and also upload in counter/pages
Note: All of you can have own demo page for digits/counters. It is in zip package.
Demo page (http://libar-libar.com/counter/demo.php)
counter in action - http://libar-libar.com
That is all.
If you like it, just click on install!
regards
macc