23
A few months ago I wrote about How to Add a ‘Contact Us’ Form to Your Site, a mod created by BANS forum member, mistermickster. If you follow those instructions you will end up with a ‘Contact Us’ link in your Site Navigation’s sidebar menu.
After I posted these instructions many people said they prefered to add their ‘Contact Us’ link to the footer of their sites. Both Holly and mistermickster shared how to achieve this. But some people where confused so I am clarifying with detailed instructions here on how to do this.
My instructions to add a ‘Contact Us’ form on your site and display the link in your footer: |
|||
|
Step One
|
|||
| Download the contactus.zip file, save it to your computer, and extract its contents. | |||
| Step Two | |||
| Upload the contact.php and captchaimg.php files from the zip file to your site’s root folder, where your site’s index.php is located (you can upload these files using an FTP program or through your site’s cPanel File Manager.) | |||
|
Step Three
|
|||
| Log in to your site’s Admin and click on the ‘Template‘ tab and ‘styles.css‘ link for the template you are using. | |||
| Save a copy of the original code (click here for instructions on how to do this). | |||
| Copy the contents of contactus02.txt and paste it to the bottom of your style.css. Save changes and view site for errors. | |||
| Step Four | |||
| Log in to your site’s Admin and click on the ‘Template‘ tab and ‘footer.php‘ link for the template you are using. | |||
| Save a copy of the original code. | |||
| Search for the line of copyright code based on what version of BANS you are using. | |||
| For BANS version 1 or 2: | |||
| Search for Copyright © 2008 </p> | |||
| For BANS version 3 or higher: | |||
| Search for Copyright © <?php echo date(”Y”);?> <a href=”<?php print URL_PATH.”/”;?>”> <?php print SITENAME.”";?></a><?=$front->powered();?> | |||
| Note: Your code may not look exactly like the above examples, as you may have modified the code at some point. | |||
| Copy the contents of contactus04.htm and paste it AFTER your copyright code. | |||
| Note: Change URL.com to your site’s URL. | |||
| Save changes and view site for errors. | |||
|
.
|
|||
As I said above, all emails are sent to the address you entered in your site’s Admin Security tab. If you are like me you have entered the same email address for every site you have. You won’t want emails from various sites sent to one email because you’ll have no idea what site the emails are coming from or referring to.
There are several ways to deal with this. The solution I have chosen is a simple one that will allow you to add unique email address for every niche store you have and let you check them all in a single place. No, I don’t mean your inbox, such as Outlook or Outlook Express. This is even easier than that.
What I suggest requires creating multiple accounts with Google’s gmail. For those who may be worried, you are allowed to have multiple gmail accounts as long as your purpose for the accounts doesn’t violate Google’s TOS. Using your email accounts for ‘Contact Us’ purposes only is an acceptable use of multiple accounts.
I realize not everyone will want to use Google’s gmail. If you don’t want to do this then I’m afraid I’m leaving it up to you to figure out how to deal with the email address aspect of creating ‘Contact Us’ forms. I apologize but I simply don’t have the time to write instructions for every method available for doing this.
My instructions to add unique email addresses to every niche store you have: |
|
|
Step One
|
|
| Go to Google’s gmail and create a primary email account with Google’s gmail. By primary I mean the account that you will log into to check all emails you may have received from all your niche stores. | |
| I suggest you name it something like, ‘MainEmailAccount@gmail.com‘ or ‘MyMainNicheStoreEmails@gmail.com‘ to remind you of the purpose of the email account. The name you want may be taken already so play around until you find an available name. | |
| Step Two | |
| Log in to your first niche site’s Admin and click on the ‘Security‘ tab. Enter the primary gmail email address you created in step one above in the ‘Email‘ section but modify it as follows: | |
|
MainEmailAccount+NicheStore01@gmail.com
|
|
| Save changes (this will automatically log you out of Admin) | |
| Step Three | |
| Repeat step two of these instructions for every niche store you add a ‘Contact Us’ form to. For every store add a unique +NicheStoreDescription so you will know what store an email is coming from. | |
|
.
|
|
Now that you have created a primary email account and unique variations of this account for each niche store you need to periodically check your primary account for messages. When you log in you will see all your emails in one centralized place. But you won’t know which niche store your emails have come from just by looking at your inbox:

To figure out which store your email came from you need to click on an email to open it. Once you have done this you need to click the ‘show details‘ link:

Now you can see what email address the message was sent to, and this tells you what store the email is coming from and referring to:

That’s it. You now have a ‘Contact Us’ link that you can add to your site’s footer, a unique email address set up for each of your niche stores, and an easy way to read any messages you receive. Go ahead and click it to send yourself an email to verify that it works. Pretty nifty, eh?
Rochelle
Related Posts:

Rochelle
Thank you for condensing this all into one clear post. It is much appreciated.
Thanks, I forgot about the multiple Gmail accounts.
Thank you yet again. One thing that I’m having a problem with is the hyperlink of the powered();?> portion of the code in the footer extends to the “|” spacer of the “Contact Us” code. Any suggestions?
Well, you could remove the ‘Powered By…’ link entirely. Or, you could add a new line so your footer links are not on the same line as your ‘Powered By…’ line.
To add a new space you would need to add < br > (minus the spaces, so it is all together) after the last item you want on the top line.
I hope that makes sense.
Rochelle
Very useful, thank you. Is there any way to modify the text in the contact us page?
Fuerza y Fes last blog post..Korean Guitars - Introducing Saein Guitars