Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #22  
Old 03-06-2006, 02:52 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iguanairs
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.

It counts all visitors(guests,members,spiders,bots)that visited the page

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

I think this is nice, now I'm clear there's no actual file edits *grin* I'll install it. ... you might want to get it moved to another forum - there are a lot of people who won't do file edits anymore and they'll miss out on this
Reply With Quote
  #24  
Old 03-06-2006, 02:59 PM
Rich's Avatar
Rich Rich is offline
 
Join Date: Mar 2004
Location: U.S.A
Posts: 921
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Quote:
You cannot distribute it without my permission

I never intended on distributing it. lol (Nor did I ever mention distributing it.)

What I said was:

Quote:
If this is counting "hits" on the page, I may be able to use it for my own purposes.
(Meaning a use other than displaying it on the page for all the users to see. But rather for me to add it to one of my sites statistics pages.)
Reply With Quote
  #25  
Old 03-06-2006, 04:19 PM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this count all page views? Or does it identify unique visits?
Reply With Quote
  #26  
Old 03-07-2006, 02:57 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@iguanairs

OK then

@RasMasta

Quote:
It counts all visitors(guests,members,spiders,bots)that visited the page
Can I make it clearer?
Reply With Quote
  #27  
Old 03-07-2006, 04:44 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Moved to Extensions

Chris
Reply With Quote
  #28  
Old 03-07-2006, 05:02 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK thanx Chris
Reply With Quote
  #29  
Old 03-19-2006, 10:28 PM
nicedreams nicedreams is offline
 
Join Date: Jan 2005
Location: Washington DC Metro
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The html for the table is coded wrong. Missing some td and table tags. And it is being placed in an incorrect spot in the template.

Jim
Reply With Quote
  #30  
Old 03-20-2006, 05:48 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What exact part is wrong.I don't see any prob.And cause it is nothing great is is placed pretty good .You can place it anywhere you want if you can.
Reply With Quote
  #31  
Old 03-20-2006, 06:04 PM
nicedreams nicedreams is offline
 
Join Date: Jan 2005
Location: Washington DC Metro
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ZIKI-SET
What exact part is wrong.I don't see any prob.And cause it is nothing great is is placed pretty good .You can place it anywhere you want if you can.
There is no <td> and </td> around your <img src> statement. No end tag in the image.

Not sure why there is a </a> tag.

No closing </tr> and </table> tag at the end.

And it should be inserted after the </table> tag in the template, not after a </td> tag putting it in zombie zones.

Jim
Reply With Quote
Reply

Thread Tools

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 08:09 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.08696 seconds
  • Memory Usage 2,304KB
  • 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
  • (6)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
  • (4)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