Contributions
User Tracking with Admin 1.0
Complete version of this WONDERFULL modification with an integrated ADMIN area to set:
- User Tracking on/off
- User Tracking (exclude this IP-Address)
- User Tracking (Session # Limit per 24 hour)
This is my second modification of an existing modification.
I hope you like it
Expand All / Collapse All
Please ignore my previous mod below.
Just download & extract this file to overwrite /admin/user_tracking.com and it will fully work even if you have register globals off on your server/account.
With this file there's absolutely no need to install the Register Global mod I previously mentioned, but it won't hurt.
If you have register globals off on your server you should revise /admin/user_tracking.php file as described below.
Please note, you must have the register globals off contribution (http://www.oscommerce.com/community/contributions,2097) installed for this mod to work.
Find:
$LIMIT_DISPLAY_SESSIONS = CONFIG_USER_TRACKING_SESSION_LIMIT;
// $MIN_CLICK_COUNT = 1;
Add EXACTLY BELOW:
// Register Globals Fix
link_get_variable('time');
link_get_variable('viewsession');
link_get_variable('delsession');
link_get_variable('delnosession');
Full Package includes POLISH Language and correction German Language.
Pełna wersja zawierająca polskie tłumaczenie oraz poprawki niemieckie z pliku poniżej.
some corrections ("Umlaute") and missing constant definitions in both german language files
NOTE: This is not a complete install !! you must have a previous install v.1.40.2 present !!
Small mistake in version v1.4.1 because an accolade was missing. Small bugfix to do around line 162 of admin/user_tracking.php.
This is the full package.
New Full Package
includes the changes to allow setting of the min click value from the admin user tracking config.
includes the changes to allow deletion of guest sessions.
New full package 1.4 with following changes :
- view session now opens a new window with the details of the selected session. This should speed up the view sessions if you have a lots of visits
- added new flag "ne.gif"
This is the changelog for version 1.36 :
- added some missing flags in admin/images/flags
- added constant MIN_CLICK_COUNT. It has been initialised to "1" so click counts = 1 are not displayed
- added "$time_frame" on delete and view session php call (bug report by Maureen at 04.04.2005)
- $referer_url put in comment as it is pulled now from the user_tracking table so it must not be set to NULL anymore
- display of entry and end date
- visits like spiders do not have a session_id, so their session was also displayed by default. Bug has been fixed but now it is not possible anymore to view a session without a session_id. I find it not useful to look at >1000 links from a spider visit.
- added some "bold" tags for nicer display
- added correct management of $referer_url
- added "addslashes" php command for the product_name in case you have special characters in the name
- added files catalog/includes/application_top.php and catalog/includes/footer.php
- added file admin/includes/footer.php
This is just a repackage based on the previous updates.
This also resolves the issue of the referral_url error
This includes the languages fix.
Complete package no need to download earlier packs
This is Only a fix to make USer tracking admin more language friendly.
fixes next bug:
-changing default language in admin.
-Modification to purge all records (beware all records will be deleted!!)
-some modifications to make this contribution more language friendly
INSTALL:
Just copy all the file over your a copy of your old user_tracking files
This is written from the latest 1.35 version.
You can change the language files to your needs
NOTE: This is not a complete install !! you must have a previous install present !!
A new version of the 'How to Install' file, the original uses a hard-coded path in the line that it has you add to the admin/includes/footer.php file. It basically replaces ../../catalog/ with DIR_FS_CATALOG.
I have added two functions and fixed a small bug.
All Information for Setup are in the file "Install _ delete individual ip an all without session IP.txt" This file includes all informations to update your existing installation. If you don't have installed it till now, you will find all files in this package.
That's what I've done:
Add Delete individal IP Adress
Add Delete all without a SessionID
Fix code for using the whos online function because in original code is was hardcoded. Now it uses the setting you made in admin
Updated install instructions for MS2. Only other file changed was /admin/user_tracking_config.php
tep_array_merge is now just array_merge
Includes German Language files from previous upload.
All credits belong to the original authors! Thank you!
User Tracking with Admin 1.34 incl. German language file.
All credits belongs to the author of this great tool.
I added only German language and translation to this Zip-File.
Forgot a change to one file. All necessary files should be in this zip.
Added GeoIP support to display flag/country name of each visiting user.
See Install for instructions.
Added GeoIP support to display flag/country name of each visiting user.
See Install for instructions.
I've combined the previous few single-file contributions into one complete install package and included recent improvements to display "live" users more prominently. (thanks, mattice).
Current discussion thread: http://www.oscommerce.com/community/contributions,1055
in .sql file there is a typo
INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES (309,
'309' needs to be ''
sorry for that
download new .sql file if you cant change it yourself
update:
this zip only contains a NEW install file
fixed incomplete install.txt
added click count
and changed some options
next version will have option for x results per page
This must be the final for today.
bullits, bugs or compliments at http://forums.oscommerce.com/viewtopic.php?p=127780#127780
fixed all bugs
thanks to jchasick (jeff) & gdfwilliams (Greg)
for bug tracking and helpfull solutions.
hard to explain what has changed with previous version.
just overwrite the files if you had installed an older version.
It's easier to read the admin area now,
you can collapse the tracked pages now too !
Just give it a try
Dont forget to BACKUP FIRST !!!
Robert
updated to full install package
replace this file in: admin/user_tracking.php
discovered typo's in query (new):
if ($delip == '1')
{
tep_db_query("DELETE FROM " . TABLE_USER_TRACKING . " WHERE ip_address = '" . CONFIG_USER_TRACKING_EXCLUDED . "'");
echo CONFIG_USER_TRACKING_EXCLUDED . ' has been deleted. <p>';
$delip='0';
}
if ($delsession)
{
tep_db_query("DELETE FROM " . TABLE_USER_TRACKING . " WHERE session_id = '" . $delsession . "'");
echo $delsession . ' has been deleted. <p>';
}
=======
and made a link in red for deleting session
There seem to be some BUGS, sorry for that... :(
updated the files:
thanks to Illicious & Morbantokk & davidturetsky for bug tracking :)
Post other bugs at http://forums.oscommerce.com/viewtopic.php?p=126236#126236
Complete version of this WONDERFULL modification with an integrated ADMIN area to set:
- User Tracking on/off
- User Tracking (exclude this IP-Address)
- User Tracking (Session # Limit per 24 hour)
This is my second modification of an existing modification.
I hope you like it
Note: Contributions are used at own risk.