Visitors Premium is now Open Source! |
Visitors
Premium Typical Install Guide
For more information about
this software, please see the visitors
homepage.
This
intructions are equally valid for new Installations or Upgrades.
Before starting this install,
we recommend that you make a backup of your existing web site.
If you need more help, further
details or alternative options, try also looking at the "Detailed
Install" Guide.
- Copy all the
files to your web site
- Upload all files from
the catalog directory in the zip file to your web site maintaining
the exact file structure shown.
- If necessary, rename
the top level folders to match your file structure before copying. e.g.
You might want to rename 'admin' to 'myadmin'.
- No core files
are overwritten as this module is virtually self-contained.
- Note:
You should not place the Vistors files from the new "visitors" folder
into specific folders on your Web site!
- Make the link
to Admin
Add a new line to
catalog/admin/includes/boxes/reports.php:
Find:
'<a href="' . tep_href_link(FILENAME_STATS_CUSTOMERS,
'',
'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_ORDERS_TOTAL
. '</a>');
Change to:
'<a href="' . tep_href_link(FILENAME_STATS_CUSTOMERS,
'',
'NONSSL') . '" class="menuBoxContentLink">' . BOX_REPORTS_ORDERS_TOTAL
. '</a><br>' .
'<a href="' . tep_href_link('visitors.php', '', 'NONSSL') .
'" class="menuBoxContentLink">Visitors</a>');
|
- Make the link
to Catalog
Add this line to
the very end of catalog/includes/footer.php
after the final ?> or after any other HTML you have placed there:
<!--
Visitors Start -->
<?php require(DIR_WS_INCLUDES . 'visitors_count.php'); ?>
<!-- Visitors End -->
<!-- Visitors Web Stats is copyright: Flawless Net, http://www.flawlessnet.com
-->
We ask that you do not
remove our copyright notice from the above code in return for this
free software. Nothing
will show on your website and there are no
hidden or embedded links in any of our
code.
|
- Auto-install
(or auto-upgrade) your MySQL files
- Simply start Visitors
Premium in Admin.
- If all is well, you will
be taken to the Visitors MySQL install page.
- Follow the simple instructions
shown.
- Test it works
- If
you see an error: "Unable to open 'images/graphs/visitors_infobox_X.png'
for writing" then change the permissions on the admin/images/graphs directory
to 755 or better.
- If
you see an error: "Warning: chmod(): No such file or directory etc"
or "Warning: Unable to chmod() etc" then either the above error
applies or you have manually uploaded some Visitors Graph images to the admin/images/graphs
directory. Simply delete them and allow the programme to re-create
them for you.
- If
you have any custom images in your Admin Header, then you will need to copy
them to Admin/visitors/images.
- If
you are using CRELoaded or the "Admin Access" security contribution
then please check the "Detailed
Install" Guide.
- Check that you don't
have any obvious errors in the Admin section.
- Tables may be empty
until you have collected some data
- JavaScript charts
will show black data bars if empty.
- Other charts will
show today's day of the month as a label in the x-axis if empty.