Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Quick Close/Open Thread (with reason) Details »
Quick Close/Open Thread (with reason)
Mod Version: 1.00, by TECK (Member) TECK is offline
Developer Last Online: Aug 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 29
Released: 25 Jun 2002 Last Update: Never Downloads: 3
Not Supported  

This hack will allow you to close/open a thread in 2 ways:
1. By entering a reason, while viewing the thread.
Let's see you view a thread and you find some post that is irrelevant to the content of your board (advertising, spam, etc).
The normal way is to go and reply and right after to close the thread.
Not anymore. Once entered the reason, vBulletin will post that message and close the thread for you automatically.
To re-open it, it goes the same way.

2. By adding an attachment or special note to your new thread or reply.
Let's see you want to open a new thread, make an attachment and close rightaway the thread.
All you have to do is check the box related to Close/Open Thread. vBulletin will post that message and close the thread for you automatically.
For new replies goes the same way. By simply checking the box, vBulletin will post your reply and Close/Open the thread.

ADVANTAGES
- no queries or database modifications are needed
- the hack is template based, so you can customize it in few seconds
- only people who have the right to open/close threads on your board will see this option

ESTIMATED INSTALL TIME: 10 minutes
SUGGESTED BY: Sinecure
TESTED IN VERSION: 2.2.6

RELATED HACKS
Quick Reply Box (with Close/Open thread switch)
Quick Delete Post

UPDATES
Version 1.1
------------------------------------
Changes:
- added the Close/Open check box in editpost.php



You like this hack? Please click on the Install button.
To download the latest version of this hack, click below:

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.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Close/open thread via quick reply Viper007Bond vBulletin 3.6 Template Modifications 8 23 May 2008 11:40
Quick Reply Thread Management: Open/Close & Stick/Unstick in Quick Reply Box Nomb vBulletin 3.0 Full Releases 49 09 Nov 2005 23:34
Quick Reply Box (with Close/Open thread switch) TECK vBulletin 2.x Full Releases 128 29 Sep 2003 19:47

Comments
  #2  
Old 25 Jun 2002, 18:57
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
This screenshot will let you view the Quick Close/Open Thread in showthread.php:
Attached Images
File Type: gif quickclosethread.gif (23.0 KB, 533 views)
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog
Reply With Quote
  #3  
Old 25 Jun 2002, 18:58
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
The result, after you quick closed the thread, with the listed reason.
Also, you can re-open the thread in the same location:
(notice the post title)
Attached Images
File Type: gif quickreopenthread.gif (23.3 KB, 366 views)
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog
Reply With Quote
  #4  
Old 25 Jun 2002, 18:59
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
This screenshot will let you view the Quick Close/Open Thread in newreply.php and newthread.php.
The only difference is in newthread.php.
You will not have an Open option because there are no replies:
Attached Images
File Type: gif quickclosereply.gif (21.3 KB, 435 views)
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog
Reply With Quote
  #5  
Old 25 Jun 2002, 18:59
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
The result, after you quick closed the new thread, with an attachment:
Attached Images
File Type: gif quickclosereply_result.gif (23.4 KB, 253 views)
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog
Reply With Quote
  #6  
Old 25 Jun 2002, 19:21
bandersen's Avatar
bandersen bandersen is offline
 
Join Date: Feb 2002
Very cute... on my install list. Thank you!!
Reply With Quote
  #7  
Old 25 Jun 2002, 20:44
Takara's Avatar
Takara Takara is offline
 
Join Date: Apr 2002
If I just follow the instructions for newthread.php and newreply.php, can I just make it work with the checkbox? I'm not intrested in having the quick close on the showthread.
Reply With Quote
  #8  
Old 25 Jun 2002, 20:58
Ambex Net's Avatar
Ambex Net Ambex Net is offline
 
Join Date: Nov 2001
Will this work ok on 2.2.5? Just making sure before I install.
Reply With Quote
  #9  
Old 25 Jun 2002, 21:29
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
I'm already presuming that the thread creator (or admin, depends on your forum options) is the only one who can see the "open/close" thread box, correct?

Anyway, thats probably a given. Great hack Nakkid, defiantly installing!
Reply With Quote
  #10  
Old 25 Jun 2002, 22:13
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
Just installed and it works great
Reply With Quote
  #11  
Old 26 Jun 2002, 00:28
Smoothie Smoothie is offline
 
Join Date: Oct 2001
You say find this in newthread.php:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But I can only find this:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #12  
Old 26 Jun 2002, 04:15
TECK's Avatar
TECK TECK is offline
 
Join Date: Dec 2001
Real name: Floren Munteanu
Originally posted by Takara
If I just follow the instructions for newthread.php and newreply.php, can I just make it work with the checkbox? I'm not intrested in having the quick close on the showthread.
yes.

Originally posted by Smoothie
You say find this in newthread.php:
But I can only find this...
go ahead and replace it. it will work. vb226 have this difference between newthread.php and newreply.php. probably you run a different version.

Originally posted by Ambex Net
Will this work ok on 2.2.5? Just making sure before I install.
ya, it should work from 222 to 226...
but always check the code before you modify. do not start any hack unless you have all the code identical. that's how is done always with older versions. let me know if you got it working and i will add it in the first post as "tested in version"...

UPDATE
I just looked at the code and realised that I forgot a bracket in newthread.php (step 4).
FIND this code:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

Sorry about this. The .txt attachment is updated now.
__________________
Floren Munteanu
Axivo Inc.
Axivo Community - Visit the forums to find out more about us
Why Queued - My personal blog

Last edited by TECK; 26 Jun 2002 at 05:00.
Reply With Quote
  #13  
Old 26 Jun 2002, 04:53
Smoothie Smoothie is offline
 
Join Date: Oct 2001
I have the quick reply box at the bottom of showthreads, with clickable smiley box. When I insert this:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

It breaks the clickable smilies. If I remove $closeopenreason, the smilies work fine.
Reply With Quote
  #14  
Old 26 Jun 2002, 07:27
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Everything works fine, except the smiley problem.
Reply With Quote
  #15  
Old 26 Jun 2002, 10:41
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
V nice...

Installed!

Satan
Reply With Quote
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 14:11.

Layout Options | Width: Wide Color: