vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Visitor Counter (https://vborg.vbsupport.ru/showthread.php?t=107637)

HaYLaZ 02-09-2006 10:00 PM

Visitor Counter
 
Add your page visitor counter:D

demo:http://www.haylazturk.com/adult/index.php?styleid=3

installing

1:unzip attached file and upload counter folder to forums root
2:Open counter folder>>config.php and write your information like below:
database name
database username
database userpassword
you can change page background color and text colors in config.php too
3:go to phpmyadmin>>select your database>>click sql querry than make this sql querry below:

Code:

CREATE TABLE counter (
  countnr int(10) NOT NULL auto_increment,
  tag int(2) NOT NULL default '0',
  monat int(2) NOT NULL default '0',
  jahr int(4) NOT NULL default '0',
  KEY countnr (countnr)
 ) TYPE=MyISAM;

4:Open your footer template and at the end of the codes add below:
Code:

<!--haylaz_counter-->
<br />
</tr>
</table><br />
<if($imprint_url != '')>
<then>               
</then>
<else>
<if($imprint_text != '')>
<then>
</then>
</if>
</else>
</if>
<table cellpadding="{$style['tableincellpadding']}" cellspacing="{$style['tableincellspacing']}" border="{$style['tableinborder']}" class="tableinborder" align="center">
 <tr>
 <td class="tablea"><span class="smallfont"><center><iframe width=200 height=83 frameborder=0 src="http://www.yoursite.com/counter/counter.php"
 name="counter" scrolling="no">Your browser doesnt support frames!</iframe><center></a></span></td>
<!--haylaz_counter_finished-->

EDİT THE GREEN THE CODES ABOVE
thats all enjoy:D:D:D

NOTE:change counter folder and files CHMOD to 777

Snake 02-10-2006 03:37 PM

Oh I love this, thanks!

bashy 02-10-2006 03:54 PM

oooo 1st install :)

Thanks for this i do like it a lot....
How can i code it so that the STATISTICS link is at the top of the stats table?
Also any chance of the stats being in english?

TIA

HaYLaZ 02-10-2006 05:21 PM

you can change all English sections in counter folder files.
example months,date,times ect:D

bashy 02-10-2006 05:22 PM

I was more of refferring to the words that show in the image?

HaYLaZ 02-10-2006 06:26 PM

sorry but ı dont understand:(

bashy 02-10-2006 06:28 PM

When you click the STATISTICS link in the little box showing the stats....
It opens a popup with more stats....thats where i would like the translation to english
please?

Ziki 02-10-2006 07:12 PM

Too bad I don't need it.Have the same thing on the main site

HaYLaZ 02-11-2006 06:31 AM

replace attached file monat.php wiht counter>>monat.php

palerider 02-12-2006 04:14 AM

I'm getting some errors after installing this:

Warning: fopen(counter.csv): failed to open stream: Permission denied in /***/public_html/forums/counter/counter.php on line 64

Warning: fwrite(): supplied argument is not a valid stream resource in /***/forums/counter/counter.php on line 65

Warning: fclose(): supplied argument is not a valid stream resource in /****public_html/forums/counter/counter.php on line 66

Warning: fopen(counter.csv): failed to open stream: Permission denied in /****/public_html/forums/counter/counter.php on line 71

Warning: fclose(): supplied argument is not a valid stream resource in /****/public_html/forums/counter/counter.php on line 83
Date: 12.02.06


All times are GMT. The time now is 10:43 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.01715 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete