Facebook Page
Twitter
RSS
+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. Pessimist Singularitarian
    MHB Coder
    MHB Math Helper
    MHB Ambassador
    MarkFL's Avatar
    Status
    Offline
    Join Date
    Feb 2012
    Location
    St. Augustine, FL.
    Posts
    13,296
    Thanks
    34,249 times
    Thanked
    31,640 times
    Thank/Post
    2.380
    Trophies
    25 Highscores
    Awards
    MHB Chat Room Award (2017)  

MHB Calculus Award (2017)  

MHB Pre-University Math Award (2017)  

MHB Statistics Award (2016)  

MHB Calculus Award (2016)
    #1
    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.



  2. # ADS
    Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many
     

  3. MHB Apprentice

    Status
    Offline
    Join Date
    Sep 2017
    Posts
    11
    Thanks
    3 times
    Thanked
    7 times
    #2
    hey Mark -

    Not sure if this is possible - how hard would it be to create an Auto-Lock thread capability to this? I want to use this to allow for timed auctions on sportscardforum.com and would love to have an auto-lock functionality to this.


    Thanks for reviewing,
    Scott

  4. Pessimist Singularitarian
    MHB Coder
    MHB Math Helper
    MHB Ambassador
    MarkFL's Avatar
    Status
    Offline
    Join Date
    Feb 2012
    Location
    St. Augustine, FL.
    Posts
    13,296
    Thanks
    34,249 times
    Thanked
    31,640 times
    Thank/Post
    2.380
    Trophies
    25 Highscores
    Awards
    MHB Chat Room Award (2017)  

MHB Calculus Award (2017)  

MHB Pre-University Math Award (2017)  

MHB Statistics Award (2016)  

MHB Calculus Award (2016)
    #3 Thread Author
    Quote Originally Posted by scottkoz20 View Post
    hey Mark -

    Not sure if this is possible - how hard would it be to create an Auto-Lock thread capability to this? I want to use this to allow for timed auctions on sportscardforum.com and would love to have an auto-lock functionality to this.


    Thanks for reviewing,
    Scott
    Hey Scott!

    Is that the only thing you are wanting to do, or are you using other features of this product as well? The reason I ask is it would likely be much easier to create a separate product for that.

  5. MHB Apprentice

    Status
    Offline
    Join Date
    Sep 2017
    Posts
    11
    Thanks
    3 times
    Thanked
    7 times
    #4
    Well - I want to think out loud about this.

    I do like having the CSS change capabilities and I would want to leverage this with a specific prefix (here is a visual)



    As for the current use of the Additional Thread Tools, I am not using everything in the modification and it might be better to have something separate for the auto lock on expiration.

    Scott

  6. Pessimist Singularitarian
    MHB Coder
    MHB Math Helper
    MHB Ambassador
    MarkFL's Avatar
    Status
    Offline
    Join Date
    Feb 2012
    Location
    St. Augustine, FL.
    Posts
    13,296
    Thanks
    34,249 times
    Thanked
    31,640 times
    Thank/Post
    2.380
    Trophies
    25 Highscores
    Awards
    MHB Chat Room Award (2017)  

MHB Calculus Award (2017)  

MHB Pre-University Math Award (2017)  

MHB Statistics Award (2016)  

MHB Calculus Award (2016)
    #5 Thread Author
    Were you wanting threads to auto-close after a pre-set number of hours/days, and who is allowed to determine the closing time? Staff, or both staff and OP?

  7. MHB Apprentice

    Status
    Offline
    Join Date
    Sep 2017
    Posts
    11
    Thanks
    3 times
    Thanked
    7 times
    #6
    Quote Originally Posted by MarkFL View Post
    Were you wanting threads to auto-close after a pre-set number of hours/days, and who is allowed to determine the closing time? Staff, or both staff and OP?
    I would OK with the OP making the determination of the time.. I think from 1 to 7 days is plenty of time and yes, auto closing after the timer runs out.

  8. Pessimist Singularitarian
    MHB Coder
    MHB Math Helper
    MHB Ambassador
    MarkFL's Avatar
    Status
    Offline
    Join Date
    Feb 2012
    Location
    St. Augustine, FL.
    Posts
    13,296
    Thanks
    34,249 times
    Thanked
    31,640 times
    Thank/Post
    2.380
    Trophies
    25 Highscores
    Awards
    MHB Chat Room Award (2017)  

MHB Calculus Award (2017)  

MHB Pre-University Math Award (2017)  

MHB Statistics Award (2016)  

MHB Calculus Award (2016)
    #7 Thread Author
    Quote Originally Posted by scottkoz20 View Post
    I would OK with the OP making the determination of the time.. I think from 1 to 7 days is plenty of time and yes, auto closing after the timer runs out.
    Okay, I think that will be easy enough to do. The actual thread closings would have to be a cron job, which I would set to run once an hour, so the closings would be exactly 1 to 7 days, but it would be off by less than an hour in each case. I will make it so that anyone who has permission to edit threads can set/change the duration. I will add a field below the title that will accept values permitted in the product settings. You will be able to choose whether to use hours or days.

    I'm sure other things will come up, but once I have something for you to try out, I will begin another thread here, so we can discuss it, and iron out any details, etc.

  9. MHB Apprentice

    Status
    Offline
    Join Date
    Sep 2017
    Posts
    11
    Thanks
    3 times
    Thanked
    7 times
    #8
    much appreciated

  10. MHB Apprentice

    Status
    Offline
    Join Date
    Sep 2017
    Posts
    11
    Thanks
    3 times
    Thanked
    7 times
    #9
    Quote Originally Posted by MarkFL View Post
    Okay, I think that will be easy enough to do. The actual thread closings would have to be a cron job, which I would set to run once an hour, so the closings would be exactly 1 to 7 days, but it would be off by less than an hour in each case. I will make it so that anyone who has permission to edit threads can set/change the duration. I will add a field below the title that will accept values permitted in the product settings. You will be able to choose whether to use hours or days.

    I'm sure other things will come up, but once I have something for you to try out, I will begin another thread here, so we can discuss it, and iron out any details, etc.
    hey Mark - I know you have other stuff ongoing, just checking in on this. Something that I was thinking about, having a cron to close this out once an hour would be fine. I'll have to make sure on the template that is built out, persons using this will have to specify an end time to the nearest hour.

    Also, in thinking about this some more, I would want to ensure this is set to be used in specific forums.


    Thanks and sorry for the delay in the reply
    SK

  11. Pessimist Singularitarian
    MHB Coder
    MHB Math Helper
    MHB Ambassador
    MarkFL's Avatar
    Status
    Offline
    Join Date
    Feb 2012
    Location
    St. Augustine, FL.
    Posts
    13,296
    Thanks
    34,249 times
    Thanked
    31,640 times
    Thank/Post
    2.380
    Trophies
    25 Highscores
    Awards
    MHB Chat Room Award (2017)  

MHB Calculus Award (2017)  

MHB Pre-University Math Award (2017)  

MHB Statistics Award (2016)  

MHB Calculus Award (2016)
    #10 Thread Author
    Hey Scott,

    Just letting you know I haven't forgotten about this, but I do have a lot of things that were in the queue ahead of this, but I will be starting this soon.

Similar Threads

  1. Creating a stand-alone app based on our LaTeX tools
    By tmt in forum Questions, Comments, and Feedback
    Replies: 3
    Last Post: May 8th, 2016, 05:25
  2. Replies: 3
    Last Post: February 11th, 2016, 21:35
  3. Specialized calculation / approximation tools - is there a desire for them on here?
    By DreamWeaver in forum Questions, Comments, and Feedback
    Replies: 4
    Last Post: June 5th, 2014, 16:02

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Math Help Boards