Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #42  
Old 08-24-2016, 01:07 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

Quote:
Originally Posted by MarkFL View Post
You can set super stickies as global via the "Scope of Super Stickies" setting.
So I remove that plug in and replace or can I keep both?

Thanks
Reply With Quote
  #43  
Old 08-24-2016, 01:14 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 RichieBoy67 View Post
So I remove that plug in and replace or can I keep both?

Thanks
I've never used any other product for making stickies global, so I don't know if there'd be a conflict or not. This product can make super-stickies global (or widen their scope as you decide), but not regular stickies.
Reply With Quote
  #44  
Old 08-24-2016, 01:18 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

Thanks Mark,

For sure reason I thought the other sticky mod was yours too. lol
Reply With Quote
Благодарность от:
MarkFL
  #45  
Old 08-24-2016, 01:22 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My suggestion would be to try the two products together to see if there is a conflict...if there is, let me have a link to the other product and I will see if I can resolve the conflict within this product.
Reply With Quote
  #46  
Old 09-27-2016, 12:03 AM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Trying to add the additional options to a thread and receiving the following error. Any ideas?

HTML Code:
Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
**EDIT**

Found the conflict. When VaultWiki was disabled everything saved as it should be. When Vaultwiki was re-enabled had the same error as above.
Reply With Quote
  #47  
Old 09-27-2016, 12:19 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just ran a test, and added and removed all features, in every way allowed (Thread Tools menu, quick reply, advanced edit, advanced reply) and everything worked correctly.
Reply With Quote
  #48  
Old 09-27-2016, 12:26 AM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
I just ran a test, and added and removed all features, in every way allowed (Thread Tools menu, quick reply, advanced edit, advanced reply) and everything worked correctly.
Found the conflict. When VaultWiki was disabled everything saved as it should be. When Vaultwiki was re-enabled had the same error as above.
Reply With Quote
Благодарность от:
MarkFL
  #49  
Old 09-27-2016, 12:58 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know what ValutWiki does, but try changing the execution order of the relevant plugins in either product.
Reply With Quote
  #50  
Old 09-28-2016, 05:03 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.4:
  • Added definitions of important constants to additionaltoolsfunctions.php.
Reply With Quote
Благодарность от:
KevinL
  #51  
Old 09-29-2016, 12:20 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.4.1:
  • Added security token to form template.
Reply With Quote
Reply

Thread Tools

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 12:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05300 seconds
  • Memory Usage 2,365KB
  • 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
  • (1)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
  • (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