The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Vbulletin 3.8.9 Move Threads to Recycle Bin ?
<a href="https://vborg.vbsupport.ru/showthread.php?t=106774" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=106774</a>
We need a plug-in that brings the items we delete to the recycle bin.Similar to the plugin above. |
#2
|
||||
|
||||
I added a button above the thread to do this.
Placed under $poll in showthread, change destforumid value to the id of the forum you want to send the thread to. Code:
<if condition="is_member_of($vbulletin->userinfo, 5, 6, 7)"> <div> <div style="float:left;"> <form method="post" action="inlinemod.php?do=domovethread&threadids=$thread[threadid]"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="destforumid" value="18"> <input type="hidden" name="threadids" value="$thread[threadid]"> <input type="hidden" name="do" value="domovethreads"> <input type="hidden" name="redirect" value="none" id="rb_redirect_none" checked="checked" /> <input type="submit" value="Bin"> </form> </div> </if> |
#3
|
|||
|
|||
Quote:
how can we do as in the picture. Code:
<input type="radio" name="do" value="submit">Recycle Bin |
#4
|
||||
|
||||
Add the code below just below the $poll in showthread.
No need to add any radio buttons etc.. Button should be visible where post reply button is. . |
#5
|
|||
|
|||
Quote:
That's why I want to do this. |
#6
|
||||
|
||||
You would need to write a plugin for the do action of the radio button, you may be able to scavenge some code to do that from the vb4 version.
If you don't like my button visually you can always move it somewhere else on the page and add some styling. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|