The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
Open shoutbox.php
There should be some code below: Code:
require("./global.php"); Code:
$DB_site->query("DELETE FROM shoutbox WHERE shoutid = $shoutid"); header("Location: $PHP_SELF?s=$sessionhash[sessionid]"); } Replace that section with: Code:
if (($bbuserinfo[usergroupid] == 5 || $bbuserinfo[usergroupid] == 6 || $bbuserinfo[usergroupid] == 7) && $action == 'delete' && $shoutid) { $DB_site->query("DELETE FROM shoutbox WHERE shoutid = $shoutid"); header("Location: $PHP_SELF?s=$sessionhash[sessionid]"); } ![]() Satan |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|