View Full Version : How do I add instructions to Private Message screen?
Richard E
12-02-2011, 06:05 AM
On another vBulletin site, I see this text whenever I compose a private message:
WARNING
The Administrator or Moderators will not respond to technical questions through PM's.
For problems please visit our Help Desk
Thank you for your understanding!
Where would I enter this?
Thanks,
Richard
Lynne
12-02-2011, 04:44 PM
You can just edit the template.
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)
Richard E
12-03-2011, 12:50 AM
I need a bit more help with this since I am a total php-newbie.
I'm in the private.php file. Is this the place I need to change?
// ############################### start new pm ###############################
// form for creating a new private message
if ($_REQUEST['do'] == 'newpm')
{
if ($permissions['pmquota'] < 1)
{
print_no_permission();
}
else if (!$vbulletin->userinfo['receivepm'])
{
eval(standard_error(fetch_error('pm_turnedoff')));
}
if (fetch_privatemessage_throttle_reached($vbulletin->userinfo['userid']))
{
eval(standard_error(fetch_error('pm_throttle_reach ed', $vbulletin->userinfo['permissions']['pmthrottlequantity'], $vbulletin->options['pmthrottleperiod'])));
}
require_once(DIR . '/includes/functions_newpost.php');
($hook = vBulletinHook::fetch_hook('private_newpm_start')) ? eval($hook) : false;
Where do I paste in the boilerplate text? :confused:
Thanks,
Richard
Lynne
12-03-2011, 10:17 PM
No, you need to edit the template. Templates are in Style Manager > find style > edit templates. I posted instructions on how to find the exact template to modify.
Richard E
12-04-2011, 01:30 AM
Thanks Lynne. I found the right template and made the change.
Best,
Richard
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.