Uridium Posted October 28, 2008 Posted October 28, 2008 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., Quote
Colonel Posted October 28, 2008 Posted October 28, 2008 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. Quote
toufail Posted October 28, 2008 Posted October 28, 2008 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 Quote
toufail Posted October 28, 2008 Posted October 28, 2008 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 Quote
jds137 Posted October 29, 2008 Posted October 29, 2008 Re: mccodes V2] Upgrade IPFINDER original Script by Magicaltallguy Works just fine for my site. A+ Quote
Uridium Posted October 29, 2008 Author Posted October 29, 2008 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.. Quote
HITMAN 17 Posted November 2, 2008 Posted November 2, 2008 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 Quote
Uridium Posted November 2, 2008 Author Posted November 2, 2008 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 Quote
Uridium Posted November 2, 2008 Author Posted November 2, 2008 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. SQLS Quote
HITMAN 17 Posted November 2, 2008 Posted November 2, 2008 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. Quote
Karlos Posted November 2, 2008 Posted November 2, 2008 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 :) Quote
Magictallguy Posted January 30, 2009 Posted January 30, 2009 Re: mccodes V2] Upgrade IPFINDER original Script by Magicaltallguy You do know I have already attempted "clickable names" - it didn't work for me.. Quote
adivirus Posted January 31, 2009 Posted January 31, 2009 Re: mccodes V2] Upgrade IPFINDER original Script by Magicaltallguy so.. finnaly how can we fix this? You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thanks Quote
Magictallguy Posted February 1, 2009 Posted February 1, 2009 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. Quote
AlabamaHit Posted February 2, 2009 Posted February 2, 2009 Re: mccodes V2] Upgrade IPFINDER original Script by Magicaltallguy I noticed that this works as well.. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
gurpreet Posted September 13, 2011 Posted September 13, 2011 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); Quote
sniko Posted September 13, 2011 Posted September 13, 2011 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. Quote
gurpreet Posted September 13, 2011 Posted September 13, 2011 (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 September 14, 2011 by gurpreet 1 Quote
rulerofzu Posted September 15, 2011 Posted September 15, 2011 The only place user_level is stated is in the access checking at the top of the script. Quote
gurpreet Posted September 15, 2011 Posted September 15, 2011 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 Quote
Smokey Posted September 25, 2011 Posted September 25, 2011 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. Quote
Magictallguy Posted March 5, 2013 Posted March 5, 2013 Wow, I'm looking back at my old codes and wondering to myself: What the hell was I doing?! xD I may recode this shortly Quote
Danny696 Posted March 5, 2013 Posted March 5, 2013 Wow, I'm looking back at my old codes and wondering to myself: What the hell was I doing?! xD I may recode this shortly All that damn SPRINTF! Quote
Magictallguy Posted March 5, 2013 Posted March 5, 2013 All that damn SPRINTF! Hahaha, I still use it, just not as excessively. Definitely my favourite string function Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.