vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Additional Thread Tools (https://vborg.vbsupport.ru/showthread.php?t=322682)

MarkFL 05-19-2016 09:00 PM

Additional Thread Tools
 
1 Attachment(s)
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.

https://vborg.vbsupport.ru/attachmen...1&d=1463726416

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:

https://vborg.vbsupport.ru/attachmen...1&d=1463726416

Quick Reply:

https://vborg.vbsupport.ru/attachmen...1&d=1463726416

Thread Tools Drop-down Menu:

https://vborg.vbsupport.ru/attachmen...1&d=1463726416

Drop-down Menu Page:

https://vborg.vbsupport.ru/attachmen...1&d=1463726416

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.

https://vborg.vbsupport.ru/attachmen...1&d=1464106232

Support for this product can be found here:

eTiKeT? 05-20-2016 10:11 AM

1 Attachment(s)
THANKS - İnstalled :)


Turkish patch has been added.

Alan_SP 05-20-2016 11:46 AM

Very useful, thanks. :up:

GHRake 05-20-2016 01:46 PM

Very nice!

MarkFL 05-20-2016 04:51 PM

Update - Version 1.0.1:
  • Fixed issue with thread prefixes.

BrettC Frontier 05-24-2016 01:30 AM

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. :(

MarkFL 05-24-2016 01:46 AM

Quote:

Originally Posted by BrettC Frontier (Post 2571239)
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.

MarkFL 05-24-2016 02:15 PM

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.

MarkFL 05-24-2016 04:47 PM

1 Attachment(s)
Quote:

Originally Posted by BrettC Frontier (Post 2571239)
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.

BrettC Frontier 05-24-2016 05:24 PM

Quote:

Originally Posted by MarkFL (Post 2571274)
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.


All times are GMT. The time now is 12:24 AM.

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.01196 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete