Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Logging IP numbers

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 08-27-2003, 04:43 AM
 
snorocket snorocket is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 403
 

Default IP Logging & Banning

This feature needs to be included in all future versions of xcart, in addition to viewing the IP details in the admin panel we need the ability to Ban any logged IP address and be able to manually enter an IP to Ban from our stores. We have already installed an IP Ban script but this is something that needs to be included in the core of x-cart, we have too many people playing games making ordes so the IP Address Tool /Banning Ability would be prevent this kind of activity.
Reply With Quote
  #12  
Old 09-06-2003, 08:01 AM
 
snorocket snorocket is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 403
 

Default Log IP upon Newsletter signup

Log IP upon Newsletter signup, am i blind?
Reply With Quote
  #13  
Old 09-17-2003, 09:52 AM
 
ajaycg ajaycg is offline
 

Newbie
  
Join Date: Jan 2003
Posts: 8
 

Default No, But I am?

Hey Snorocket, where is the Log IP upon Newsletter signup setting...

CHeers

Aj
Reply With Quote
  #14  
Old 09-18-2003, 12:48 AM
 
mcopeland mcopeland is offline
 

Advanced Member
  
Join Date: Apr 2003
Location: Paris, France
Posts: 40
 

Default Invalid SQL: Unknown column IP

Upon applying code available here to Log IP Addresses, the following MySQL error appears briefly, then takes me to PayPal payment pages:

http://www.casestudy.buyhiphop.com/xcart_error.gif

Anyone know cause/fix for this?

Thanks,

M. Copeland
Reply With Quote
  #15  
Old 09-25-2003, 12:49 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default Re: Invalid SQL: Unknown column IP

Quote:
Originally Posted by mcopeland
Upon applying code available here to Log IP Addresses, the following MySQL error appears briefly, then takes me to PayPal payment pages:

http://www.casestudy.buyhiphop.com/xcart_error.gif

Anyone know cause/fix for this?

Thanks,

M. Copeland

login to the admin->Patch/Upgrade and apply this SQL:

Code:
ALTER TABLE `xcart_orders` ADD `ip` VARCHAR( 64 ) NOT NULL ;

Should do the trick
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #16  
Old 09-25-2003, 01:07 PM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

Quote:
Originally Posted by Blind Freddy
Detection of geographical location of a user by the IP number of their ISP connection is now possible.

Have a look at www.geobytes.com


Now that's smart Expensive but smart. Great way to automatically show the correct currency on shops and shipping
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
  #17  
Old 03-03-2004, 06:28 PM
 
NuAlpha NuAlpha is offline
 

X-Adept
  
Join Date: Aug 2003
Location: US
Posts: 598
 

Default

Quote:
Edit [skin1]/admin/history_order.tpl add the following where ever you want the IP of the order displayed, I put mine under the email.

I can't figure out where to put this in 3.5.4.
__________________
X-Cart Pro 4.5.5 Platinum
X-Payments 1.0.6
PHP 5.3.14
MySQL 5.1.68
Apache 2.2.23
Reply With Quote
  #18  
Old 03-06-2004, 02:59 PM
 
Sembroidery Sembroidery is offline
 

eXpert
  
Join Date: Oct 2003
Posts: 332
 

Default

In v.3.5.3 the code to change is not in skin1/admin/history_order.tpl BUT in skin1/main/order_info.tpl.

My guess is that in 3.5.4 should be the same
__________________
X-Cart 4.7.12 Live
OS: Linux
Reply With Quote
  #19  
Old 04-27-2004, 07:30 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Quote:
Originally Posted by Sembroidery
In v.3.5.3 the code to change is not in skin1/admin/history_order.tpl BUT in skin1/main/order_info.tpl.

Original post updated, along with correct VARCHAR(15) instead of (64).
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #20  
Old 04-27-2004, 07:35 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Also I would add this to customer/main/checkout.tpl, find:

Code:
<p align=center> {if $js_enabled} {include file="buttons/submit_order.tpl" style="button"} {else} {include file="submit_wo_js.tpl" value=$lng.lbl_submit_order} {/if}

And add the following after it:

Code:
Your IP address {$smarty.server.REMOTE_ADDR} is logged for security reasons.

This way it will detour any potential fraudulent customers.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:42 AM.

   

 
X-Cart forums © 2001-2020