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
Top 5 "Hot" Topics on Forum Home Page Details »»
Top 5 "Hot" Topics on Forum Home Page
Version: 1.1, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.0 RC1 Rating:
Released: 07-27-2005 Last Update: 08-01-2005 Installs: 79
Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

This little one puts a list of the five threads with the most replies that have been active in the past 7 days on your forum home page.

You can change the query to make it 10 topics with most views or whatever suits your needs.

Things you may want to change:

To get the top 10, 20 or whatever topics instead of 5, change
Code:
LIMIT 5
to the number of your choice.

To get the top topics based on views instead of replies, change
Code:
ORDER BY replycount
to
Code:
ORDER BY views
To keep track of the top threads that are currently active, no matter when they were started, change
Code:
WHERE dateline > $datecut
to
Code:
WHERE lastpost > $datecut

Supporters / CoAuthors

Show Your Support

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

Comments
  #122  
Old 06-29-2006, 05:48 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure Michael. I haven't used the mod in some time.
Reply With Quote
  #123  
Old 06-30-2006, 06:39 AM
futuredood futuredood is offline
 
Join Date: Jan 2002
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey michael did you get this to work on 3.5.4? i'd like to use it if it works..
Reply With Quote
  #124  
Old 07-05-2006, 05:06 PM
Aislinn's Avatar
Aislinn Aislinn is offline
 
Join Date: Feb 2006
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It does work on 3.5.4 I have it installed on mine.

It worked perfectly until I changed this as you said we could above.:

To keep track of the top threads that are currently active, no matter when they were started, change
Code:

WHERE dateline > $datecut

to
Code:

WHERE lastpost > $datecut

Now that Ive changed it it works and looks fine except for one thing. In the table border on top of it, it used to say Hot Topics, now its just a blank strip of color. Any idea on what might have done it?

That was the only thing I changed and then I reimported teh file and overwrite the old one.

Edit//

Ok now this is really weird. I changed the file back the way it way, reimported. Still not showing the title. So I redownloaded the zip file, imported the new never edited file from the zip and still no title.

So now Ive changed it back to the lastpost instead of dateline and have no idea how to get the title up. I can see the <title></title> in the file but I dont know why its not reading it.

I have boofo's changes in place as well.
Reply With Quote
  #125  
Old 07-27-2006, 01:17 AM
karlm's Avatar
karlm karlm is offline
 
Join Date: Jul 2006
Location: England
Posts: 447
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jnifoo
3. create a $vbphrase[hottopics] translation to the system language system (english & your own language if required)
(-> let's translate it into, for example, 'This Week's Hot Topics')
Hi Jnifoo, the help you supplied in post 108 is great and i now have it showing just underneath the forum statistics.
However, I'm stuck on the above quotes. could someone guide me in creating a $vbphrase/translation ?
Reply With Quote
  #126  
Old 01-11-2007, 12:07 PM
Jnifoo's Avatar
Jnifoo Jnifoo is offline
 
Join Date: Sep 2004
Location: France
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Karlm, sorry didn't notice your question till I search for plugin update
Use the admin pannel dedicated for language & expressions:
YOURURI/YOURADMINPANEL/phrase.php?do=modify&fieldname=global
See the exemples provided for the syntax, then clic on "add new expression"

Hope this help for you or someone else
Reply With Quote
  #127  
Old 01-19-2007, 07:34 PM
Al-Fateh Al-Fateh is offline
 
Join Date: Apr 2006
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmmm

not working

can this work for 3.6.x?
Reply With Quote
  #128  
Old 05-08-2007, 09:34 PM
macgyvers macgyvers is offline
 
Join Date: May 2007
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all,
Can this work on 3.6.5 ?

thanks
Reply With Quote
  #129  
Old 09-07-2007, 07:33 PM
smapdi smapdi is offline
 
Join Date: Dec 2006
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks - I was really looking for this something like this. Just got done installing & tweaking. I've seen it asked a few times so FYI I was able to get this to work globally and in a left column ... things I changed were hookname to global_start - also I prefaced most of the variables with "ht_" e.g. $forumchoice became $ht_forumchoice ... when I went global there must have been some variable crashes as my forum navigation got all wacky ... oh - also I changed the table to a <ul> and hot threads to <li>s. So far seems to work nice in 3.6.4. Thanks again.
Reply With Quote
  #130  
Old 05-08-2008, 07:50 PM
pelican pelican is offline
 
Join Date: Sep 2004
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a 3.7.0 version?
Reply With Quote
  #131  
Old 06-24-2008, 04:06 AM
caliman's Avatar
caliman caliman is offline
 
Join Date: Jan 2005
Location: California
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pelican View Post
is there a 3.7.0 version?
I haven't been able to get it to work since I upgraded to 3.7.1 from 3.6.8.
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 11:23 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.11894 seconds
  • Memory Usage 2,308KB
  • Queries Executed 26 (?)
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
  • (5)bbcode_code
  • (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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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