| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
IP Addresses in Users Online for all users | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#101
|
|||||||
|
|||||||
![]() Quote:
I've applied this patch to a clean unmodified 4.4.2 installation. I get the following error: Quote:
__________________
X-Cart Gold 4.2.1 / 4.4.2 X-AOM, X-SpecialOffers Download Expander 2.1.3 / 2.2.0 |
|||||||
#102
|
|||||||||
|
|||||||||
![]() This is not an error. It means XC cannot auto patch the files, you need to do this manually
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#103
|
|||||||
|
|||||||
![]() But this was on a clean, unmodified 4.4.2 install. If the patch won't apply, there's a problem with the patch or the patch software.
Edit: I did a manual patch. There was no reason that the patch should have failed on the first and third file and the patch was incorrectly applied on the second file. Manually patched it now works ok.
__________________
X-Cart Gold 4.2.1 / 4.4.2 X-AOM, X-SpecialOffers Download Expander 2.1.3 / 2.2.0 |
|||||||
#104
|
|||||||||
|
|||||||||
![]() In 4.4.4 the patch is applied without any problems.
Probably there were some updates in the patching system since 4.4.2...
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
#105
|
|||||||||
|
|||||||||
![]() Hi Folks,
I've manually changed Version 4.4.5 to display IP Addresses / domain lookup for users online:
Code:
to Code:
Open Xcart -> Modules -> Users_online->stats.php Edit line 104 and change Code:
to Code:
Open x-cart -> skin1 -> Modules -> Users_online->stats.tpl (Note, on my site I had to use X-cart ->Skin instead of skin1) Edit line 23 Change it from Code:
Code:
Here is a screen shot: http://mojoimage.com/free-image-hosting-11/3523Screen-Shot-2012-08-06-at-3-26-39-PM.pngFree Image Hosting
__________________
X-Cart Gold 4.6.1 |
|||||||||
#106
|
|||||||||
|
|||||||||
![]() I just installed this update 4.5.2 and it works there also.
The only difference is the section below is in a slightly different location and can be found in: X-Cart/skin/common_files/modules/Users_online/stats.tpl Quote:
I also edited the change to the following: Code:
This cleans it up a bit and puts the "IP: " on it's own line, and the Trace Location link is dropped and the IP is clickable instead. http://backwoodstattoos.com/images/P/ip.png
__________________
X-Cart Gold Plus 4.7.10 |
|||||||||
|
#107
|
|||||||
|
|||||||
![]() Will this still work on 4.5.4? Do I just need to do what is in posts 105 and 106? Sometimes these old threads where people add on to and modify the code are tough to stumble upon later because you don't know how far back you have to start reading.
__________________
X-Cart 4.5.4 Gold (Live Business Site) X-Cart 5.1.9 Business (In Development Now) |
|||||||
#108
|
|||||||
|
|||||||
![]() It's not working on my 4.5.5 dev site. {$v.session_ip} does not have a value. It's on my list to look at but may be above my pay grade
![]()
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best |
|||||||
#109
|
|||||||
|
|||||||
![]() For 4.5.5 (not tested in other versions)
I used the Smarty function {$smarty.server.REMOTE_ADDR} so I don't need to make any changes to postauth.php or stats.php anymore. In store/skin/common_files/modules/Users_online/stats.tpl Change From: Quote:
Quote:
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best |
|||||||
|
#110
|
|||||||||
|
|||||||||
![]() I use IP2Location service, and when I make the change suggested,
Code:
changed to Code:
it always shows MY ip address, instead of the user's IP address. Am I missing something?
__________________
Jack@AquasanaCA X-CART GOLD 4.0.19 Live DSEFU, AOM, ezCheckout, ezUpsell, ezRecommends, RememberMe, RememberAnonCarts AquasanaCanada.com - Aquasana╝ - #1 Rated Water Filters in America! X-CART GOLD 4.4.5 Live CDSEO Pro v. 1.8.4 AquasanaMontreal.com Aquasana╝ & Rhino Water Filtration Systems |
|||||||||
|
|||
X-Cart forums © 2001-2020
|