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
HITCounter - Link Forum Counter Details »»
HITCounter - Link Forum Counter
Version: 1.3, by b6gm6n b6gm6n is offline
Developer Last Online: Aug 2014 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 08-04-2005 Last Update: 10-11-2005 Installs: 88
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

This is a port originally By Zajako and Mone.

With kind permission i've updated the mod for vBulletin 3.5, this version comes with an enhancement, i.e via your ACP (forum manager) you can adjust the starting value for any counter.

Installation is done easily via the importing of an xml file.

See screenshots!

Enjoy!

Update : Huge Respect to KirbyDE who really is the genius behind this mod, cheers dude.

Update 1.3 : optimized code - (no more updates to totals) - Thanx KirbyDE

If you use this mod please click Install - cheers!

Show Your Support

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

Comments
  #52  
Old 08-13-2005, 04:21 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by b6gm6n
ok so the hook "forumbit_display" which calls 'HITCounter_merge template' >
Code:
if ($forum['link'])
{
	$forum['linkhits'] = $vbulletin->forumcache["$forumid"]['replycount'];
	$forum['replycount'] = '';
	$forum['threadcount'] = '';
	eval('$forum[\'lastpostinfo\'] = "' . fetch_template('linkhits') . '";');
}
isn't working for some? - what about $forum?
I understand what & why your saying what your saying, but surely it wouldnt work for me locally and on my unix server if something was amiss...

I actually don't think it's a bug with this plugin... it's a cache template problem of some kind.

-b6
But you still have to put this somewhere to call that template:

$linkhits

Otherwise how does it know where to put the hit counter?
Reply With Quote
  #53  
Old 08-13-2005, 04:26 PM
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Location: UK
Posts: 691
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Surely it's all in the hook 'forumbit_display' if that detects a forum link (if ($forum['link'])) then fetch + merge the newly installed template (linkhits) - jobs a goodun! (in theory) why this worked for me and does not for you i'll have to look into.

-b6
Reply With Quote
  #54  
Old 08-16-2005, 08:34 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works 100% for me, just by installing the product. Great work, thanks a lot!
Reply With Quote
  #55  
Old 08-16-2005, 08:43 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by b6gm6n
Surely it's all in the hook 'forumbit_display' if that detects a forum link (if ($forum['link'])) then fetch + merge the newly installed template (linkhits) - jobs a goodun! (in theory) why this worked for me and does not for you i'll have to look into.

-b6
Propbably because I don't have a last post column for my links.
Reply With Quote
  #56  
Old 08-17-2005, 07:35 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

worked great,, only problem i see is..
the redirect hits count towards post count on the board ?

Threads: 2, Posts: 688, Members: 3
i tried to turn off post count, but it still shows a post for every redirect..
good work tho so far installs
Reply With Quote
  #57  
Old 08-17-2005, 12:21 PM
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Location: UK
Posts: 691
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes Loco Macheen, i know...i don't think there's a work around for this without file edits!
-b6
Reply With Quote
  #58  
Old 09-29-2005, 04:14 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This worked fine in RC3 but is not working for me in gold.
Reply With Quote
  #59  
Old 09-29-2005, 04:17 PM
BamaStangGuy's Avatar
BamaStangGuy BamaStangGuy is offline
 
Join Date: Mar 2004
Location: Alabama
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xplorer4x4
This worked fine in RC3 but is not working for me in gold.
Works fine for me in Gold

Well what is the code edit so that it does not count as posts? I cant have it counting toward posts
Reply With Quote
  #60  
Old 09-29-2005, 05:38 PM
b6gm6n's Avatar
b6gm6n b6gm6n is offline
 
Join Date: Aug 2002
Location: UK
Posts: 691
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BrentWilson
Works fine for me in Gold

Well what is the code edit so that it does not count as posts? I cant have it counting toward posts
Works in 2 Gold installs i have!

And the code edit would need a re-write of this hack, it was the only way to have this as an xml product without the edits.

-b6
Reply With Quote
  #61  
Old 09-29-2005, 06:09 PM
lairnoc's Avatar
lairnoc lairnoc is offline
 
Join Date: Oct 2003
Location: The Netherlands
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

don't work for gold here
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 04:31 AM.


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.04303 seconds
  • Memory Usage 2,308KB
  • 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
  • (4)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