| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Show debug console for certain IP's only | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
Re: Show debug console for certain IP's only
Quote:
Not really the solution you're looking for, but you could always modify the IP number in the file each time your IP number at your house changes. To find your IP number go to http://www.whatismyip.com and then just slap that in the code. Great addition to the code Steve. This should be something X-Cart takes and expands for an incremental release. Nice work!
__________________
Conor Treacy - Big Red SEO - @bigredseo Search Engine Optimization & Internet Marketing - We Bring Your Website Out Of Hiding! If you can't be found on Google, Bing or Yahoo, you pretty much don't exist on the Internet. Omaha SEO Office with National & Local SEO Services Hourly Consulting - great for SEO Disaster Recovery, Audits and DIY Guidance |
|||||||||
|
#12
|
|||||||||
|
|||||||||
Re: Show debug console for certain IP's only
You can improve it creating an input box in Admin for IP address.
Let's say you have dynamic IP. Find it using a whatismyip script on many websites. Then login in your administrator account and put the IP address into input box. Save, and enable Webmaster Mode. Only you should see the Debug Console in Frontend.
__________________
X-Cart Next: Business 5.2 (learning and testing) X-Cart Classic: Gold and Gold Plus 4.7 Lots of Modules and Customizations OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions) You can catch my ideas here: http://ideas.x-cart.com |
|||||||||
#13
|
|||||||||
|
|||||||||
Re: Show debug console for certain IP's only
Is there an update for v4.4.3 to disable Webmaster console in frontend based on user name (e.g. only admin) not IP's?
__________________
X-Cart Next: Business 5.2 (learning and testing) X-Cart Classic: Gold and Gold Plus 4.7 Lots of Modules and Customizations OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions) You can catch my ideas here: http://ideas.x-cart.com |
|||||||||
#14
|
|||||||||
|
|||||||||
Re: Show debug console for certain IP's only
This should be available by default in all X-Cart versions. The script could be improved in this way. When the Admin chooses to use the Webmaster console, automatically the script gets his IP address. Based on this IP address, the script will be show the console only to it. This elegant way solve the problem with dynamic IP's.
__________________
X-Cart Next: Business 5.2 (learning and testing) X-Cart Classic: Gold and Gold Plus 4.7 Lots of Modules and Customizations OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions) You can catch my ideas here: http://ideas.x-cart.com |
|||||||||
#15
|
|||||||||
|
|||||||||
Re: Show debug console for certain IP's only
The mod in this thread does not apply to Webmaster mode - it applies to the debug console.
---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold (CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module) |
|||||||||
|
|||
X-Cart forums © 2001-2020
|