Feedback Sidebox
What does this little baby do?
I'll tell ya.
This module written for zencart 1.3.8a will add a sidebox in the left
hand column that invites users to leave feedback for your website.
The sidebox contains a form with 5 options - First Impression, website
navigation, website colours, products and pricing.
There are 5 options for each title so the user will give a score from
1 to 5 for each title with 1 being the best.
This information is then gathered up and stored into a table in your
database for you to view when ever you like.
Not only that, but the form will also send you an email to let you know
when someone has left feedback - and what they've chosen from the options.
The code is written so only one feedback is left from each customer/user
as the ip address is stored in the database so if another form was submitted
from the same ip then no information will be passed to the database, no
email will be sent.
Hopefully this will build an insight into how customers and users view your
site.
Files to upload...
includes/languages/english/extra_definitions/feedback_sidebox_defines.php
includes/languages/english/html_includes/define_feedback_sidebox_content.php
includes/modules/sideboxes/feedback_sidebox.php
includes/modules/pages/feedback/header.php
includes/templates/template_default/sideboxes/tpl.feedback_sidebox.php
Installing the SQL Patch...
Open up feedback_sidebox.sql that was downloaded with the module, just
copy everything inside the file and paste it into the sql patch box in
admin > tools > install SQL patch so it creates the database table
for the feedback information.
Files to Edit...
Using ftp or whatever, first go to:
includes/modules/pages/feedback/header.php and on the second line replace
- "DBusername" with your "database username" and your
"DBpassword" with your "database password"
On the seventh line change "DBname" for your "database
name"
BE SURE TO LEAVE THE QUOTE MARKS AND JUST EDIT WHATS BETWEEN THEM
on line 2 "localhost" can most of the time stay as it is. If
however you do find this needs changing then please consult your hosting
people. They'll tell you what to replace it with.
Only one other edit to do.
Just nip into Admin > tools > define_page_editor
drop the box down and look for define_feedback_sidebox_content and change
YOURWEBSITE.co.uk to whatever it should be and click save.
Now go to admin > tools > layout_box_controller
Look for 'sideboxes/feedback_sidebox.php' give it an edit to turn it
on as zencart will default this as off.
And that's it.
Sit back and wait for the feedback to roll in.
You can check all the feedback left by going to phpmyadmin, jump into
the database and look for user_data. In here it will list all the feedback
that ever been left.
-----------------------------
Disclaimer...
If you are running automatic feeds on your website then please contact
your support first before installing as we cannot accept responsibility
for installations of this module that have been carried out incorrectly.
Always make back ups before making any changes. |