PDA

View Full Version : Administrative and Maintenance Tools - Additional Thread Tools


MarkFL
05-19-2016, 09:00 PM
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/attachment.php?attachmentid=155029&stc=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/attachment.php?attachmentid=155028&stc=1&d=1463726416

Quick Reply:

https://vborg.vbsupport.ru/attachment.php?attachmentid=155027&stc=1&d=1463726416

Thread Tools Drop-down Menu:

https://vborg.vbsupport.ru/attachment.php?attachmentid=155026&stc=1&d=1463726416

Drop-down Menu Page:

https://vborg.vbsupport.ru/attachment.php?attachmentid=155025&stc=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:


Resolved conflict with "Show Subforum Threads (https://vborg.vbsupport.ru/showthread.php?t=324203)."


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:


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


https://vborg.vbsupport.ru/attachment.php?attachmentid=155045&stc=1&d=1464106232

Support for this product can be found here:


MHB - Additional Thread Tools (http://mathhelpboards.com/vbulletin-products-61/additional-thread-tools-21797.html)
TAZ - Additional Thread Tools (https://theadminzone.com/threads/additional-thread-tools.145044/)

eTiKeT?
05-20-2016, 10:11 AM
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
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
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
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 (https://forums.planetcoaster.com/forumdisplay.php/9?prefixid=AdminReadFirst).

MarkFL
05-24-2016, 05:29 PM
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
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 (https://forums.planetcoaster.com/forumdisplay.php/9-Planet-Coaster-Discussions), 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
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 (https://forums.planetcoaster.com/forumdisplay.php/9-Planet-Coaster-Discussions), 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
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 (https://vborg.vbsupport.ru/member.php?u=540750) 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
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
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
Hi Mark... and that product is? hehehe thanks for answer.

It can be found here:

[Ozzy47] Separate Sticky Threads (http://ozzmodz.com/misc.php?do=producthelp&pid=ozzy_separate_stickies)

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

RichieBoy67
08-24-2016, 01:07 PM
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

MarkFL
08-24-2016, 01:14 PM
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. :)

RichieBoy67
08-24-2016, 01:18 PM
Thanks Mark,

For sure reason I thought the other sticky mod was yours too. lol

MarkFL
08-24-2016, 01:22 PM
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. :)

KevinL
09-27-2016, 12:03 AM
Trying to add the additional options to a thread and receiving the following error. Any ideas?

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.

MarkFL
09-27-2016, 12:19 AM
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. :confused:

KevinL
09-27-2016, 12:26 AM
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. :confused:

Found the conflict. When VaultWiki was disabled everything saved as it should be. When Vaultwiki was re-enabled had the same error as above.

MarkFL
09-27-2016, 12:58 AM
I don't know what ValutWiki does, but try changing the execution order of the relevant plugins in either product. :)

MarkFL
09-28-2016, 05:03 PM
Update - Version 1.4:


Added definitions of important constants to additionaltoolsfunctions.php.

MarkFL
09-29-2016, 12:20 AM
Update - Version 1.4.1:


Added security token to form template.

BrettC Frontier
10-07-2016, 01:44 PM
There's a slight bug when using preview thread. If the supersticky, highlight or threadcss is checked, i end up with this SQL error when using a thread preview: UPDATE forum_thread
SET sticky = 2
WHERE threadid =;
As the thread is being previewed, there is no thread ID to associate with it.

where 'sticky' can be markfl_bold or markfl_highlight

MarkFL
10-12-2016, 04:45 PM
Update - Version 1.5:


Fixed db and checkbox persistence issues with post preview.

dknelson
10-12-2016, 06:06 PM
I just installed this and want to first say that it is a GREAT mod. Thank you so much for it.

The only problem I'm having is that I can't find the "Force Read" feature. I don't see it in the "settings" nor when creating or editing a post.

Just noted that "auto prefixes" are also not listed in the settings.

MarkFL
10-12-2016, 06:42 PM
I just installed this and want to first say that it is a GREAT mod. Thank you so much for it.

The only problem I'm having is that I can't find the "Force Read" feature. I don't see it in the "settings" nor when creating or editing a post.

Just noted that "auto prefixes" are also not listed in the settings.

The "Force Read" feature is part of another product, not this one. :D

Do you have any thread prefixes defined?

dknelson
10-12-2016, 06:46 PM
OHHH....sorry about that. I saw it in your image and assumed incorrectly.

No, I probably have no prefixes defined. I'll have to look. Is that in the settings for THIS product?

Never mind. I found it and no, I don't. That explains that. Thanks for the quick response.

MarkFL
10-12-2016, 06:51 PM
This product queries the database to find all the prefixes you have defined, so you will have to define those first before this product will find them. :)

ikymbo
01-18-2017, 02:40 PM
i dont know why, but the mod doesnt work on my forum, im using many mods, maybe its the problem!

MarkFL
01-18-2017, 02:59 PM
i dont know why, but the mod doesnt work on my forum, im using many mods, maybe its the problem!

Unfortunately, without knowing any details, I can't really provide any help. :(

ikymbo
01-18-2017, 03:54 PM
Unfortunately, without knowing any details, I can't really provide any help. :(

i dont know what say, i just installed the mod, active the product, and all the iptions, then im trying to apply to any thread it dont work, it just hide my thead from the thread list.

MarkFL
01-18-2017, 04:27 PM
i dont know what say, i just installed the mod, active the product, and all the iptions, then im trying to apply to any thread it dont work, it just hide my thead from the thread list.

What version of vBulletin are you running?

ikymbo
01-18-2017, 05:36 PM
What version of vBulletin are you running?

last version 4.2.3, but dont worry i will try find another mod

Thanks for your interest to help me

MarkFL
01-18-2017, 07:49 PM
Did you upload the additional files that are packaged with the product?

WindVoice
01-18-2017, 08:32 PM
I love all of your Mods. They are cool, they work and they are easy to install.

Thank you!

bazookajoe
02-19-2017, 05:36 PM
Love it. Thanks much Mark.

Stratis
02-20-2017, 06:03 PM
Question
In "Additional Threadbit CSS" i put
background: #F1F19A;

It seems whatever change of color i make one part of other color stays unchanged.
This color that remains is the default color (#FFCCCC)

155880

Do i miss something here?


P.S. Very nice tool, Thank you very much.

MarkFL
02-20-2017, 07:33 PM
I have never had that issue anywhere on any of the sites on which I have installed this product, and I just tested it on your dev site and didn't experience the issue as well. Since this is CSS, I am left to wonder if this is a broken browser issue (i.e., you may be using IE, which can choke on standard CSS)?

Stratis
02-21-2017, 03:27 AM
This is in all browsers and in three different pc.
Without change settings you can see it again in my dev site, when you find some time free.
I had it with default color before :)

Thanks


EDIT:
After many test i addressed the issue. I have this mod Chiplove.9xpro - Thread Thumbnails (not this in vborg)
It was made for me, with changes for my needs.

*When forums are active to show thumbnails i see that css line as i describe.
If i except them, css is ok. :(


* How come only if i change the default css color? Any way i must live with this if i not find it :)

IggyP
08-20-2017, 02:34 PM
thanks for this...

only if the options could be in the moderation tools dropdown with the other sticky option that would be pretty hot btw ;P

i got used to the edit tech quickly it just is another thing to explain to people and slightly counter-intuitive

BlooD
10-21-2017, 10:10 AM
Hello,
How to change the color?
thank you very much

WindVoice
10-29-2017, 04:27 AM
Is it possible to introduce a feature to this plugin to separate Super Sticky Threads from the default Sticky Threads, just like this mod https://vborg.vbsupport.ru/showthread.php?t=249677

Thanks!