Page 13 of 86 FirstFirst ... 311121314152363 ... LastLast
Results 121 to 130 of 858
  1. #121
    Join Date
    Oct 2004
    Posts
    112
    Plugin Contributions
    0

    Default EXPages titles coming up with "Page 2"

    Hi,

    Thanks for a great mod

    For my ezpages, I'm getting 'page 2' for the title rather than the actual title. Normal product pages and define pages show the correct titles.

    Best regards
    Alan

    [typo in title I can't change ]
    Last edited by firehorse; 8 Nov 2006 at 12:50 PM. Reason: typo notification

  2. #122
    Join Date
    Aug 2006
    Posts
    74
    Plugin Contributions
    0

    Default Re: User tracking mod

    Hi,

    Anyone used User Track Module with Admin Profiles Module ?

    This, because I cannot set the admin-permissions for the user tracking module


    grmx

    Zen 1.35

  3. #123
    Join Date
    Oct 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: User tracking mod

    Hi,

    Is it just me, or are other people also getting 'Page 2' for the title for EZPages, rather than the actual title.

    Thanks
    Alan

  4. #124
    Join Date
    Jan 2006
    Location
    Australia
    Posts
    330
    Plugin Contributions
    0

    Default Re: User tracking mod

    Quote Originally Posted by firehorse View Post
    Hi,

    Is it just me, or are other people also getting 'Page 2' for the title for EZPages, rather than the actual title.

    Thanks
    Alan
    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!!

  5. #125
    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

  6. #126
    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

  7. #127
    Join Date
    Jan 2006
    Location
    Portland, Oregon
    Posts
    276
    Plugin Contributions
    0

    Default Re: User tracking mod

    Quote Originally Posted by Pinghead View Post
    To all the users of the usertracking mod!

    I'm in the process of upgrading to 1.3.0.1 from 1.2.6, and translating the english files to swedish (8815 lines of code...) and fixing the other mods I've installed.

    Please bear with me, this will take a while.

    In the meantime, post problems and solutions to the usertracking mod in this thread.
    still need a logo?

  8. #128
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: User tracking mod

    Quote Originally Posted by mrtorrez View Post
    Anyone used User Track Module with Admin Profiles Module ?
    This, because I cannot set the admin-permissions for the user tracking module
    Beginning with Admin Profiles 1.04 Kuroi provided both a box file and a sql patch to workaround the User Tracking menu issues (a brief mention is in the Admin Profiles readme).

    I just installed both Admin Profiles 1.06 and most recent User Tracking (08-30-06) on Zen Cart 1.36. The box file and sql patch seemed to fix it so 'User Tracking Config' shows up in the "Tools" menu. But now being a little more observant I see the 'User Tracking Config' menu entry disappears when I select another menu other than the "Tools" menu. However when I select another item from the "Tools" menu then 'User Tracking Config' reappears on the Tools menu. Now you see it. Now you don't.

    I had the impression that 'User Tracking Config' was suppose to appear in the "Configuration" menu? On previous Zen Cart versions it did.

    The mystery continues...

    Woody
    Last edited by Woodymon; 21 Nov 2006 at 02:07 PM.

  9. #129
    Join Date
    Aug 2004
    Location
    Saint Petersburg, Russia
    Posts
    1,786
    Plugin Contributions
    13

    Default Re: User tracking mod

    Woody!
    1. Run this sql-patch:
    Code:
    UPDATE configuration_group SET visible = '1' WHERE configuration_group_id =999 LIMIT 1 ;
    2. Remove user_tracking_config.php from user_tracking_tools_dhtml.php box (for admin_profile):
    Code:
    $options = array( array('box' => BOX_TOOLS_USER_TRACKING, 'page' => FILENAME_USER_TRACKING),
    				);
    3. Remove user_tracking_config.php file from admin directory.

  10. #130
    Join Date
    Sep 2004
    Posts
    745
    Plugin Contributions
    4

    Default Re: User tracking mod

    Firehorse:

    The problem with user tracking not listing the correct page name for ez pages is due to a line missing in the ez pages support code.

    To correct the problem, edit includes/modules/pages/page/header_php.php

    Locate the line which says:

    Code:
    define('NAVBAR_TITLE', $var_pageDetails->fields[pages_title]);
    and directly under this line add:

    Code:
    define('HEADING_TITLE', $var_pageDetails->fields[pages_title]);    // JTD:10/03/06 - for user tracking
    I believe you will find then that the correct page names are displayed.

    Hope this helps!

    Jeff

 

 
Page 13 of 86 FirstFirst ... 311121314152363 ... LastLast

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR