Guest Posted March 11, 2003 Share Posted March 11, 2003 that did the trick... 19:39:09: ?2.5 inch FireWire and FW/USB? /thestore/default.php?cPath=1_22&osCsid= 01d05167bdbde0b2e223ec5d 19:39:01: ?Front Device Bay? /thestore/default.php?cPath=48&osCsid=01 d05167bdbde0b2e223ec5dd3 19:37:49: ?6 pin to 4 pin pin adapter? /thestore/product_info.php?products_id=3 51&osCsid=01d05167bdbde0 19:34:42: ?Get Them While They're Hot!? /thestore/specials.php?osCsid=01d05167bd thank you sir!! Quote Link to comment Share on other sites More sharing options...
davidturetsky Posted March 11, 2003 Share Posted March 11, 2003 One more bug fix to the 1.5a release that is on the contributions section now.... having an issue with lines 57 to 62 in the adminuser_tracking.php script. This... <?php if ($purge == '72') { tep_db_query("delete from user_tracking where time_last_click < '" . (time() - ($purge * 3600))"'"); echo "<font color=red>" . TEXT_HAS_BEEN_PURGED . "</font><p>"; } Should be this... <?php if ($purge == '72') { tep_db_query("DELETE FROM " . TABLE_USER_TRACKING . " where time_last_click < " . (time() - ($purge * 3600))."'"); echo "<font color=red>" . TEXT_HAS_BEEN_PURGED . '</font><p>'; } Otherwise, this thing rocks. Great effort. Now, if we could tie this and the Visitors stats together, it could be killer. :D Quote Link to comment Share on other sites More sharing options...
gdfwilliams Posted March 11, 2003 Share Posted March 11, 2003 Make that: <?php if ($purge == '72') { tep_db_query("DELETE FROM " . TABLE_USER_TRACKING . " where time_last_click < '" . (time() - ($purge * 3600))."'"); echo "<font color=red>" . TEXT_HAS_BEEN_PURGED . '</font><p>'; } Just missed the opening ' after where time_last_click < Fixes the problem, though. Good work. Agreed: integration w/ Visitors would be GOOOD. - Greg Quote Link to comment Share on other sites More sharing options...
davidturetsky Posted March 11, 2003 Share Posted March 11, 2003 Oops thanks. :wink: Quote Link to comment Share on other sites More sharing options...
Druide Posted March 11, 2003 Author Share Posted March 11, 2003 FYI i had already fixed that in version 1.31 ...lol http://www.oscommerce.com/community/contributions,1055 version 1.32 will be able for multilanguage support i eliminated all hardcoding of text & a href links Quote Robert We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;) Link to comment Share on other sites More sharing options...
gdfwilliams Posted March 11, 2003 Share Posted March 11, 2003 Robert, Perhaps we can include the Click Count solution HERE in 1.32 as well?? - Greg Quote Link to comment Share on other sites More sharing options...
\o/ Posted March 11, 2003 Share Posted March 11, 2003 I have just added this, and for some reason I dont get a originating URL for any visits. I tested it by going to google and finding a link to my site, then I clicked it in order to get to my site, but did not get a registered orignating URL for doing it. Is there any reason why I wouldnt? Also, I get this error at the bottom of every page in Catalog: Fatal error: Cannot redeclare tep_update_user_tracking() What does this mean please? Thanks and good mod. Ron. Quote Link to comment Share on other sites More sharing options...
gdfwilliams Posted March 11, 2003 Share Posted March 11, 2003 Fatal error: Cannot redeclare tep_update_user_tracking() means you're calling it elsewhere. Maybe a previous install in application_top? Quote Link to comment Share on other sites More sharing options...
\o/ Posted March 11, 2003 Share Posted March 11, 2003 Thanks sorted. Any idea about why I dont get an originating URL? Quote Link to comment Share on other sites More sharing options...
dynamic_vision Posted August 22, 2003 Share Posted August 22, 2003 Hello! You write in the install-text: ---------------- add to catalog/includes/application_top.php Look for: tep_session_start(); add after: // user_tracking modifications if (!$referer_url) { $referer_url = $HTTP_SERVER_VARS['HTTP_REFERER']; if ($referer_url) { tep_session_register('referer_url'); } } ----------- There is 2 Times "tep_session_start()" - Should i fill it 3 Times in? I did so and now everything works, but the showing of the HTTP-Ref Can you help? Thx from Duesseldorf, Germany! - BUT: ITS A FINE THING THIS PIECE OF CODE :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.