![]() |
Total Threads Hits At Forum Home
This product is no longer supported!
Total Threads Hits At Forum Home This is a small lovely prodct that displays the total threads hits at forum home (see the attached screen shot) Install instructions :: Very Simple only import this product through your admincp [Add/Import Product] There is one template modification it is :: go to ForumHome template & search inside it about the following code: HTML Code:
$vbphrase[members]: $numbermembers HTML Code:
<if condition="$vbulletin->options['threadstothits']">, $vbphrase[phpkd_total_hits]: $totalhits</if> 26/11/2005 This Fixed 15/1/2006 Updated to version 1.0.1 Changes log: 1.0.0 ==> initial Release 1.0.1 ==>
Upgrading from version 1.0.0 to version 1.0.1: go to template ForumHome & search for the following code: HTML Code:
,$vbphrase[phpkd_total_hits]: $totalhits HTML Code:
<if condition="$vbulletin->options['threadstothits']">, $vbphrase[phpkd_total_hits]: $totalhits</if> Thats all :) hope You Like It :rolleyes: |
Nice.
/me will check it out later |
thanks.
how come my Active Members doesnt show? this is what the coding looks like: PHP Code:
|
rb290
you must import the product first then make template modification & you must see it at your forum home do this & tell me what happened with you |
Neat stuff, handy to know exactly how many hits there's been - thanks!
*clicks install |
Installed!
|
Wouldn't this become quite a large number after time?
|
Quote:
|
Quote:
|
Is it possible to edit the number of total hits? If so how?
|
Also I get this error after the installation.
Quote:
|
rb290 ===> its depend on your vbulletin settings not on my hack
Aftermath ===> this error isn't related to my hack it related to the existing of thread table or not ( if it exist no error occurs if not error appears) it doesn't need any data base modifications, it only make a very simple mathematical calculation |
Quote:
PHP Code:
PHP Code:
***Installed Sorry for my english |
Quote:
I can't notice that extra space you talk about can you point it plz |
yes ..
|
Oh he's right. Thanks for the fix.
|
Sorry,
you are right Fixed ........... but I say that this error doesn't appear @ all forums coz I installed this on many forums & no errors appeared inspite of presence of this extra space any way now it is fixed |
Yeah thanks for that.
Solid Snake, ever thought of making a hack for Total Hits & Total Unique Hits? That would be cool, y'know. |
*Installed* Thanks :)
|
Quote:
|
Very nice work,
how about unique hits? is it possible mate? |
Installed thanks.
|
Quote:
|
Added and works a treat thanks
|
Quote:
|
Thanks SolidSnake
by the way, if you want to get commas in high numbers: open the file product-phpkd_total_hits.xml change: $totalhits = intval($totalhits['hits']); to $totalhits = vb_number_format($totalhits['hits']); |
Updated to 1.0.1 See changes log
|
Installed, nice hack. A minor change I made in the display order on the forum home:
Find, don't forget to take out the comma at the end of $totalposts: PHP Code:
PHP Code:
Threads: 69, Posts: 102, Total Threads Hits: 315, Members: 7, Active Members: 7 Welcome to our newest member, GreenMnM |
Is this for every page viewed or just the forum home?
|
Works fine on vBulletin 3.6.7 PL1
greeting Indy |
All times are GMT. The time now is 08:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|