Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ZH - Hits counters for your site Details »»
ZH - Hits counters for your site
Version: 1.0.1, by Ziki Ziki is offline
Developer Last Online: Nov 2015 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 03-04-2006 Last Update: 06-11-2006 Installs: 21
Template Edits
Additional Files  
No support by the author.

This modification was brought to you by
KXDesign
http://www.kxdesign.com/


~Hack name
Hit Counters For Your Site

~Hack description
Adds a counter which counts EVERY visit in that page.

~Hack options
None

~Hack info
File uploads: 3
Template edits: 1
File edits: 0
Plugins: 0
SQL Queries: 0
Phrases: 0
Settings: 0

Install time: 2 Minutes
Install level: Medium

~Hack installation

Step 1: Upload the whole 'counter' folder to forum root.
Chmod counter.txt to 666 at least!

Step 2: Add this code anywhere you like.(Any template)

Code:
<!-- Start ZH hack -->
    <table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="center">
	<td>
		<table cellpadding="2" cellspacing="0" border="0">
		<tr>

			<img src="counter/counter.php$session[sessionurl_q]" rel="nofollow"  div class="smallfont" align="center"> people have visited this site</a>

		</tr>


		</table>
	</td>
<!-- End ZH hack -->


~Hack screenshots
Uploaded

~Hack copyright
This may not be distributed,released or claimed as your work without author's permission.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-05-2006, 10:01 PM
Cap'n Steve's Avatar
Cap'n Steve Cap'n Steve is offline
 
Join Date: Feb 2004
Location: Kalamazoo, MI, USA
Posts: 745
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You chmod with whatever FTP program you're using. Try right-clicking on the file.
Reply With Quote
  #13  
Old 03-05-2006, 10:02 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea, click install
Reply With Quote
  #14  
Old 03-05-2006, 10:37 PM
Gunshot Gunshot is offline
 
Join Date: Feb 2005
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pabloknight

i had the same problem

when you check the properties of your broken link you get:

http:/www.burntorangefanzone.com/forums/counter/counter.php


you have to put the folder called "counter" into the root with the "counter.txt" inside it

then chmode the text file to 666
Reply With Quote
  #15  
Old 03-05-2006, 10:47 PM
pabloknight pabloknight is offline
 
Join Date: May 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have a counter folder under forums. Do I need to make one, then put the .txt and the .php file into that counter folder?
Reply With Quote
  #16  
Old 03-05-2006, 11:38 PM
Gunshot Gunshot is offline
 
Join Date: Feb 2005
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pabloknight
I don't have a counter folder under forums. Do I need to make one, then put the .txt and the .php file into that counter folder?
that'll fix it
Reply With Quote
  #17  
Old 03-06-2006, 12:07 AM
pabloknight pabloknight is offline
 
Join Date: May 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I found out how to change the chmod.

Thanks everyone for your assistance! I have it working now. Thanks!
Reply With Quote
  #18  
Old 03-06-2006, 08:45 AM
Azhrialilu's Avatar
Azhrialilu Azhrialilu is offline
 
Join Date: Aug 2003
Location: Stretton, Derbyshire
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This isn't actually a code modification tho is it, it's an extension as it's uploading a file and changing a template... or did I miss an actual code mod somewhere?
Reply With Quote
  #19  
Old 03-06-2006, 01:59 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I first though I will only edit the index but I edit the template
Reply With Quote
  #20  
Old 03-06-2006, 02:11 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

What does this count? Does this count unique vistors the view the site or does it count user that have logged in to the site? Does it also count spiders?

I ask because I currently am using a modifications from this site that lists all of the users that have logged in and it lists their name as well as how many users.

If this is counting "hits" on the page, I may be able to use it for my own purposes.
Reply With Quote
  #21  
Old 03-06-2006, 02:30 PM
Azhrialilu's Avatar
Azhrialilu Azhrialilu is offline
 
Join Date: Aug 2003
Location: Stretton, Derbyshire
Posts: 445
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ZIKI-SET
Oh I though I added the folder?Didn't I?
I meant that it's not actually changing any of the vb-default files - but uploading a new file and editing a template
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04581 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete