View Full Version : where do i find sendmessage.php?
friscogal
09-01-2006, 05:29 PM
how do i find it? is it in the template section? is it accessible thru admincp?
i am trying to add the "refer friend link.
Ntfu2
09-01-2006, 05:35 PM
sendmessage.php is in the forum root
However, you want to edit the contactus template from the sounds of it.
AdminCP -> Style Manager -> Style and Templates -> <<>> button then find the contactus template and edit that.
Good luck
friscogal
09-01-2006, 05:41 PM
i am in the contactus but can't find this code to change:
($_REQUEST['do'] == 'sendtofriend' OR $_POST['do'] == 'dosendtofriend')
{
$forumperms = fetch_permissions($threadinfo['forumid']);
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewthreads']) OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['canemail']) OR (($threadinfo['postuserid'] != $vbulletin->userinfo['userid']) AND !($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewothers'])))
{
print_no_permission();
}
// check if there is a forum password and if so, ensure the user has it set
verify_forum_password($foruminfo['forumid'], $foruminfo['password']);
do you think it is somewhere else...erwin(creator) said in sendmessage.php
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.