If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / User tracking mod

User tracking mod

Started by pinghead on 10 May 2006, 12:06 PM · Views: 184,889

Results 41 to 60 of 861
6 Aug 2006, 12:56 AM
#41
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

User tracking mod

Thanks for follow-up Chris,

DrByte:

The config part is driven by access to /admin/configuration.php ... which is restricted by the admin profiles mod. That's the crux of the issue.

Ok, that makes sense.

DrByte:

For pages that are run via dedicated /admin/xxxxx.php files, using the /admin/includes/boxes/extra_boxes approach is the way.

OK, now I see what Kuroi was explaining in his document.

DrByte:

The user-tracking-config option is a creative twist on the use of the normal access of the Admin->Configuration menu. Props to the designer for creativity. Well done.

Too bad it bypasses traditional methods and thus the Admin Profiles mod doesn't recognize it in order to present it to you for configuration.

OK now I see I was too quick to judge. So we have a compatibility issue between Admin Profiles and User Tracking. Just noting in this thread and the archived UT thread many people haiving same issue and did not note a solution or workaround.

DrByte:

I haven't read the post about how to retrofit the admin profiles mod to support it, but that's where you need to go to fix it.

Actually it's not a post. It's a short text file included in Admin Profiles 1.03 distribution "updating box files (a step-by-step guide).txt", if anyone wants to check out.

I followed instructions in that document and was the basis of my previously mentioned edits that allowed me to access "User Tracking Config" under the Tools menu.

But it did not solve accessing links on the User Tracking dialog, specifically:

http://www.mydomain.com/shop/admin/configuration.php?gID=999&cID=538
http://www.mydomain.com/shop/admin/configuration.php?gID=999&cID=539
http://www.mydomain.com/shop/admin/configuration.php?gID=999&cID=540
http://www.mydomain.com/shop/admin/configuration.php?gID=999&cID=541
http://www.mydomain.com/shop/admin/configuration.php?gID=999&cID=542

The configuration checkbox that appears at the bottom of Admin Profiles is checked so I should be able to access.

I'm wondering if the gID=999 parameter is part of issue?

DrByte:

Or just turn off Admin profiles for the one-time configuration you're trying to do... and then turn it back on again.

I do not see any switch or easy method to disable. Or are you recommending uninstalling AP just to make minor UT Config changes and then reinstall AP? I am certain there is a better solution ;-)

Any others out there that have Admin Profiles and User Tracking working together whom have observed issue with "User Trackign Config" not showing up in admin menus? And anyone solved or created convenient workaround?

Woody

6 Aug 2006, 4:09 AM
#42
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: User tracking mod

Woodymon:

I'm wondering if the gID=999 parameter is part of issue?

I see the five UT entries in the database's "configuration" table, have configuration_group_id set to 999.

Whereas all other items in that table configuration_group_id is set to 1.

Also I see in the "admin_files" table:

id page header submenu


91 {blank} 0 0
92 user_tracking 0 0
93 configuration 0 0
94 user_tracking_config 0 0

Two Notes:
(1) the "blank" entry (id=91) appears to have been created during the install of User Tracking. I don't understand?
(2) "configuration" shows up in this list. Appears to be related to the links on the "User Tracking Config" dialog?

One other item I just noticed. In the Admin Profiles full-install SQL for the "admin_files" table I do not observe an item with id=77. However I do observe an entry in Admin Profiles full-install SQL for "admin_allowed_pages" table for id=77

I am reviewing the Archived Admin Profiles thread at
http://www.zen-cart.com/forum/showthread.php?p=198425

Also wondering why the links on the "User Tracking" menu & links on the dialog interface are implemented in admin with "traditional methods", yet the "User Tracking Config" menu and links on that dialog interface are implemented with the "creative twist".

BTW please don't take my posting on this issue as criticism. Both User Tracking and Admin Profiles are great mods. I'm just asking questions, searching for solution so AP and UT and co-habitate ;-)

Also I'm posting this in UT support forum as I've noted posts here from others having same issue. (I have not observed similar posts in AP support forum).

Woody

6 Aug 2006, 5:03 AM
#43
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: User tracking mod

I've just updated the Admin Profiles contribution with a few changes to accomodate the need:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=86

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Aug 2006, 9:46 AM
#44
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: User tracking mod

Thanks Chris!

6 Aug 2006, 9:51 AM
#45
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: User tracking mod

I was referring to something I believe you had referred to a few times in your inquiries.

Nevertheless, as you say, > Actually it's not a post. It's a short text file included in Admin Profiles 1.03 distribution "updating box files (a step-by-step guide).txt", if anyone wants to check out.

I spent several hours studying the issue and preparing the above contribution update in response to your questions. Perhaps you could test it out and see if it solves your problem?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Aug 2006, 11:04 AM
#46
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: User tracking mod

DrByte:

I was referring to something I believe you had referred to a few times in your inquiries.

Thanks. Wasn't sure if you were referring to the same doc.

DrByte:

I spent several hours studying the issue and preparing the above contribution update in response to your questions. Perhaps you could test it out and see if it solves your problem?
Testing right now...

SUCCESS! Works great! "User Tracking Config" now shows up under Admin > Tools and all the entires on the UT Config admin dialog work.

I've read and reread through the AP and UT support threads (and both archive threads) today to see if I could find a solution. I'm glad you did as I was starting to burn out on this subject (and I'm sure everyone was tired of me blabbering on about the issue).

A number of people observing the same issue will also be happy to hear of your effort, and I'm sure everyone else that comes along and installs both AP and UT.

Please post announce of your excellent update to the Admin Profiles support thread and maybe also PM Peter and Petter ;-).

Thanks again.
Woody

6 Aug 2006, 12:28 PM
#47
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: User tracking mod

Woodymon:

Testing right now...

SUCCESS! Works great! "User Tracking Config" now shows up under Admin > Tools and all the entires on the UT Config admin dialog work.

I spoke a bit too soon. "User Tracking Config" shows up under Admin > Tools, EXCEPT when I have selected an item from the Admin > Configuration menu. Then "User Tracking Config" disappears from the Admin > Tools menu.

6 Aug 2006, 12:50 PM
#48
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: User tracking mod

Woodymon:

"User Tracking Config" shows up under Admin > Tools, EXCEPT when I have selected an item from the Admin > Configuration menu. Then "User Tracking Config" disappears from the Admin > Tools menu.

"User Tracking Config" also disappears from the Tools menu when the User Tracking Config admin page is open

6 Aug 2006, 4:26 PM
#49
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: User tracking mod

That issue may have to wait. It's partly related to the "twist" used in storing those menu options.

It'll be much easier to resolve as a result of our Admin Rewrite later in our Roadmap...

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Aug 2006, 12:36 AM
#50
woodymon avatar

woodymon

Totally Zenned

Join Date:
Sep 2004
Posts:
2,309
Plugin Contributions:
1

Re: User tracking mod

DrByte:

That issue may have to wait. It's partly related to the "twist" used in storing those menu options.

It'll be much easier to resolve as a result of our Admin Rewrite later in our Roadmap...

Thanks Chris. Just thought you would want the heads up. In the scope of things just very minor issues. Much more important things to work on. And look forward to the admin rewrite ;-) And thanks again for providing the update.

10 Aug 2006, 1:35 PM
#51
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: User tracking mod

Hi There

Having another problem with mod. Well in fact this prob has been ongoing for some time for now, but initially I thought may have been a server issue but I am not so sure anymore.

Problem I have is that 9 times out of 10, I would get diverted to the following error page

The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.
Please try the following:

Click the Refresh button, or try again later.

Cannot find server or DNS Error
Internet Explorer

And all the rest of the bla bla bla you get when you hit page.

I only get this problem with User Tracking so I am wondering if something is not right in the coding.

After giving some thought as to why this might be happening, I was able to determine that problems really only started since installed mods "login box" and "sitemap with ezpages"

Does any one know if this mod conflicts with other mods with the exception of Admin Profiles

I have contacted my web hosting company and they browsed through my pages and they said they never got that page as all browsed pages loaded fine. They also seem to think that I may be a timing out. I think maybe it might be more of an admin problem!

I uploaded the mysql patch that GDorn suggested earlier in the thread but made no difference to my problem.

Does anyone have any ideas as to why this may be happening?

Running on Current version of zen (1.3.02)

Cheers Heavenlynights
http://www.heavenlynightslingerie.com.au
Warning: Adult Content - Zen 1.3.8a

11 Aug 2006, 2:09 AM
#52
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: User tracking mod

"When" do you get that error?

You didn't state whether your customers are seeing that, or if you're only seeing it when you try to view UT data in the Admin.

What does your server's errorlog say when that error appears?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

11 Aug 2006, 3:26 AM
#53
heavenlynights avatar

heavenlynights

Zen Follower

Join Date:
Jan 2006
Location:
Australia
Posts:
303
Plugin Contributions:
0

Re: User tracking mod

Hi Doc

Bit of an update. Woke this morning logged into admin as I normally do, when into my user tracking and hey presto no problem I had been having this problem for days and in the end getting very frustrated with user tracking. Now I only patched the mysql with GDorn altered suggestion late last night. Was still having problem. Maybe I had to reboot in order for the patch to work, although I wouldn't have thought so.

I just hope that I haven't spoke too soon!!

DrByte:

"When" do you get that error?

when I tried to access user tracking or view sessions in user tracking

DrByte:

You didn't state whether your customers are seeing that, or if you're only seeing it when you try to view UT data in the Admin.

Customers are not seeing this as it is only when I try to show user tracking

DrByte:

What does your server's errorlog say when that error appears?

Not sure as the error log only shows last 300 errors (I got lots error last night lol) as the server went down the last 10 minutes before I got fed up, logged off and went to bed. I have no idea how long it was down for, but it was up and running this morning.

Might consider this resolved for now as it seems to be running like a charm at the moment. But as said earlier it may also be a case of speaking too soon!! We'll see :D

Thanks guys!!

Cheers Heavenlynights
http://www.heavenlynightslingerie.com.au
Warning: Adult Content - Zen 1.3.8a

21 Aug 2006, 2:15 AM
#54
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Re: User tracking mod

Just wanted to say "awesome" mod. Works great out of the box. Have it installed with zen cart 1.3.0.2:clap: another mod successfully installed.:cheers:

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

21 Aug 2006, 5:26 PM
#55
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

Re: User tracking mod

I love this mod...great job

But i always use firefox, and when the Originating URL contains a url with many many characters, the url won't wrap.

In Internet Explorer the Originating URL does wrap.

As told i use firefox and it is a little bit irritating that the url wont wrap, so is there someone who can tel me how to change this?

22 Aug 2006, 7:52 AM
#56
fastserv avatar

fastserv

New Zenner

Join Date:
Mar 2005
Location:
Rheine, Germany
Posts:
22
Plugin Contributions:
0

Re: User tracking mod

In my firefox (1.5.0.6) the url wraps.

Stefan

My first Zen:
RheinerWein.de
My second Zen
PatronenPartner.de

22 Aug 2006, 11:58 AM
#57
brent avatar

brent

Totally Zenned

Join Date:
Mar 2005
Location:
United Kingdom
Posts:
606
Plugin Contributions:
0

Re: User tracking mod

Fastserv:

In my firefox (1.5.0.6) the url wraps.

Same here but I too have had this problem in the past. Was never a big issue so never paid much attention to it but at some point it disappeared and as the user tracking mod wasn't changed it could well be down to FF version.

22 Aug 2006, 5:02 PM
#58
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

Re: User tracking mod

Strange I use either 1.5.0.6, but to me it doesn't wrap.:wacko:

It isn't a issue. But it is more a nice to have then a must have.

31 Aug 2006, 4:36 AM
#59
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: User tracking mod

Just a quick note to announce that I've uploaded the User Tracking mod to the downloads area for easy access.

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=261

I also updated it to new edition: 20060805.

  • added new switch in UT-Config to allow disabling of the gethostbyname lookup, thus allowing faster display without showing host domain names of IP addresses
  • Note: installation instructions updated to add a check for whether the zen_update_user_tracking() function exists. If it doesn't exist, no error will display. Thus if mod isn't installed then no errors on screen.
  • Added a note that the Admin Profiles mod has been adapted to properly handle permissions for User Tracking. Use it instead of Admin Levels mod if you are having problems.
  • added forum-suggested index keys to UT table definition for new installs and upgrades

Still compatible with v1.3.x and v1.2.x

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

31 Aug 2006, 2:46 PM
#60
peterbkk avatar

peterbkk

Zen Follower

Join Date:
Jun 2006
Posts:
178
Plugin Contributions:
0

Re: User tracking mod

I upgraded to the user_tracking_20060805 today and now it seems that the user tracker is missing to record som visitors :shocking:

I hade a customer who posted in our guestbook today 14:49 and there are no records of that in the user tracker.. Normaly i do see if someone visit and post in our guestbook. The guestbook: http://siamonnet.se/babystore/index.php?main_page=guestbook