Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Hide 'Quick Reply' After Posting For X Hours Details »
Hide 'Quick Reply' After Posting For X Hours
Mod Version: 1.00, by EWGF (Member) EWGF is offline
Developer Last Online: May 2016 I like it Show Printable Version Email this Page

vB Version: 3.8.x Rating: (0 vote - 0 average) Installs: 4
Released: 06 May 2009 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

With this modification you can hide Quick Reply after a post has been made. Then it will reappear after X hours. Alternatively you can use this template modification to hide the reply buttons too.

Why?
To disencourage people to double post. My experience is people don't notice the 'reply' button, if you have Quick Reply enabled. Of course you can do it the easy way and use a product/plugin on vb.org which prevents/merges doubleposts. If you don't want to use plugins or products, this template modification will be fine.

How does it exactly work?
Quick Reply will be hidden via an if condition after a posting. Then it will reappear after X hours, depending on the current time and the time of the last post. The first string will check if you have posted the last post in the thread. The second string will check if X hours has been past since the last post. If so, you can doublepost via Quick Reply. Optionally, the third string makes sure any member with moderator powers can always use Quick Reply.

How to change time limit?
You can change this time limit by editing the (1*3600) in the code, which stands for one hour. For a limit of 24 hours you can adjust it to (24*3600) or simply placing the multiplication of it, 86400.

1 hour = 1*3600 = 3600
12 hours = 12*3600 = 43200
24 hours = 24*3600 = 86400
48 hours = 48*3600 = 172800

Where to edit?
Go to Admin CP - Styles & Templates - Style Manager - %Your Style% - Show Thread Templates - SHOWTHREAD

Look for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Replace with: (without moderator exclusion)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Or replace with: (with moderator exclusion)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Placing optional message?
However, people might wonder why they can't use Quick Reply and massively bug you, if you have a bigboard. Via an else condition you can place a message to those people, if Quick Reply temporarily isn't visible to them.

In the same template as before, look for:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Please click 'Install', if you are using this template modification

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Moderators Functions hide quick reply for mods & admins ragtek vBulletin 3.6 Add-ons 22 19 Feb 2012 20:14

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 22:28.

Layout Options | Width: Wide Color: