Back to vBulletin 3.0 Add-Ons

Disable Send PM button when user is not accepting PM's
Mod Version: 1.00, by Protoman

This modification is in the archives.
vB Version: 3.0.7 Rating: (0 vote - 0 average) Installs: 2
Released: 20 Jul 2005 Last Update: Never Downloads: 1
Not Supported Code Changes  

Simple mod I thought I'd share. :bunny:
This removes the line that says 'Send user a PM' when viewing a profile if the user has chosen to not receive PM's

In private.php

Find
PHP Code:
// form for creating a new private message
if ($_REQUEST['do'] == 'newpm')
{
    require_once(
'./includes/functions_newpost.php'); 
Below Add
PHP Code:
if (!$bbuserinfo['receivepm'])
{
    exit;

Upload the new private.php and you're finished! ^_^

Download

This modification is archived and cannot be downloaded.

Screenshots

   


vblts.ru supports vBulletin®, 2022-2024