The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Quick Close/Open Thread (with reason) Details »» | |||||||||||||||||||||||||
This hack will allow you to [high]close/open a thread[/high] 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. [high]ADVANTAGES[/high] - 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 [high]RELATED HACKS[/high] Quick Reply Box (with Close/Open thread switch) Quick Delete Post [high]UPDATES[/high] Version 1.1 ------------------------------------ Changes: - added the Close/Open check box in editpost.php You like this hack? Please click on the [high]Install[/high] button. To download the latest version of this hack, click below: Show Your Support
|
Comments |
#12
|
|||
|
|||
You say find this in newthread.php:
PHP Code:
PHP Code:
|
#13
|
||||
|
||||
Quote:
Quote:
Quote:
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"... [high]UPDATE[/high] I just looked at the code and realised that I forgot a bracket in newthread.php (step 4). FIND this code: Code:
eval("standardredirect(\"".gettemplate("redirect_openclose")."\",\"showthread.php?s=$session[sessionhash]&threadid=$threadid\");"); } else { eval("standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");"); Code:
eval("standardredirect(\"".gettemplate("redirect_openclose")."\",\"showthread.php?s=$session[sessionhash]&threadid=$threadid\");"); } else { eval("standardredirect(\"".gettemplate("redirect_postthanks")."\",\"$goto\");"); } |
#14
|
|||
|
|||
I have the quick reply box at the bottom of showthreads, with clickable smiley box. When I insert this:
PHP Code:
|
#15
|
|||
|
|||
Everything works fine, except the smiley problem.
|
#16
|
||||
|
||||
V nice...
Installed! Satan |
#17
|
||||
|
||||
Having a problem...
I use 2.2.6, and I cannot find : PHP Code:
Satan |
#18
|
||||
|
||||
seems nice hack....
install later..... [high]* squawell like this..[/high] |
#19
|
||||
|
||||
Quote:
download the latest 226 .zip file and look at line 238. i think i know where is the problem. you have quick reply box installed? let me know. i will tell you what to do in this case... |
#20
|
||||
|
||||
i have a question.....
how do i make it show reason:OOXXin post!! |
#21
|
||||
|
||||
replace:
Code:
<input type="text" class="bginput" name="message" size="50" tabindex="1"> Code:
<input type="text" class="bginput" name="message" value="[ b]Reason:[ /b] " size="50" tabindex="1"> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|