Jump to content
MakeWebGames

Recommended Posts

Posted

Just an update on MagicalTallGuys script which allowed you to view Multiple IPS.

Ive slightly added to it no much but now you can see the username of the IP's for current Users as before it was just an ID of the person.

Usernames are also clickable to view profiles

call this ipfinder.php

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

 

If you have the details.php file included on your site then just change the viewuser.php to details.php and that will bring up more info on that person.,

Posted

Re: mccodes V2] Upgrade IPFINDER original Script by Magicaltallguy

When you update the status I get this error...

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Here is the line it is referring to...

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Posted

Re: mccodes V2] Upgrade IPFINDER original Script by Magicaltallguy

why not change your detail.php to viewuser.php cause some of us are using viewuser.php for other other scripts as well

Posted

Re: mccodes V2] Upgrade IPFINDER original Script by Magicaltallguy

i have a problem aswell

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/******/public_html/ipfinder.php on line 47

Posted

Re: mccodes V2] Upgrade IPFINDER original Script by Magicaltallguy

 

When you update the status I get this error...

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Here is the line it is referring to...

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

I am also getting that Error just after you make a comment on someones IP as I havent touched the Remainder of the ipfinders script and only added the section username and click I cant comment on why its doing that but i'll have a play and see what i can come up with..

Posted

Re: mccodes V2] Upgrade IPFINDER original Script by Magicaltallguy

ok i need to test this out and im using v1 in admin panel so what would the link be and the sql also i have not got no errors yet

Posted

Re: mccodes V2] Upgrade IPFINDER original Script by Magicaltallguy

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Updated Script should work fine now

Posted

Re: mccodes V2] Upgrade IPFINDER original Script by Magicaltallguy

ok cheers illusions but i get one more error which is

What do you think your doing? An Invalid entry has been made.

Please contact GameOwner [1] if this error persists.

Posted

Re: mccodes V2] Upgrade IPFINDER original Script by Magicaltallguy

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

I Put viweuser instead of deatils and it works fine :)

  • 2 months later...
Posted

Re: mccodes V2] Upgrade IPFINDER original Script by Magicaltallguy

That will only show while using my "IP Finder".

And the problem is not with my "IP Finder" - it's your global_func.php

Find (near the bottom):

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

And change to:

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

  • 2 years later...
Posted

Sorry to bump an old thread, but I can't get this to work now. I get this error:

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\ipfinder.php on line 42

Lines 40-42:

$ipcheck = sprintf("SELECT * FROM ipfinder WHERE (ip = '%s')", $z['lastip']);

$doipcheck = mysql_query($ipcheck);

$ip = mysql_fetch_array($doipcheck);

Posted
Sorry to bump an old thread, but I can't get this to work now. I get this error:

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\ipfinder.php on line 42

Lines 40-42:

$ipcheck = sprintf("SELECT * FROM ipfinder WHERE (ip = '%s')", $z['lastip']);

$doipcheck = mysql_query($ipcheck);

$ip = mysql_fetch_array($doipcheck);

Replace with;

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

It will tell you more on the error, therefore, you will be able to fix it. If, after doing that, and you have trouble, either PM me or reply.

Posted (edited)

Unknown column 'user_level' in 'where clause'

I'm guessing it's because the user level check at the top hasn't been loaded by an sql query? I attempted to fix it but couldn't, I must be missing something simple

Edit: After staring at this for ages, I still can't see whats wrong.. I've taken out all of the user_level's from this file, and it still comes up with that. It's not even being called in the file and it gives me that error ? WTF?

Edit 2: When I view the source, the rest of the page comes up (ie. Needs checking, IP's etc) but on the normal view of the page it cuts off. Not sure what to do here

Edited by gurpreet
  • Like 1
Posted
The only place user_level is stated is in the access checking at the top of the script.

That's the problem, even when I remove that the error still occurs. There are no errors on any other pages related to this so I have no idea

  • 2 weeks later...
Posted
Sorry to bump an old thread, but I can't get this to work now. I get this error:

Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\ipfinder.php on line 42

Lines 40-42:

$ipcheck = sprintf("SELECT * FROM ipfinder WHERE (ip = '%s')", $z['lastip']);

$doipcheck = mysql_query($ipcheck);

$ip = mysql_fetch_array($doipcheck);

I had this same error but i didnt add the SQL, after I did it worked just fine.

  • 1 year later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...