Results 1 to 10 of 858

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: User tracking mod

    Hi,
    Quote Originally Posted by heavenlynights View Post
    No not just U, I have this problem also and have had it for a long time, since the beginning. Don't know how to fix though!!
    I tracked down this

    \includes\functions\extra_functions\user_tracking.php
    Line 90
    Code:
    		else
    			{
    				$page_desc = addslashes(HEADING_TITLE);
    				if ($page_desc == "HEADING_TITLE")
    					$page_desc = addslashes(NAVBAR_TITLE);
    			}
    The code 'looks' fine as HEADING_TITLE gets defined all the time but I'm no expert

    I remember I used "Page 2" as an experiment and although there are no links to it anymore, it was still set on option 1, under Configuration/Define Page Status. I've changed it to option 3. I will report back if this make a difference.

    Heavenlynights, is your Page 2 set to option 1?

    Best regards
    Alan

  2. #2
    Join Date
    Oct 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: User tracking mod

    Hi,

    Nope, that doesn't seem to work. Just had someone on my site and there was a Page 2. I believe this is the code that needs looking at

    \includes\functions\extra_functions\user_tracking. php - Line 73

    Code:
    			if (($_GET['products_id'] || $_GET['cPath']))
    			{
    				if ($_GET['cPath'])
    				{
    					$cPath = $_GET['cPath'];
    					$cPath_array = zen_parse_category_path($cPath);
    					$cPath = implode('_', $cPath_array);
    					$current_category_id = $cPath_array[(sizeof($cPath_array)-1)];
    					$page_desc_values = $db->Execute("select categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . $current_category_id . "'");
    					$page_desc = addslashes($page_desc_values->fields['categories_name']) . ' ';
    				}
    				if ($_GET['products_id'])
    				{
    					$page_desc_values = $db->Execute("select products_name from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . $_GET['products_id'] . "' and language_id = '" . $_SESSION['languages_id'] . "'");
    					$page_desc .= addslashes($page_desc_values->fields['products_name']);
    				}
    			}
    			else
    			{
    				$page_desc = addslashes(HEADING_TITLE);
    				if ($page_desc == "HEADING_TITLE")
    					$page_desc = addslashes(NAVBAR_TITLE);
    			}
    So PSEUDO CODE
    Change
    Code:
    if (($_GET['products_id'] || $_GET['cPath']))
    to
    Code:
    if (($_GET['products_id'] || $_GET['cPath'] || $_GET['id'] ))
    because ezpages use 'id'. I don't know if you need to check for chapter as well.

    then add
    Code:
    	if ($_GET['id'])
    	{
    		$page_desc_values = $db->Execute("GET EZPAGE TITLE";
    		$page_desc .= addslashes($page_desc_values);
    	}
    Or something like that

    Can anyone help?

    Best regards
    Alan

 

 

Similar Threads

  1. User Tracking Mod only shows the Admin Session
    By Griff1324 in forum General Questions
    Replies: 6
    Last Post: 29 May 2008, 10:56 PM
  2. User Tracking Mod issue: repeated Logins: Admin: View Sessions
    By dharma in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 20 Feb 2008, 04:48 AM
  3. Search log mod vs. user tracking
    By ashton0603 in forum General Questions
    Replies: 4
    Last Post: 30 Jan 2008, 08:43 AM
  4. Google Analytics vs User Tracking mod
    By miles in forum General Questions
    Replies: 1
    Last Post: 15 Jun 2007, 10:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg