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
Total Threads Hits At Forum Home Details »»
Total Threads Hits At Forum Home
Version: 1.0.1, by Omranic Omranic is offline
Developer Last Online: Sep 2021 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 11-14-2005 Last Update: 01-14-2006 Installs: 33
Uses Plugins
Re-useable Code Translations  
No support by the author.

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

Show Your Support

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

Comments
  #2  
Old 11-15-2005, 12:48 AM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice.

/me will check it out later
Reply With Quote
  #3  
Old 11-15-2005, 02:50 AM
rb290's Avatar
rb290 rb290 is offline
 
Join Date: Oct 2005
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 11-15-2005, 10:14 AM
Omranic's Avatar
Omranic Omranic is offline
 
Join Date: Jan 2005
Location: Egypt
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #5  
Old 11-15-2005, 10:55 AM
steadicamop's Avatar
steadicamop steadicamop is offline
 
Join Date: Jul 2004
Location: Lancashire, UK
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

*clicks install
Reply With Quote
  #6  
Old 11-15-2005, 01:26 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed!
Reply With Quote
  #7  
Old 11-16-2005, 03:11 AM
GamerJunk.net's Avatar
GamerJunk.net GamerJunk.net is offline
 
Join Date: Jan 2004
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wouldn't this become quite a large number after time?
Reply With Quote
  #8  
Old 11-16-2005, 06:18 AM
Omranic's Avatar
Omranic Omranic is offline
 
Join Date: Jan 2005
Location: Egypt
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RasMasta
Wouldn't this become quite a large number after time?
This Depends on your forums activity
Reply With Quote
  #9  
Old 11-24-2005, 05:44 AM
rb290's Avatar
rb290 rb290 is offline
 
Join Date: Oct 2005
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 11-24-2005, 05:27 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to edit the number of total hits? If so how?
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 02:47 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.05494 seconds
  • Memory Usage 2,308KB
  • 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_html
  • (1)bbcode_php
  • (2)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
  • (2)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