Quote:
Originally Posted by RMS-Chef
Not really sure about product stuff.
What would I need to do in order to upgrade with my three custom forms?
|
The templates dont realy need to be changed. Their basicly the same just with the XHTML rules.
Here are the plug in edits:
Find:
PHP Code:
$formtitle = "Generic Form";
Add after:
PHP Code:
////////////////////////////////////////////////////////////////////////////////////////////////////
//TITLE OF THREAD/POST/PM/EMAIL (do not use quotation marks or you will get a parse error)
////////////////////////////////////////////////////////////////////////////////////////////////////
$posttitle = "$formtitle";
Find (2 times):
PHP Code:
$newpost['title'] =& $formtitle;
Replace with:
PHP Code:
$newpost['title'] =& $posttitle;
$newpost['parseurl'] = '1';
$newpost['emailupdate'] = '9999';
if ($vbulletin->userinfo['signature'] != '')
{
$newpost['signature'] = '1';
}
else
{
$newpost['signature'] = '0';
}
Find:
PHP Code:
$question = $formtitle;
Replace with:
PHP Code:
$question = $posttitle;
Find:
PHP Code:
$vbulletin->GPC['title'] =& $formtitle;
Replace with:
PHP Code:
$vbulletin->GPC['title'] =& $posttitle;
Find:
PHP Code:
vbmail($formemailaddress, $formtitle, $formsend);
Replace with:
PHP Code:
vbmail($formemailaddress, $posttitle, $formsend);