PDA

View Full Version : Vbulletin 3.8.9 Move Threads to Recycle Bin ?


ufuk61
08-08-2020, 05:33 PM
<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.

z3r0
08-09-2020, 06:04 AM
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.
<if condition="is_member_of($vbulletin->userinfo, 5, 6, 7)">
<div>
<div style="float:left;">
<form method="post" action="inlinemod.php?do=domovethread&amp;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>

ufuk61
08-09-2020, 06:55 PM
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.
<if condition="is_member_of($vbulletin->userinfo, 5, 6, 7)">
<div>
<div style="float:left;">
<form method="post" action="inlinemod.php?do=domovethread&amp;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>

https://i.resimyukle.xyz/Vxedd7.png

how can we do as in the picture.

<input type="radio" name="do" value="submit">Recycle Bin

It didn't work that way

Seven Skins
08-10-2020, 04:11 PM
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.

.

ufuk61
08-10-2020, 04:25 PM
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.


.

It doesn't look so beautiful visually.
That's why I want to do this.

z3r0
08-11-2020, 04:18 AM
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.