Well since you're a fellow F-Body owner & car enthusiast I'll help ya out.
Run this query via phpmyadmin:
ALTER TABLE user ADD pban smallint(5) unsigned DEFAULT 1 NOT NULL
In admincp/user.php find:
Code:
{
print_profilefield_row($profilefield, $userfield);
}
Below it add:
Code:
print_yes_no_row($vbphrase['can_edit_profile'], 'pban',$user[pban]);
Find:
Code:
if ($_POST['do'] == 'update')
{
globalize($_POST, array(
'password',
'user',
'membergroup',
'modifyavatar',
'birthday',
'signature',
'modifyprofilepic',
'joindate',
'lastvisit',
'lastactivity',
'lastpost',
'options',
'referrer',
'threaddisplaymode' => INT
));
Replace it with:
Code:
if ($_POST['do'] == 'update')
{
globalize($_POST, array(
'password',
'user',
'membergroup',
'modifyavatar',
'birthday',
'signature',
'modifyprofilepic',
'joindate',
'lastvisit',
'lastactivity',
'lastpost',
'options',
'referrer',
'pban',
'threaddisplaymode' => INT
));
Find:
Code:
$DB_site->query("
INSERT INTO " . TABLE_PREFIX . "usertextfield
(userid, signature)
VALUES
($userid, '" . addslashes($signature) . "')
");
}
Below it add:
Code:
$DB_site->query("UPDATE " . TABLE_PREFIX . "user SET pban=$pban WHERE userid=$userid");
In profile.php find:
Code:
if ($_REQUEST['do'] == 'editprofile')
{
Below it add:
Code:
if ($bbuserinfo[pban]==0)
{
print_no_permission();
}
If you want to stop them from editing other things just place that same code under whichever parts you don't want them to edit. For example, if you wanted to stop them from editing the options you would find this:
Code:
if ($_REQUEST['do'] == 'editoptions')
{
And add this below it:
Code:
if ($bbuserinfo[pban]==0)
{
print_no_permission();
}
Same goes for the avatar, signature, and whatever else you want to limit. Or if you prefer to limit them from everything you would just add that code below this:
Code:
// ############################################################################
// ALL FUNCTIONS BELOW HERE REQUIRE 'canmodifyprofile' PERMISSION, SO CHECK IT
In your admincp under "Languages & Phrases" click "Phrase Manager", then click "Add new Phrase". Add the following phrase:
Varname: can_edit_profile
Text: Can edit Profile?
Then to lock a member from editing his profile you would just click user options and set can edit profile to "no".