Changing the contact us form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HUMMER
    Senior Member
    • Sep 2005
    • 323

    Changing the contact us form

    Is there a way to adjust the contact form so that it does not use the
    Forum Name. My forum name is SEO optimized "Orchid Forum Orchid Care Wild Orchids" ... and the contact form says:


    Subject: Orchid Forum Orchid Care Wild Orchids Contact Us Form -


    I would like it to just say "Orchid Forum" instead of those other words if possible..?
    \
  • TheMusicMan
    Senior Member
    • Oct 2002
    • 2140
    • 3.7.x

    #2
    You can edit the contactus template to show whatever you want in it.
    John

    Comment

    • HUMMER
      Senior Member
      • Sep 2005
      • 323

      #3
      okay I see two templates a "contactus" and a "contactus_option". What would I change in them?

      contactus template code is below:


      $stylevar[htmldoctype]
      <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
      <head>
      $headinclude
      <title>$vboptions[bbtitle] - $vbphrase[contact_us]</title>
      </head>
      <body>
      $header
      <if condition="$navbar">$navbar<else /><br /><br /></if>

      <form action="sendmessage.php" method="post">
      <input type="hidden" name="s" value="$session[sessionhash]" />
      <input type="hidden" name="do" value="docontactus" />
      <input type="hidden" name="url" value="$url" />
      <if condition="$show['errors']">
      <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
      <tr>
      <td class="tcat">$vbphrase[errors_occured_when_submitted]:</td>
      </tr>
      <tr>
      <td class="alt2">
      <ol>$errormessages</ol>
      </td>
      </tr>
      </table>
      <br />
      </if>
      <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
      <tr>
      <td class="tcat">
      <span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[send_email_to_forum_administrator]</strong></span>
      $vbphrase[contact_us]
      </td>
      </tr>
      <tr>
      <td class="panelsurround" align="center">
      <div class="panel">
      <div style="width:$stylevar[formwidth]" align="$stylevar[left]">

      <fieldset class="fieldset">
      <legend>$vbphrase[your_details]</legend>
      <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
      <tr>
      <td>
      $vbphrase[your_name] :<br />
      <input type="text" class="bginput" name="name" value="$name" size="50" />
      </td>
      </tr>
      <tr>
      <td>
      $vbphrase[email_address] :<br />
      <input type="text" class="bginput" name="email" value="$email" size="50" dir="ltr" />
      </td>
      </tr>
      <if condition="$show['imagecheck']">
      <tr>
      <td>
      $vbphrase[image_verification] :<br /><img src="image.php?$session[sessionurl]type=regcheck&amp;imagehash=$imagehash" alt="$vbphrase[registration_image]" width="201" height="61" border="0" /><br /><br />

      $vbphrase[please_enter_the_text_above_image] :<br />
      <input type="text" class="bginput" name="imagestamp" size="50" maxlength="6" />
      <input type="hidden" name="imagehash" value="$imagehash" />
      </td>
      </tr>
      </if>
      </table>
      </fieldset>

      <fieldset class="fieldset">
      <legend>$vbphrase[subject]</legend>
      <div style="padding:$stylevar[formspacer]px">
      <if condition="$vboptions['contactusoptions']">
      $contactusoptions
      <div>
      <label for="rb_subjother"><input type="radio" name="subject" value="other" id="rb_subjother" />$vbphrase[other]</label>
      <input type="text" class="bginput" name="other_subject" size="40" maxlength="85" />
      </div>
      <else />
      $vbphrase[subject] :<br />
      <input type="text" class="bginput" name="subject" value="$subject" size="50" maxlength="85" />
      </if>
      </div>
      </fieldset>

      <div class="fieldset">
      $vbphrase[message]:<br />
      <textarea name="message" rows="10" cols="50" wrap="virtual" style="width:$stylevar[messagewidth]">$message</textarea>
      </div>

      </div>
      </div>

      <div style="margin-top:$stylevar[cellpadding]px">
      <input type="submit" class="button" value="$vbphrase[send]" accesskey="s" />
      <input type="reset" class="button" name="reset" value="$vbphrase[reset_fields]" accesskey="r" />
      </div>
      </td>
      </tr>
      </table>
      </form>
      $footer
      </body>
      </html>
      \

      Comment

      • TheMusicMan
        Senior Member
        • Oct 2002
        • 2140
        • 3.7.x

        #4
        As I said, the contactus template is the one you need to amend with yur code. Have a look in that and remove the code you don't want displayed.
        John

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...