BlueDevil23 Posted December 3, 2008 Share Posted December 3, 2008 Hey all, I've been slowly putting this together, working on it the last few days. :) It basically voids the need for any search feature (search.php) or a Userlist (userlist.php), as it is both, combined in one. Getting late, so I'll get right to it. 3 Files you'll need.... One PHP file, One CSS file, and One JS file. First, the CSS.... save as filtergrid.css You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Second the PHP file.... save as usersearch.php -- technically can be whatever you choose, but thats what I used. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Sine the JS file has so many characters I'll put it in two posts of its own, instead of splitting it up into three, to avoid confusion. Quote Link to comment Share on other sites More sharing options...
BlueDevil23 Posted December 3, 2008 Author Share Posted December 3, 2008 Re: [mccode v2] User Search [Continued...] Save as tablefilter.js You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Same file continued in next post.... Quote Link to comment Share on other sites More sharing options...
BlueDevil23 Posted December 3, 2008 Author Share Posted December 3, 2008 Re: [mccode v2] User Search Add this last bit on to the last file we were making tablefilter.js You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Thats it... lol Many thanks to parelem, for uploading to her game, and allowing me to take screenshots from there, since my game is on WAMP, and with only me and a Bot, it wouldnt of shown much lol... Screenshots: http://i33.tinypic.com/2ztim2w.jpg http://i37.tinypic.com/16hvls3.jpg http://i35.tinypic.com/mn1de9.jpg http://i36.tinypic.com/nva5qq.jpg http://i38.tinypic.com/50mtsj.jpg http://i37.tinypic.com/kb8dl.jpg http://i38.tinypic.com/2yuhhnd.jpg Enjoy :) Quote Link to comment Share on other sites More sharing options...
Savager Posted December 3, 2008 Share Posted December 3, 2008 Re: [mccode v2] User Search very impressive :mrgreen: Quote Link to comment Share on other sites More sharing options...
parelem Posted December 3, 2008 Share Posted December 3, 2008 Re: [mccode v2] User Search very nice blue Quote Link to comment Share on other sites More sharing options...
BlueDevil23 Posted December 3, 2008 Author Share Posted December 3, 2008 Re: [mccode v2] User Search very impressive :mrgreen: very nice blue Thank you Savager and parelem :) Quote Link to comment Share on other sites More sharing options...
AlabamaHit Posted December 3, 2008 Share Posted December 3, 2008 Re: [mccode v2] User Search Very nice work man. :-D Quote Link to comment Share on other sites More sharing options...
Karlos Posted December 3, 2008 Share Posted December 3, 2008 Re: [mccode v2] User Search Hmm..Very Nice, might use it to replace my advanced search....also well coded +1 Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted December 3, 2008 Share Posted December 3, 2008 Re: [mccode v2] User Search wow nice script + 1 Quote Link to comment Share on other sites More sharing options...
redsnake420 Posted December 3, 2008 Share Posted December 3, 2008 Re: [mccode v2] User Search very nice blue great job i know i will be using this +1 Quote Link to comment Share on other sites More sharing options...
BlueDevil23 Posted December 4, 2008 Author Share Posted December 4, 2008 Re: [mccode v2] User Search Thank you all, glad you like it :) Very very small update to the script, to allow the money column to be searched with mathematical operators ( >, <, >= ... etc.) (Only removed the /$ in the money column rows, if you wanna just update your scripts, instead of uploading the new one) updated usersearch.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted December 4, 2008 Share Posted December 4, 2008 Re: [mccode v2] User Search im not trying to be a ass or anything but this could be done with php alone instead of all the js and so forth right? same effect Quote Link to comment Share on other sites More sharing options...
BlueDevil23 Posted December 4, 2008 Author Share Posted December 4, 2008 Re: [mccode v2] User Search im not trying to be a ass or anything but this could be done with php alone instead of all the js and so forth right? same effect To be honest, I'm not sure. Its possible, but I googled it for a bit, and found nothing relative. Possibly not though, as it may require a page refresh, with PHP. Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted December 4, 2008 Share Posted December 4, 2008 Re: [mccode v2] User Search yeah maybe iframe :? Quote Link to comment Share on other sites More sharing options...
jds137 Posted December 4, 2008 Share Posted December 4, 2008 Re: [mccode v2] User Search Ok the php was brought up. Can anyone really do it, or it it alot of hot air being blown around? Quote Link to comment Share on other sites More sharing options...
radio_active Posted December 4, 2008 Share Posted December 4, 2008 Re: [mccode v2] User Search Yeah looks really nice and impressive, good work! Quote Link to comment Share on other sites More sharing options...
Colonel Posted December 6, 2008 Share Posted December 6, 2008 Re: [mccode v2] User Search Excellent Blue!! +1 It looks and works very nice on my game!! Quote Link to comment Share on other sites More sharing options...
BlueDevil23 Posted December 6, 2008 Author Share Posted December 6, 2008 Re: [mccode v2] User Search Thank you all, and glad you like it :) Quote Link to comment Share on other sites More sharing options...
Zero-Affect Posted December 6, 2008 Share Posted December 6, 2008 Re: [mccode v2] User Search Thank you all, and glad you like it :) You're welcome, good job + 1 Quote Link to comment Share on other sites More sharing options...
cruz Posted December 31, 2008 Share Posted December 31, 2008 Re: [mccode v2] User Search umm I did everything as told, but the box for searching is not showing up. Basically it just giving me all of the users with no search feature (like the pictures). Quote Link to comment Share on other sites More sharing options...
Colonel Posted December 31, 2008 Share Posted December 31, 2008 Re: [mccode v2] User Search umm I did everything as told, but the box for searching is not showing up. Basically it just giving me all of the users with no search feature (like the pictures). It does not work with Internet Explorer, Try Firefox. Quote Link to comment Share on other sites More sharing options...
cruz Posted December 31, 2008 Share Posted December 31, 2008 Re: [mccode v2] User Search umm I did everything as told, but the box for searching is not showing up. Basically it just giving me all of the users with no search feature (like the pictures). It does not work with Internet Explorer, Try Firefox. Thanks. Nice mod, but my game is not designed around FF. Hey, its only 20% market share. Quote Link to comment Share on other sites More sharing options...
John99 Posted December 31, 2008 Share Posted December 31, 2008 Re: [mccode v2] User Search Yeah looks nice :D Quote Link to comment Share on other sites More sharing options...
BlueDevil23 Posted December 31, 2008 Author Share Posted December 31, 2008 Re: [mccode v2] User Search Thank you all, I was not aware this did not work in IE :\ very sorry about that all... Quote Link to comment Share on other sites More sharing options...
Savager Posted July 2, 2009 Share Posted July 2, 2009 Re: [mccode v2] User Search well time to shorten this mod up a few million lines and do it in AJAX. Quote Link to comment Share on other sites More sharing options...
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.