| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Private Debug Console | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Heres a mod i use all the time so that when im using the debug console its not shown to anyone else but me.
Its done on 4.1.x but you could adjust to work with other versions too. It basically compares your IP address with an IP address that you set in config WARNING : If you like to use webmaster mode etc this will probably not help and may well break it. Only use this if you know what your doing I add the following to the database ADD YOUR IP IN PLACE OF ##.##.##.## in this sql command Code:
then edit the /init.php file as follows .... find ..... Code:
Code:
I usually edit the way the debug console looks too by editing /smarty.php find ... Code:
Code:
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#2
|
|||||||
|
|||||||
![]() Does anybody know how to do this in X-Cart version 4.0.19?
__________________
Thanks, DoctorEspresso.com X-Cart version 4.0.19 |
|||||||
#3
|
|||||||||
|
|||||||||
![]() its not gonna be far off from how this works.
if you follow the notes and refer to your own version you should be able to suss it
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#4
|
|||||||
|
|||||||
![]() Thanks for the reply shan, I found another post with a simple wrap around the debug tpl's.
__________________
Thanks, DoctorEspresso.com X-Cart version 4.0.19 |
|||||||
#5
|
|||||||
|
|||||||
![]() Very useful mod, you can use the following code to get your IP address...
In skin1/single/home.tpl Before </html> insert... Code:
__________________
xcartmods.co.uk |
|||||||
|
|||
X-Cart forums © 2001-2020
|