Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Hit Counter Details »»
Hit Counter
Version: 1.00, by eXtremeTim eXtremeTim is offline
Developer Last Online: Feb 2008 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.2 Rating:
Released: 10-08-2006 Last Update: Never Installs: 15
 
No support by the author.

Right now this is just a basic page hit counter that collects some information about the users such as browser and ip. It also has an addon in it to work with my multiple sections hack if you own that to track page views per section. I will be working on expanding this hack to much more then just a simple hit counter in the end.

Demo: http://www.extremewebtech.com/forums/

This will work on 3.5 if you remove the executionorder="5" from the product file.

Enjoy this hack you guys.

And as always if you enjoy this free hack and would like to see them keep coming please donate.

Donations can be sent via paypal to: tim@extremechatforums.com
I no longer have the time to support his hack here. If you need help with this hack please go here: http://vbhacks.extremewebtech.com/fo...read.php?t=174

I will try to maintain the release here but no promises. You will always be able to get the latest version of this hack there.

Show Your Support

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

Comments
  #2  
Old 10-09-2006, 08:56 PM
Gizmo5h1t3's Avatar
Gizmo5h1t3 Gizmo5h1t3 is offline
 
Join Date: Aug 2005
Location: ROCHDALE LANCS UK
Posts: 650
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
$vbphrase[threads]: $totalthreads,

cant find that in forumhome on 3.5 m8.
Reply With Quote
  #3  
Old 10-09-2006, 08:58 PM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its in the whats going on box. It show the number of threads.
Reply With Quote
  #4  
Old 10-09-2006, 09:06 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow thanks!
Reply With Quote
  #5  
Old 10-09-2006, 09:22 PM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
            <installcode><![CDATA[$db->hide_errors();
$db->query_write("CREATE TABLE `ewt_statistics` (
`rid` INT( 10 ) NOT NULL AUTO_INCREMENT ,
`uid` INT( 10 ) DEFAULT '0' NOT NULL ,
`sectionid` INT( 10 ) DEFAULT '0' NOT NULL ,
`thisscript` VARCHAR( 50 ) NOT NULL ,
`ipaddy` VARCHAR( 100 ) NOT NULL ,
`useragent` VARCHAR( 200 ) NOT NULL ,
PRIMARY KEY ( `rid` )
);"
);
$db->show_errors();]]></installcode>
            <
uninstallcode /> 
Why empty?
<uninstallcode />

Replace

PHP Code:
$db->hide_errors();
$vbulletin->db->query_write("
DROP TABLE `"
TABLE_PREFIX ."ewt_statistics`
"
);
$db->show_errors(); 
AND

PHP Code:
$db->query_write("CREATE TABLE `ewt_statistics` ( 
replace

PHP Code:
$db->query_write("CREATE TABLE `"TABLE_PREFIX ."ewt_statistics` ( 
Reply With Quote
  #6  
Old 10-09-2006, 09:30 PM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no i dont use the prefix on my custom hacks since i prefix them all with ewt.
Reply With Quote
  #7  
Old 10-09-2006, 09:31 PM
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Location: eXtremewebtech.com
Posts: 1,201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and yes i did forget the uninstall code sorry about that
Reply With Quote
  #8  
Old 10-10-2006, 01:16 AM
asj's Avatar
asj asj is offline
 
Join Date: Jul 2006
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #9  
Old 10-10-2006, 02:25 AM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where is this displayed at on your fourms?
Reply With Quote
  #10  
Old 10-10-2006, 05:18 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Forum stsistics, Its the 1st 1, well i am assuming it is lol, Page Views?
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 09:38 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.05250 seconds
  • Memory Usage 2,291KB
  • Queries Executed 23 (?)
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
  • (4)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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