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.

MarkFL 05-24-2016 05:29 PM

1 Attachment(s)
Okay try this version which I have attached...

What do you mean by "thread prefix-specific filtering?"

edit: Fixed parse error.

BrettC Frontier 05-24-2016 05:41 PM

Quote:

Originally Posted by MarkFL (Post 2571277)
Okay try this version which I have attached...

What do you mean by "thread prefix-specific filtering?"

At the bottom left of our forums, you can select a thread prefix to filter the currently-viewed forum by. If you go to the bottom left of the forums, and select "READ FIRST:" from the dropdown and filter by it. The forums will hide all threads that are not prefix'd with READ FIRST:.

MarkFL 05-24-2016 06:06 PM

Quote:

Originally Posted by BrettC Frontier (Post 2571278)
At the bottom left of our forums, you can select a thread prefix to filter the currently-viewed forum by. If you go to the bottom left of the forums, and select "READ FIRST:" from the dropdown and filter by it. The forums will hide all threads that are not prefix'd with READ FIRST:.

Okay, I found the culprit and will post an update very soon to address this issue. :)

MarkFL 05-24-2016 06:12 PM

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

BrettC Frontier 05-24-2016 07:33 PM

Quote:

Originally Posted by MarkFL (Post 2571280)
Update - Version 1.2:
  • Fixed issue with "thread prefix-specific filtering."

Thanks for the update, will deploy the changes soon - depending on when i can finish my work on some number crunching. :D

KevinL 05-25-2016 12:51 AM

Awesome! Thank you for all your hard work Mark.

MarkFL 05-28-2016 03:02 AM

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

You don't need to upload any of the external files if upgrading from v1.2 to v1.3 only a plugin was changed.

Thanks to scottkoz20 for alerting me to this issue. :)

Techno Cowboy 06-05-2016 08:05 AM

Updated and working well with 4.2.4 beta1 and loads of goodies under the hood....so far!

Thanks & Many Blessings Sir! :) :up:

Snowhog 06-05-2016 11:01 PM

It's been quite awhile since I've downloaded and installed a vBulletin MOD to our Forum. Just not finding any of significant interest of late. However, I just reviewed your MOD, and I'll be downloading and installing it shortly.

You do good work, and I've been the beneficiary of your help in the past. Keep it up!

KevinL 06-08-2016 02:10 PM

Hello,

With this product enabled it allows all usergroups to see soft deleted posts/threads with permissions set to 'NO'. As soon as it is turned off the usergroups are unable to see the deleted threads/posts like the permissions are assigned.

Thanks

MarkFL 06-08-2016 02:58 PM

Quote:

Originally Posted by KevinL (Post 2571792)
Hello,

With this product enabled it allows all usergroups to see soft deleted posts/threads with permissions set to 'NO'. As soon as it is turned off the usergroups are unable to see the deleted threads/posts like the permissions are assigned.

Thanks

THanks for the heads up! :up:

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

KevinL 06-08-2016 06:25 PM

Thank you!

KevinL 06-08-2016 08:34 PM

Not sure what happened but got it working now. Thank you again!

thenicehorizon 06-09-2016 07:01 AM

thank you very much :)

Ov3rrun 07-13-2016 06:07 AM

Hi, thanks for the mod. I have installed, activated, but, nothing happens, I make super sticky some threads, but not appear the new style dividing the super sticky from normal, just as always.

I need to refresh something?

MarkFL 07-13-2016 12:04 PM

Quote:

Originally Posted by Ov3rrun (Post 2573170)
Hi, thanks for the mod. I have installed, activated, but, nothing happens, I make super sticky some threads, but not appear the new style dividing the super sticky from normal, just as always.

I need to refresh something?

The division of sticky threads from normal threads isn't part of this product, that's being done using another product that separates them. :)

Ov3rrun 07-13-2016 03:20 PM

Hi Mark... and that product is? hehehe thanks for answer.

MarkFL 07-13-2016 03:27 PM

Quote:

Originally Posted by Ov3rrun (Post 2573203)
Hi Mark... and that product is? hehehe thanks for answer.

It can be found here:

[Ozzy47] Separate Sticky Threads

Of course, you will have to register in order to download the product.

I made some minor CSS changes to the product for my own implementation. :)

z3r0 07-26-2016 06:15 PM

This is a great mod, is there any chance you could add sticky ordering to it? I currently use a hacked together version of this dead mod https://vborg.vbsupport.ru/showthread.php?t=119746 but would like something that is maintained.

tagline 08-18-2016 05:08 PM

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.

MarkFL 08-18-2016 05:40 PM

Quote:

Originally Posted by tagline (Post 2574937)
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.

RichieBoy67 08-18-2016 11:27 PM

Super Sticky! Great idea Mark!

tagline 08-20-2016 05:28 AM

Quote:

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

RichieBoy67 08-23-2016 07:06 PM

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

Thanks

MarkFL 08-23-2016 09:07 PM

You can set super stickies as global via the "Scope of Super Stickies" setting. :)

Outlaw Mantis 08-24-2016 12:43 AM

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.

MarkFL 08-24-2016 12:50 AM

Auto-opening? This product doesn't do that...:)

Outlaw Mantis 08-24-2016 12:54 AM

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!

MarkFL 08-24-2016 01:00 AM

Quote:

Originally Posted by Outlaw Mantis (Post 2575169)
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. :)

MarkFL 08-24-2016 01:16 AM

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


All times are GMT. The time now is 06:27 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.02456 seconds
  • Memory Usage 1,842KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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