Is there a way to change the simple contact us form to something a little more intricate? Just the email and subject isn't enough for us and we'd like to include 'pen name' as one of the boxes, is there a way to do that? I'm running 3.4.3.
Yes, but it would require changing some of the PHP files. I think it's either contact.php or possibly one of the files in the includes folder. Be REALLY careful touching anything in the includes folder, as many of these files are used by lots of others. Just recently, however, I took another approach. I actually installed a help desk program and redirected (changed the Page Links, actually) the help/FAQ page and the contact page there: dracoandginny.com/support. The program is Hesk and was offered as a one-click install through my cPanel account. (Lazy FTW) I haven't yet skinned it. It's free. And I like the searchable knowledgebase. : )
You should also upgrade to the most recent version of eFiction. It's more secure, and if people were to offer you suggestions on what to change in files, the line numbers/code might be totally different.
Yes, but it would require changing some of the PHP files. I think it's either contact.php or possibly one of the files in the includes folder. Be REALLY careful touching anything in the includes folder, as many of these files are used by lots of others. Just recently, however, I took another approach. I actually installed a help desk program and redirected (changed the Page Links, actually) the help/FAQ page and the contact page there: dracoandginny.com/support. The program is Hesk and was offered as a one-click install through my cPanel account. (Lazy FTW) I haven't yet skinned it. It's free. And I like the searchable knowledgebase. : )
Pardon me while I steal this awesome idea.
Skins made by Kali are no longer supported!
We skinned Hesk. It's not... easy. It uses a lot of crappy coding (TABLES), and hard-codes a lot. I don't think the author meant to have it skinned. π I had to be very patient with it; however, its functions are good.
@MistressMalfoy, I modded a version of contact.php. I have it put the username (if applicable) in the letter and/or as a disabled input form if they're logged in. Modded is probably the wrong word because I re-wrote it... but this seems to be the generic code:
(contact.php)
Showing it in the e-mail; use this to integrate into the e-mail which is sent out to you.
if (isMEMBER)
$message .= "<br /><strong>Username:</strong> <a href=""$url/viewuser.php?uid=".USERUID."">"." USERPENNAME."</a>";
Integrating it into the form:
$output .= "<fieldset style="width: 400px; margin: 1em auto;">r";
$output .= "<p><label for="pennamel">Penname</label>: ";
if(isMEMBER) $output .= USERPENNAME . "</p>";
else $output .= "<input type="text" class="textbox" name="penname" id="pennamel" /></p>";
archive:
site:
Available for skin/mod commission! π
