vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Mini Mods - Counter for your vb (https://vborg.vbsupport.ru/showthread.php?t=217961)

macc 07-05-2009 10:00 PM

Counter for your vb
 
1 Attachment(s)
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:
Code:

$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

Code:

$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


Code:

<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

counter in action - http://libar-libar.com

That is all.
If you like it, just click on install!

regards

macc

saadessa 07-06-2009 04:49 PM

very nice i going to try it now thanks

saadessa 07-06-2009 06:04 PM

work fine whithout any problems thank you

macc 07-06-2009 07:10 PM

Quote:

Originally Posted by saadessa (Post 1843967)
work fine whithout any problems thank you

You are welcome!

macc

goxy63 07-07-2009 10:25 PM

Thanks

Highlandersepp 12-11-2009 05:05 AM

i get error:
http://www.playerworlds.de/forum/orf...l_strecke6.php

what to do ?

by demo-page too:
http://www.playerworlds.de/counter/demo.php

D_light 12-11-2009 03:00 PM

Quote:

Originally Posted by Highlandersepp (Post 1928697)

yor code is

Code:

<center><img src="http://www.playerworlds.de/counter/counter.php?beavercreek2010=my_page&digit=my_digit_set" border="0" alt="counter"></center>
edit for example in

Code:

<center><img src="http://www.playerworlds.de/counter/counter.php?page=demo&digit=scoreboard" border="0" alt="counter"></center>



bye

macc 12-11-2009 05:44 PM

Quote:

Originally Posted by D_light (Post 1928880)
yor code is

Code:

<center><img src="http://www.playerworlds.de/counter/counter.php?beavercreek2010=my_page&digit=my_digit_set" border="0" alt="counter"></center>
edit for example in

Code:

<center><img src="http://www.playerworlds.de/counter/counter.php?page=demo&digit=scoreboard" border="0" alt="counter"></center>



bye

Second image code is ok ... and also check in your counter/config.inc.php that you put your page name and also that you make that text file and upload on right place.

macc

Highlandersepp 12-12-2009 05:56 AM

done, but i see only the word counter :(

Highlandersepp 12-12-2009 08:16 AM

it works :D

macc 12-12-2009 04:14 PM

Quote:

Originally Posted by Highlandersepp (Post 1929228)
it works :D

Nice that you get it to works!

macc

frank42 01-07-2010 12:40 PM

not working here.....wierd

frank42 01-07-2010 12:57 PM

not even working on demo page

http://matrix-sales.info/counter/demo.php

JGreig 01-08-2010 12:17 AM

It's a bit useless, because it counts everytime you refresh, not just everytime someone visits.

It can be used for certain things however, good work!


All times are GMT. The time now is 05:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01213 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete