Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[AJAX] Hot Threads Details »»
[AJAX] Hot Threads
Version: 2.6.1, by mad@Max mad@Max is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 08-30-2009 Last Update: 12-13-2009 Installs: 51
DB Changes Uses Plugins Template Edits Auto-Templates
Code Changes Additional Files  
No support by the author.

Description:
Hack allows the main forum page displaying a list of "hot threads" in the form of tablets with posters.

Compatibility: 3.7.х - 3.8.х

Features
  • realisation on ajax:
    • load and refresh through a defined time in settings hot threads
    • load the entire list of hot threads
    • removal of the status of the hot threads in the loaded list
  • set and removal of the status of a hot thread in the menu "Options Thread" of each thread
  • opportunity to choose your own tag images
  • choice of forums to display panel
  • individual disable hack in preferences of User CP
  • creation of thumbnails on the link from the threads
  • caching
  • able to use attachments
  • no need to edit the file

How in work
In the menu "Options Thread" of each topic appears "Make a hot thread / Remove the status of hot (depending on status). Checking the threads in such a way, we form a list of hot threads. Further, this list will be rotated in a random order, in the quantities to what you specify in the settings (default 5). Posters displayed in each cell, are collected from the first post of the thread, the first image, from tag img (or your own). Then this image uploading to your server, for make a thumbnail, and write it in db as link of image to your server.
To see the current list of hot threads, simply click on the "List of Threads" in the header of the output window. When you load a list of topics, with the possibility (for groups 5,6,7) removal of the status of hot or at any of the topics on the list.

Install
  1. Upload all files from folder upload to forum folder
  2. Then change the attribute of folder hotimg on 777 (if it needed), for record thumbnails.
  3. Edit template SHOWTHREAD. Find:
    HTML Code:
    <div><label for="ao_sut"><input type="radio" name="do" id="ao_sut" value="stick" /><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></label></div>
    Add buttom:
    HTML Code:
    <div><label for="ao_sht"><input type="radio" name="do" id="ao_sht" value="hotthread" /><if condition="$thread['hotthread']">$vbphrase[unhot]<else />$vbphrase[dohot]</if></label></div>
    (strange why in this section no hook)
  4. Import product

Download Now

File Type: zip [AJAX] Hot Threads En v2.4.2.zip (9.5 KB, 226 views)
File Type: zip [AJAX] Hot Threads En v2.6.1.zip (10.2 KB, 430 views)

Screenshots

File Type: jpg htmain.jpg (153.3 KB, 0 views)
File Type: png Snap_2009.09.03 01.46.44_001.png (47.7 KB, 0 views)
File Type: png Snap_2009.09.03 01.57.44_004.png (10.3 KB, 0 views)

Show Your Support

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

Comments
  #22  
Old 12-13-2009, 07:30 PM
gantonr gantonr is offline
 
Join Date: Oct 2009
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

latest version by mad@max

fixed all known bugs

added: now you can use first attachment from first post in thread for image.

thanks to mad@max

ps:
if you want that width and height settings from hot threads options effects attachments images in hot threads, if it used,
edit template mdm_ht_bit:
HTML Code:
<img title="$title" class="inlineimg"<if condition="$vboptions['mdm_ht_attach']"> style="max-width: $vboptions[mdm_ht_thumb_w]px; max-height: $vboptions[mdm_ht_thumb_h]px;"</if> src="$thumb" border="0" alt="$title" />
Attached Files
File Type: zip [AJAX] Hot Threads v2.6.1.zip (12.5 KB, 25 views)
Reply With Quote
  #23  
Old 12-14-2009, 10:10 AM
vktechnology vktechnology is offline
 
Join Date: Jul 2004
Location: London, England
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow excelent hack

--------------
installed
Reply With Quote
  #24  
Old 12-14-2009, 10:15 AM
vktechnology vktechnology is offline
 
Join Date: Jul 2004
Location: London, England
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gantonr View Post
latest version by mad@max

fixed all known bugs

added: now you can use first attachment from first post in thread for image.

thanks to mad@max

ps:
if you want that width and height settings from hot threads options effects attachments images in hot threads, if it used,
edit template mdm_ht_bit:
HTML Code:
<img title="$title" class="inlineimg"<if condition="$vboptions['mdm_ht_attach']"> style="max-width: $vboptions[mdm_ht_thumb_w]px; max-height: $vboptions[mdm_ht_thumb_h]px;"</if> src="$thumb" border="0" alt="$title" />

When i install this 2.6.1 version nothing display at forum home.
but version 2.4.2 can display everything

my forum is VB3.8.4
---------------------

if it possible to display last image attachment instead of first image?


If first image doesn't look good then admin have to delete all attachment and reupload inorder to display first images

if use last image
admin can change images or upload new image easier
Reply With Quote
  #25  
Old 12-14-2009, 12:03 PM
P?ŋĭsЋ?я's Avatar
P?ŋĭsЋ?я P?ŋĭsЋ?я is offline
 
Join Date: Mar 2009
Location: Trabzon
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you installed.
Reply With Quote
  #26  
Old 12-14-2009, 03:05 PM
Ichigo88's Avatar
Ichigo88 Ichigo88 is offline
 
Join Date: Nov 2009
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack! thank you!
it's possibole to make all automatic?
without any time clic make a hot thread?
Reply With Quote
  #27  
Old 12-14-2009, 05:50 PM
mad@Max's Avatar
mad@Max mad@Max is offline
 
Join Date: Jul 2007
Location: Russia
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Official update to v2.6.1 (changes in bold text).
vktechnology, just use /forum/misc.php?do=htupdt for update the cache.
Ichigo88, nothing is impossible, just a hack has a slightly different purpose
Reply With Quote
  #28  
Old 12-16-2009, 12:43 PM
vktechnology vktechnology is offline
 
Join Date: Jul 2004
Location: London, England
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mad@Max View Post
Official update to v2.6.1 (changes in bold text).
vktechnology, just use /forum/misc.php?do=htupdt for update the cache.
Ichigo88, nothing is impossible, just a hack has a slightly different purpose
already misc.php?do=htupdt
done

nothing display in forum home
Reply With Quote
  #29  
Old 12-18-2009, 09:23 AM
vktechnology vktechnology is offline
 
Join Date: Jul 2004
Location: London, England
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vktechnology View Post
already misc.php?do=htupdt
done

nothing display in forum home
it's working now
becuase i clear vB Optimise cache
Reply With Quote
  #30  
Old 12-18-2009, 09:28 AM
vktechnology vktechnology is offline
 
Join Date: Jul 2004
Location: London, England
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2.6.1

one more problem

when login can not see hot thread

when logout can see hot thread

how to fix this ?
Reply With Quote
  #31  
Old 12-18-2009, 05:46 PM
ravenfaust ravenfaust is offline
 
Join Date: Aug 2009
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is AMAZING!!! Thanks for your work LOVE IT!!
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:10 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.14144 seconds
  • Memory Usage 2,353KB
  • 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
  • (4)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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
  • (6)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete