vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Total Threads Hits At Forum Home (https://vborg.vbsupport.ru/showthread.php?t=100829)

Omranic 11-14-2005 10:00 PM

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
then put after it directly the following code ::
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 ==>
  • adding admincp option for switching On/Off
  • Fixed This ( get commas in high numbers )


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
& replace It with the following code:
HTML Code:

<if condition="$vbulletin->options['threadstothits']">, $vbphrase[phpkd_total_hits]: $totalhits</if>
Then import the attached product with Allow Overwrite set to yes


Thats all :)
hope You Like It :rolleyes:

Daniel 11-15-2005 12:48 AM

Nice.

/me will check it out later

rb290 11-15-2005 02:50 AM

thanks.
how come my Active Members doesnt show?

this is what the coding looks like:

PHP Code:

            <div>
                
$vbphrase[threads]: $totalthreads,
                
$vbphrase[posts]: $totalposts,
                
$vbphrase[members]: $numbermembers,
$vbphrase[phpkd_total_hits]: $totalhits
<if condition="$show['activemembers']">,
                    <
span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
                </if>
            </
div


Omranic 11-15-2005 10:14 AM

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

steadicamop 11-15-2005 10:55 AM

Neat stuff, handy to know exactly how many hits there's been - thanks!

*clicks install

Snake 11-15-2005 01:26 PM

Installed!

GamerJunk.net 11-16-2005 03:11 AM

Wouldn't this become quite a large number after time?

Omranic 11-16-2005 06:18 AM

Quote:

Originally Posted by RasMasta
Wouldn't this become quite a large number after time?

This Depends on your forums activity :)

rb290 11-24-2005 05:44 AM

Quote:

Originally Posted by SolidSnake@GTI
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

no i installed this hack perfectly but im saying you have Active Members next to the Total hits, i dont.

Snake 11-24-2005 05:27 PM

Is it possible to edit the number of total hits? If so how?


All times are GMT. The time now is 06:30 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.02373 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete