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

Reply
 
Thread Tools
Additional Thread Tools Details »»
Additional Thread Tools
Version: 1.6, by MarkFL MarkFL is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.2.x Rating:
Released: 05-19-2016 Last Update: 01-13-2017 Installs: 41
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Overview:

This product gives you additional options for the behavior and appearance of threads in the thread listing within forums and search results. You also have the option to define a time limit in days for the persistence of these additional attributes you give to threads, which could be used for example in the case where your users are paying a fee to have their threads be more noticeable for a certain amount of time.

You may select which of these attributes you wish to make available for use. The attributes from which you may choose are:

Super Sticky - These are threads that are sticky in the usual sense (in that they remain at the top of the thread listing), but they are to sticky threads what sticky threads are to non-sticky threads. A super sticky thread will remain at the top of the thread listing, even if a normal sticky thread is updated later. A super stick thread can only be bumped from the top be another super sticky thread. You can also set the scope for super sticky threads, and choose for them to appear only where posted, where posted and all child forums of the forum in which they are posted, in all forums you have set as active or in all forums. The icon for super sticky threads is an image of a screw head to imply they are fastened securely, and the tooltip for the image states that the thread is super sticky. The prefix type is changed to "Super Sticky :" as well.

Highlighted Threadbit - You can choose to give the threadbit for threads a background color to help them stand out. The color of the background is defined via a product stylevar. In addition, you can define extra CSS to apply to highlighted threadbits.

Thread Title CSS - You can define extra CSS to apply to thread titles, to make them even more noticeable.



These attributes can be set when posting a new thread and set/changed by editing posts in a thread, replying to a thread, or using the new link in the "Thread Tools" drop-down menu. You have the option to display the thread tools options on the quick reply form as well.

Advanced Editor:



Quick Reply:



Thread Tools Drop-down Menu:



Drop-down Menu Page:



You can select "Active Forums" (the forums in which the tools can be used). To make selecting forums easier, child forums are included. You can select usergroups/users who have access to these tools, which gives them the ability to add/remove attributes, and change the time limit.

All actions taken by those with permission regarding setting/unsetting attributes are recorded in your "Moderator Log."

Upon installing this product, two columns are added to your "thread" table (these are needed when displaying the threads, and so it is necessary to add them to the thread table so the data is retrieved during various intrinsic queries for thread information and no additional queries will be needed), and a new table is created to store the time limit data for threads (since this data is not needed when displaying threads, a separate table is more efficient).

An hourly cron job is run to remove attributes from expired threads, and to run routine maintenance on the added table to remove any data pertaining to threads that may have been hard-deleted and is no longer needed.

This product is fully phrased. :up:

Updates:

Version 1.0.1:
  • Fixed issue with thread prefixes.

Version 1.1:
  • Added support for selecting thread prefixes where threads having these prefixes can automatically have highlighted threadbits and/or thread title CSS.

Version 1.2:
  • Fixed issue with "thread prefix-specific filtering."

Version 1.3:
  • Fixed bug regarding scope of super ticky threads and query modification.

Version 1.3.1:
  • Fixed bug where soft-deleted threads were visible regardless of permissions.

Version 1.3.2:
  • Fixed issue with permissions and viewing a thread without a referrer.

Version 1.3.3:
  • Fixed issue with permissions and viewing a thread when no active tools are selected.

Version 1.4:
  • Added definitions of important constants to additionaltoolsfunctions.php.

Version 1.4.1:
  • Added security token to form template.

Version 1.5:
  • Fixed db and checkbox persistence issues with post preview.

Version 1.6:

Compatibility:

Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.

Backup/Warning:

This product alters your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  1. Download and extract the attached .zip file.
  2. Upload the contents of the "upload" folder to your forum's root directory.
  3. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  4. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  5. Click "Import."
  6. You MUST enable the product in the settings before it will function.
  7. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.



Support for this product can be found here:

Download Now

File Type: zip MarkFL - Additional Thread Tools v1.6.zip (15.7 KB, 98 views)

Screenshots

File Type: png markfl_att_threadtoolspage.png (15.3 KB, 0 views)
File Type: png markfl_att_quickreply.png (52.3 KB, 0 views)
File Type: png markfl_att_advancededitor.png (19.5 KB, 0 views)
File Type: png markfl_att_forumdisplay.png (76.7 KB, 0 views)
File Type: jpg markfl_att_acp.jpg (60.2 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
6 благодарности(ей) от:
Alan_SP, elsa23, Kane@airrifle, RichieBoy67, TheLastSuperman

Comments
  #2  
Old 05-20-2016, 10:11 AM
eTiKeT?'s Avatar
eTiKeT? eTiKeT? is offline
 
Join Date: Aug 2008
Location: T?rkiye
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

THANKS - İnstalled


Turkish patch has been added.
Reply With Quote
2 благодарности(ей) от:
MarkFL, mathforum
  #3  
Old 05-20-2016, 11:46 AM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very useful, thanks. :up:
Reply With Quote
2 благодарности(ей) от:
MarkFL, mathforum
  #4  
Old 05-20-2016, 01:46 PM
GHRake GHRake is offline
 
Join Date: Sep 2015
Location: USA
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice!
Reply With Quote
Благодарность от:
MarkFL
  #5  
Old 05-20-2016, 04:51 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update - Version 1.0.1:
  • Fixed issue with thread prefixes.
Reply With Quote
  #6  
Old 05-24-2016, 01:30 AM
BrettC Frontier BrettC Frontier is offline
 
Join Date: Jun 2015
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Possible to add in a drop down select box of the available thread prefixes to a forum on the reply (not new thread) boxes? Tried to get such (from a previous time) to work on our dev copy, but it ended in disaster.
Reply With Quote
  #7  
Old 05-24-2016, 01:46 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BrettC Frontier View Post
Possible to add in a drop down select box of the available thread prefixes to a forum on the reply (not new thread) boxes? Tried to get such (from a previous time) to work on our dev copy, but it ended in disaster.
That would likely be possible, however I don't see that quite fitting in with this product. I believe there are already products written to allow you to change thread prefixes from the thread listing itself, using AJAX.
Reply With Quote
  #8  
Old 05-24-2016, 02:15 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Update - Version 1.1:
  • Added support for selecting thread prefixes where threads having these prefixes can automatically have highlighted threadbits and/or thread title CSS.
Reply With Quote
  #9  
Old 05-24-2016, 04:47 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BrettC Frontier View Post
Possible to add in a drop down select box of the available thread prefixes to a forum on the reply (not new thread) boxes? Tried to get such (from a previous time) to work on our dev copy, but it ended in disaster.
Hello again, Brett!

I didn't want to just leave your request completely unanswered, so I have put together and attached a simple product that will allow those who can moderate a thread to change a thread's prefix when using the advance reply form...please let me know if this is what you were wanting, and if there is any way I can improve it, don't hesitate to let me know. :up:

There are no settings, so once you import it, it is active.
Attached Files
File Type: xml product-markflprefixonreply.xml (2.9 KB, 14 views)
Reply With Quote
  #10  
Old 05-24-2016, 05:24 PM
BrettC Frontier BrettC Frontier is offline
 
Join Date: Jun 2015
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
Hello again, Brett!

I didn't want to just leave your request completely unanswered, so I have put together and attached a simple product that will allow those who can moderate a thread to change a thread's prefix when using the advance reply form...please let me know if this is what you were wanting, and if there is any way I can improve it, don't hesitate to let me know. :up:

There are no settings, so once you import it, it is active.
I've sent you a PM to not hijack this thread regarding that product addon.

Additionally, with the 'additional thread tools' addon active (1.0 up to 1.1), thread prefix-specific filtering is no longer functional. You can see for yourself via this link here.
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 08:38 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.05302 seconds
  • Memory Usage 2,368KB
  • Queries Executed 27 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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