Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

User Tracking - addon


Druide

Recommended Posts

Posted

For those people using the User Tracking contribution,

there still was a little 'bug' in it.

 

-------- this is how you do it -------------

Set the your ip to a different number in user tracking config,

enable User Tracking ADMIN

click a few links in the configuration area and

go see the 'user tracking' and select your own IP and 'view session'

there you have a few times HEADING_TITLE

not nice to see is it ?

 

Now add the extra code

 

Open the file admin/configuration.php (BACKUP FIRST !)

 

find this:

  $cfg_group_query = tep_db_query("select configuration_group_title from " . TABLE_CONFIGURATION_GROUP . " where configuration_group_id = '" . (int)$gID . "'");
 $cfg_group = tep_db_fetch_array($cfg_group_query);
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

 

and replace it with

  $cfg_group_query = tep_db_query("select configuration_group_title from " . TABLE_CONFIGURATION_GROUP . " where configuration_group_id = '" . (int)$gID . "'");
 $cfg_group = tep_db_fetch_array($cfg_group_query);
define('HEADING_TITLE', '' . $cfg_group['configuration_group_title'] . '');
?>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

 

the difference is define('HEADING_TITLE', '' . $cfg_group['configuration_group_title'] . '');

 

What it does ?

 

Well it fills the value 'HEADING_TITLE' to the real groupsname when you select 'view session' in 'user tracking'.

 

This is only when you are tracking the admin area also with user tracking.

 

 

 

next:

 

click a few links in the configuration area and go see the change in 'user tracking' and select your own IP and 'view session'

Now you see finally the right names :)

 

ENJOY

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Posted

Hello Robert,

 

I have another problem (BUG) which I think is related to

the USER TRACKING contribution.

 

I have a MULTI LANGUAGE (English, Espanol & German)

store . Everytime there is a Espanol or German visitor

with a Espanol or German Language page open,

the Entire admin switches to that Language.

 

As many items are not defined in the language files

(Extra contributions without language filea) this totally messes

up the entire admin except the USER TRACKING itself !

 

I have posted this before in the FORUM but never heard

anyone mention it or a solution.

 

Wonder if you have a fix ?

Posted

Please keep the forum rules intact...

 

I believe that this is NOT the forum area to ask such a question since this is TIPS & TRICKS

 

Yes i know about that 'bug' and i can tell you that i won't go look for a fix since my free time is VERY limited which i should use for my girls here @ home.

Sorry about that try the proper area for support

Robert

 

We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...