Raised This Month: $ Target: $400
 0% 

[Help] IP-s


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-18-2014 , 19:17   Re: [Help] IP-s
Reply With Quote #1

While I agree with Black Rose, I'll give you some advice that you need to know for scripting in general.

Saying "it doesn't work" rarely helps. You have to explain what about it doesn't work. That being said, you need to learn to debug your plugins to find out which part of the plugin is not working. If neither outcome is occurring then your plugin is not running (this is why you have to tell us exactly what is happening instead of saying "it doesn't work").

Once you know if the plugin is running and the function is being called, you should verify the data that you are trying to check. In this case, you need to find out what IP is actually being obtained by get_user_ip().

These are some steps that you should get used to doing (it's called debugging).
__________________
fysiks is offline
Reply



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode