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
  #102  
Old 11-20-2005, 01:00 PM
mooj mooj is offline
 
Join Date: Jul 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mooj

how can i display the var output $hottopics from ( forumhome_forumbit_level2_post ) ??

i want to add an IF condition .. to get the out put form only one forum ..
like this :
------------------------
forum bit content .. bla bla bla ............
then ..
<if condition="$forumid = 11">
$hottopics
</if>
------------------------

PLEASE HELP :cry:
I'm not getting the output of $hottopics in (forumhome_forumbit_level2_post) template .. ?

...
Is there any other (hook location) which can solve this problem ..

........
mooj
Reply With Quote
  #103  
Old 11-21-2005, 03:00 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mine doesn't Look like Ya'lls!
Reply With Quote
  #104  
Old 11-23-2005, 06:58 AM
Stelios Stelios is offline
 
Join Date: Jun 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed and it almost works.....

Problem 1. No tile
Problem 2 see the attached file

Any ideas?
Reply With Quote
  #105  
Old 11-23-2005, 07:04 AM
optrex optrex is offline
 
Join Date: Sep 2005
Posts: 344
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by optrex
Thanks for this, I'm really impressed.

I have a question: I have a "most views" section which currently shows the most views (as long as a post has been made in the last 7 days).

How do I

a) Extend the date to say 30 days or 90 days?
b) Clear the date so I get the most views since the forum was created?

Thanks
Anyone got any ideas?
Reply With Quote
  #106  
Old 12-06-2005, 01:39 AM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't get 'This Week's Hot Topic' title in the window but everything else works fine.

How do I correct?
Reply With Quote
  #107  
Old 12-06-2005, 01:40 AM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess there is no support here!
Reply With Quote
  #108  
Old 12-06-2005, 11:37 AM
fabianv fabianv is offline
 
Join Date: Nov 2005
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How does one give this cool function a heading

''Hottest Threads''
Reply With Quote
  #109  
Old 01-09-2006, 06:36 PM
Jnifoo's Avatar
Jnifoo Jnifoo is offline
 
Join Date: Sep 2004
Location: France
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have install this plugin, but found it not enough finished, so here is an updated install text.
- this will add a icon like the other mods in the 'what's going on box' (wgob)
- this will add a title for this section like the other mods in the wgob
- this will allow to have a smaller size of text, like the other mods in the wgob
- this will assure you to have the term 'reply' respect your own language
---------
//## Jnifoo's adapted Instructions ##


1. Import the product
*Nota: attention if you're not an english based, you'll need to change the word 'reply' into your own language and be carefull with special characters)


2. Find in your FORUMHOME template
** Careful if you use vBulletin v3.5.3 - This is updated **
Code:
</tbody>
</if>
</table>
<br />
<!-- end what's going on box -->
** Add this lines below the ' /if ' tag **
Code:
<!-- This Week's Hot Topics -->
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_hottopics')"><img id="collapseimg_forumhome_hottopics" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_hottopics].gif" alt="" border="0" /></a><span class="smallfont"><strong>$vbphrase[hottopics]</strong><span>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_hottopics" style="$vbcollapse[collapseobj_forumhome_hottopics]">
<tr>
<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
<td class="alt1" width="100%"><div class="smallfont">$hottopics</div></td>
</tr>
</tbody>
<!-- /This Week's Hot Topics -->
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')

4. modify the 'hottopics' entry in the style manager
(Nota: don't use any html table tag to be sure it is displayed on the good row)


--- Your done - hope this help ---
Reply With Quote
  #110  
Old 01-26-2006, 12:04 AM
bloodwrath bloodwrath is offline
 
Join Date: Mar 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mine is messed its showing the new items, not the most replied to
any ideas
http://help.supportcave.com/index.php

uninstalled and reinstalled..
maybe some other plugin is messing with it..
Reply With Quote
  #111  
Old 01-26-2006, 04:04 AM
caliman's Avatar
caliman caliman is offline
 
Join Date: Jan 2005
Location: California
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure. That's weird.

*Clicked install*

Works for me out of the box.
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 07:24 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.06276 seconds
  • Memory Usage 2,312KB
  • 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
  • (7)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
  • (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