<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: How to Add a &#8216;Contact Us&#8217; Form to Your Site</title>
	<atom:link href="http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/</link>
	<description>Strategies to help you build your niche store empire</description>
	<pubDate>Wed, 01 Oct 2008 00:07:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Pete S</title>
		<link>http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3429</link>
		<dc:creator>Pete S</dc:creator>
		<pubDate>Tue, 16 Sep 2008 13:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3429</guid>
		<description>Thanks for your efforts.

The message acknowledge email that the person who filled out the form  appears to have the line

"Message Acknowledgement from ".SITENAME;

on mine the email I get does Not have the site attached in this email.

Looks like something is missing related to SITENAME.

Maybe I will download a new contact.php and try again.

else {
// send acknowledgement email
  $send_to = $EmailFrom;
  $send_headers = "From: ".SITENAME." \r\n";
  $send_headers .= "Content-Type: text/html;";
  $send_subject = "Message Acknowledgement from ".SITENAME;
  $send_message = "Hello $Name,Thank You for contacting us.We will respond to your message as soon as possibleRegards&lt;a href='".URL_PATH."' rel="nofollow"&gt;".SITENAME."&lt;/a&gt;";
  mail($send_to, $send_subject, $send_message, $send_headers);

// send contact message</description>
		<content:encoded><![CDATA[<p>Thanks for your efforts.</p>
<p>The message acknowledge email that the person who filled out the form  appears to have the line</p>
<p>&#8220;Message Acknowledgement from &#8220;.SITENAME;</p>
<p>on mine the email I get does Not have the site attached in this email.</p>
<p>Looks like something is missing related to SITENAME.</p>
<p>Maybe I will download a new contact.php and try again.</p>
<p>else {<br />
// send acknowledgement email<br />
  $send_to = $EmailFrom;<br />
  $send_headers = &#8220;From: &#8220;.SITENAME.&#8221; \r\n&#8221;;<br />
  $send_headers .= &#8220;Content-Type: text/html;&#8221;;<br />
  $send_subject = &#8220;Message Acknowledgement from &#8220;.SITENAME;<br />
  $send_message = &#8220;Hello $Name,Thank You for contacting us.We will respond to your message as soon as possibleRegards<a href='".URL_PATH."'>&#8220;.SITENAME.&#8221;</a>&#8220;;<br />
  mail($send_to, $send_subject, $send_message, $send_headers);</p>
<p>// send contact message</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mistermickster</title>
		<link>http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3427</link>
		<dc:creator>Mistermickster</dc:creator>
		<pubDate>Tue, 16 Sep 2008 12:31:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3427</guid>
		<description>Hi Pete,

Sorry then, but I don't know what else to suggest.

When I clicked on my Contact Us page after uploading the change, the Subject text box defaulted to my Sitename, so appears to work.

The code you've shown looks fine.

I'll have a think.</description>
		<content:encoded><![CDATA[<p>Hi Pete,</p>
<p>Sorry then, but I don&#8217;t know what else to suggest.</p>
<p>When I clicked on my Contact Us page after uploading the change, the Subject text box defaulted to my Sitename, so appears to work.</p>
<p>The code you&#8217;ve shown looks fine.</p>
<p>I&#8217;ll have a think.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete S</title>
		<link>http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3410</link>
		<dc:creator>Pete S</dc:creator>
		<pubDate>Mon, 15 Sep 2008 22:41:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3410</guid>
		<description>! is there.

Here is the code as edited and uploaded - copy and pasted............

  if (periodPos+3 &#62; email.length) {
     return false
  }
  return true
}

&#60;?php
if (!$_POST['submit']) {

if (!isset($Subject)) {
$Subject = Trim(stripslashes(SITENAME));
}

$error_char = "";
$error_text = "";
if (isset($contact_error)) {</description>
		<content:encoded><![CDATA[<p>! is there.</p>
<p>Here is the code as edited and uploaded - copy and pasted&#8230;&#8230;&#8230;&#8230;</p>
<p>  if (periodPos+3 &gt; email.length) {<br />
     return false<br />
  }<br />
  return true<br />
}</p>
<p>&lt;?php<br />
if (!$_POST['submit']) {</p>
<p>if (!isset($Subject)) {<br />
$Subject = Trim(stripslashes(SITENAME));<br />
}</p>
<p>$error_char = &#8220;&#8221;;<br />
$error_text = &#8220;&#8221;;<br />
if (isset($contact_error)) {</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mistermickster</title>
		<link>http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3409</link>
		<dc:creator>Mistermickster</dc:creator>
		<pubDate>Mon, 15 Sep 2008 22:14:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3409</guid>
		<description>Yes you leave SITENAME as is.

You have typed the code exactly as shown? There is a '!' right before isset.

Please post your code here for me to have a look at, or send me a PM in the BANS forum.</description>
		<content:encoded><![CDATA[<p>Yes you leave SITENAME as is.</p>
<p>You have typed the code exactly as shown? There is a &#8216;!&#8217; right before isset.</p>
<p>Please post your code here for me to have a look at, or send me a PM in the BANS forum.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete S</title>
		<link>http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3401</link>
		<dc:creator>Pete S</dc:creator>
		<pubDate>Mon, 15 Sep 2008 16:19:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3401</guid>
		<description>Found the place and added as post said. Uploaded but no go.

Contact form still works and sends emails as it should but no change in the subject line.

You did mean to leave "SITENAME" as is and NOT replace it with something like"MyLittlePony" ??? Correct?

I do not know anything about php but is there maybe 1 extra ")" in there???

Thanks for looking at this.

BTW - The people over at Wordpress would like a contact form like yours with the type in number challenge.

The only contact form they seem to have with a built in challenge question is crude compared to yours.</description>
		<content:encoded><![CDATA[<p>Found the place and added as post said. Uploaded but no go.</p>
<p>Contact form still works and sends emails as it should but no change in the subject line.</p>
<p>You did mean to leave &#8220;SITENAME&#8221; as is and NOT replace it with something like&#8221;MyLittlePony&#8221; ??? Correct?</p>
<p>I do not know anything about php but is there maybe 1 extra &#8220;)&#8221; in there???</p>
<p>Thanks for looking at this.</p>
<p>BTW - The people over at Wordpress would like a contact form like yours with the type in number challenge.</p>
<p>The only contact form they seem to have with a built in challenge question is crude compared to yours.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mistermickster</title>
		<link>http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3400</link>
		<dc:creator>Mistermickster</dc:creator>
		<pubDate>Mon, 15 Sep 2008 12:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3400</guid>
		<description>Sorry, same thing has happened. :(

You can read the change required here http://www.icehockeycardstore.com/contact_titlechange.txt</description>
		<content:encoded><![CDATA[<p>Sorry, same thing has happened. <img src='http://www.nichestorestrategies.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>You can read the change required here <a href="http://www.icehockeycardstore.com/contact_titlechange.txt">http://www.icehockeycardstore......change.txt</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mistermickster</title>
		<link>http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3399</link>
		<dc:creator>Mistermickster</dc:creator>
		<pubDate>Mon, 15 Sep 2008 12:01:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3399</guid>
		<description>Oops, in my previous post html code was stripped out.

I'll try again,

Find &lt;code&gt;meta();?&#62;&lt;/code&gt;

And add the following BEFORE that code
&lt;code&gt;&#60;?php
if ($PHP_SELF == "/contact.php") {
  echo "Contact ".SITENAME."";
}
?&#62;
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Oops, in my previous post html code was stripped out.</p>
<p>I&#8217;ll try again,</p>
<p>Find <code>meta();?&gt;</code></p>
<p>And add the following BEFORE that code<br />
<code>&lt;?php<br />
if ($PHP_SELF == "/contact.php") {<br />
  echo "Contact ".SITENAME."";<br />
}<br />
?&gt;<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mistermickster</title>
		<link>http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3398</link>
		<dc:creator>Mistermickster</dc:creator>
		<pubDate>Mon, 15 Sep 2008 11:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3398</guid>
		<description>You need to manually edit your header.php file for your chosen template.

Locate the line/code that says 
meta();?&#62;

Paste the following lines of code BEFORE the code mentioned above
&#60;?php
if ($PHP_SELF == "/contact.php") {
  echo "Contact ".SITENAME."";
}
?&#62;

You can edit the text between  &#38;  to say whatever you want it to.

Hope that helps

Mick</description>
		<content:encoded><![CDATA[<p>You need to manually edit your header.php file for your chosen template.</p>
<p>Locate the line/code that says<br />
meta();?&gt;</p>
<p>Paste the following lines of code BEFORE the code mentioned above<br />
&lt;?php<br />
if ($PHP_SELF == &#8220;/contact.php&#8221;) {<br />
  echo &#8220;Contact &#8220;.SITENAME.&#8221;";<br />
}<br />
?&gt;</p>
<p>You can edit the text between  &amp;  to say whatever you want it to.</p>
<p>Hope that helps</p>
<p>Mick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mistermickster</title>
		<link>http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3397</link>
		<dc:creator>Mistermickster</dc:creator>
		<pubDate>Mon, 15 Sep 2008 11:22:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3397</guid>
		<description>On or around line 216 of contact.php you should see the line
if (!$_POST['submit']) {

add the following lines of code immediately below that line

if (!isset($Subject)) {
  $Subject = Trim(stripslashes(SITENAME));
}

That will prepopulate the subject textbox with your site name.</description>
		<content:encoded><![CDATA[<p>On or around line 216 of contact.php you should see the line<br />
if (!$_POST['submit']) {</p>
<p>add the following lines of code immediately below that line</p>
<p>if (!isset($Subject)) {<br />
  $Subject = Trim(stripslashes(SITENAME));<br />
}</p>
<p>That will prepopulate the subject textbox with your site name.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete S</title>
		<link>http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3331</link>
		<dc:creator>Pete S</dc:creator>
		<pubDate>Thu, 11 Sep 2008 17:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.nichestorestrategies.com/how-to-add-a-contact-us-form-to-your-site/#comment-3331</guid>
		<description>Be able to preload the subject line in the contact form with something like "MyLittlePony" so you would know which store the email came from.</description>
		<content:encoded><![CDATA[<p>Be able to preload the subject line in the contact form with something like &#8220;MyLittlePony&#8221; so you would know which store the email came from.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
