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
  #32  
Old 08-18-2016, 05:40 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 tagline View Post
Great Mod... but I've an issue:

if I try to access to a specific thread from outside my board, vbulletin tell me that I've no permission to read the thread. This happens with mod enabled.
Update - Version 1.3.2:
  • Fixed issue with permissions and viewing a thread without a referrer.
Reply With Quote
Благодарность от:
tagline
  #33  
Old 08-18-2016, 11:27 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Super Sticky! Great idea Mark!
Reply With Quote
Благодарность от:
MarkFL
  #34  
Old 08-20-2016, 05:28 AM
tagline tagline is offline
 
Join Date: Dec 2011
Location: Italy - Rimini
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
Update - Version 1.3.2:
  • Fixed issue with permissions and viewing a thread without a referrer.
Updated and working great! Thanks Mark for your work.
Reply With Quote
Благодарность от:
MarkFL
  #35  
Old 08-23-2016, 07:06 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Mark, will this work well with Global stickies? I would love to make some global stickies stuck to the top.

Thanks
Reply With Quote
  #36  
Old 08-23-2016, 09:07 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can set super stickies as global via the "Scope of Super Stickies" setting.
Reply With Quote
  #37  
Old 08-24-2016, 12:43 AM
Outlaw Mantis Outlaw Mantis is offline
 
Join Date: Nov 2013
Location: Manchester, UK
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have no idea why this isn't working for me. The extra options don't appear when making a new thread. It is enabled in the settings. I haven't enabled any of the extra features since I don't need them. I only really wanted it (as of now) for the auto-opening and a couple of other things. I have selected the Member of the Month forum which is where I'm posting a thread in the plugin's forum list. I've also selected the admin usergroup. Since these conditions are met I don't get why it isn't working.

It seems I don't have access since when I try to edit the advanced settings in an existing thread with Thread Tools, I get told I don't have permission. Weird.
Reply With Quote
  #38  
Old 08-24-2016, 12:50 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Auto-opening? This product doesn't do that...
Reply With Quote
  #39  
Old 08-24-2016, 12:54 AM
Outlaw Mantis Outlaw Mantis is offline
 
Join Date: Nov 2013
Location: Manchester, UK
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, haha. I must have got confused with another plugin I was looking at. (*whisper* It would be useful though to work with the time limit, right?) Still, highlighting sounds handy. So I'm guessing one of those main features must be toggled on for it to appear. Sorry for my blunder there!
Reply With Quote
  #40  
Old 08-24-2016, 01:00 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 Outlaw Mantis View Post
Oh, haha. I must have got confused with another plugin I was looking at. (*whisper* It would be useful though to work with the time limit, right?) Still, highlighting sounds handy. So I'm guessing one of those main features must be toggled on for it to appear. Sorry for my blunder there!
I just checked, and if none of the "Active Tools" are checked, then I get the no permission page when trying to view a thread, which is definitely not intended. I will fix that soon.
Reply With Quote
  #41  
Old 08-24-2016, 01:16 AM
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.3.3:
  • Fixed issue with permissions and viewing a thread when no active tools are selected.
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:39 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.11306 seconds
  • Memory Usage 2,368KB
  • Queries Executed 29 (?)
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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (8)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (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_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