The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Edit Default for Hard Delete
Sorry if this has been asked before. I searched and didn't find anything.
I'm looking for a way to edit the default setting for deleting a thread or post. The default is to do a soft delete and I would like to change that so the default is a hard delete. On the forum I run all of the threads are sent to the trash and later to an archive. The posts that are deleted are those containing no valuable content or information. Just looking for a way to make the default option hard delete rather than having to select it every time. Any help would be greatly appreciated. |
#2
|
|||
|
|||
I think you need to find each template that contains the controls and edit it to make the "hard delete" button checked. For instance one place is in template threadadmin_deletethread, if you search for "checked" you'll find where soft delete is selected by default, and if you look a little further down you'll see the {vb:rawphrase physically_remove} that labels the hard delete option radio button. You could move the checked="checked" from one <input> tag to the other.
One thing that might help is to temporarily turn on the "Add Template Name in HTML Comments" (under General Settings). That way you can view the html source and figure out which template the controls are in (I think in most cases it's probably in the main template, the one mentioned in the <!-- BEGIN TEMPLATE: comment at the top). |
#3
|
|||
|
|||
Thanks! I knew it was in the templates somewhere but had no idea where to look before your reply. Got it working perfect. Thank you!
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|