Back to vBulletin 3.0 Add-Ons

Assign Physical Delete to a Specific User or Usergroup
Mod Version: 1.00, by AnhTuanCool

This modification is in the archives.
vB Version: 3.0.3 Rating: (0 vote - 0 average) Installs: 1
Released: 08 Aug 2004 Last Update: Never Downloads: 0
Not Supported  

What will it do, as I said on the title, it assigns the permission of showing Physical Delete Function to a Specific User or Usergroup. :devious:

Open up file editpost.php

Find:
PHP Code:
    $show['physicaldeleteoption'] = iif (can_moderate($threadinfo['forumid'], 'canremoveposts'), truefalse); 
Replace with:
PHP Code:
    if ($bbuserinfo['usergroupid'] == '6')
             {
    
$show['physicaldeleteoption'] = iif (can_moderate($threadinfo['forumid'], 'canremoveposts'), truefalse);
             }
             else
             {
    
$show['physicaldeleteoption'] = false;
             } 
Save it up.

This line
PHP Code:
    if ($bbuserinfo['usergroupid'] == '6'
is showing the usergroup that have the permission to view(use) physical delete. You can look up in your admincp > Usergroup Manager to get your proper id that you want to have permission of viewing(using) physical del or you could change it to
PHP Code:
if ($bbuserinfo['userid'] == '1'
and replace 1 with your userid.

If you install this plz click Install, this is my first hand hack so plz supporting me. Have a nice day.

Need screenshot, look at the attachment. ^__^

Download

No files for download.

Screenshots

   

Similar Mods

Moderators Functions Hard Delete (physical delete) By User Group vBulletin 3.7 Add-ons
Moderators Functions Quick Soft and physical delete vBulletin 3.7 Add-ons
Assign Physical Delete Function to Specific Usergroups vBulletin 3.0 Full Releases

vblts.ru supports vBulletin®, 2022-2024