The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Quick delete button in post bit
Awhile back there was this GREAT quick delete button for version 3.0.x
https://vborg.vbsupport.ru/showthread.php?t=60704 It seems like it all works for version 3.5.x , up until you have to modify the functions_showthread.php file in /includes I searched around and it seems that file is now named class_postbit.php in /includes The file is so much different than the original functions_showthread.php for the elder version, I'm reluctant to plug in the last bit of code for the old hack in the spot it recommends. Has anybody had any experience with this older hack with the newer versions of vbulletin? :squareeyed: |
#2
|
|||
|
|||
Why do you need that if there is quick edit which also includes a quick delete?
|
#3
|
|||
|
|||
Anyone get this wokring for VB3.5? The nice part was a simple click on a delete graphic... Very simple and fast...
Anyone get this working? |
#4
|
|||
|
|||
Any ideas out there?
|
#5
|
|||
|
|||
Nobody answered my question in post #2.
|
#6
|
|||
|
|||
I was aware of the Quick Edit feature (it is turned on in my forums)
However, this is what it means 1. Click Edit Button 2. Click Button Physically Remove Message 3. Click Delete This Message vs. the thread above, I have incorporated on another VB site, that was simply this process 1. Click on Delete Button (and it's gone)... On my discussion forum, I moderate a lot, and this is much simpler than the quick edit process.... Is there a better way in VB3.5??? Thanks - InterFX |
#7
|
||||
|
||||
You don't need the file edit...
Simply apply the template edit, and edit this part: HTML Code:
<input type="submit" name="deletepost" value="<if condition="$deletebutton">delete<else />remove</if>" id="rb_del_soft" tabindex="1" class="button" />
HTML Code:
<input type="submit" name="deletepost" value="delete" id="rb_del_soft" tabindex="1" class="button" />
Chris |
#8
|
|||
|
|||
Sorry, but which template is this located in?
|
#9
|
||||
|
||||
Click the link to the hack above and apply the template edit that the first post suggests...
Chris |
#10
|
|||
|
|||
I tried but it is not working...
Code:
<if condition="$post['editlink']"> "Invalid Action Specified" Here's what I actuially edited... Code:
<if condition="$post['editlink']"> <form action="editpost.php" method="post"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="p" value="$post[postid]" /> <input type="hidden" name="do" value="deletepost" /> <input type="submit" name="deletepost" value="remove" id="rb_del_soft" tabindex="1" class="button" /> </form> <a href="$post[editlink]" |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|