Uridium Posted February 28, 2009 Posted February 28, 2009 This will allow USers to search the forums for particular words from posts Its basic but i'll add to it as i go along. call this file searchforums.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. and call this one searchforumname.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Add a link in your forums.php file pointing to searchforums.php and your done.......... EDIT Redid posts so you can go straight to the Forum topic from which it was posted..... Quote
Eternal Posted February 28, 2009 Posted February 28, 2009 Re: [MCCODES V2] Search Forums by Name will add more as i go along [WORKING] What if you add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. in the forums page so you could easily type in what you want from there. :) Quote
Uridium Posted February 28, 2009 Author Posted February 28, 2009 Re: [MCCODES V2] Search Forums by Name will add more as i go along [WORKING] What if you add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. in the forums page so you could easily type in what you want from there. :) yes that can be done aswell wasnt sure where people wanted to add this so it kinda made sense just to do it as a whole.. Quote
Uridium Posted February 28, 2009 Author Posted February 28, 2009 Re: [MCCODES V2] Search Forums by Name will add more as i go along [WORKING] UPDATE this will stop users from entering one letter words open searchforumname.php and after the include "globals.php"; add You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Ive set it to 4 which is about adequate but if you want to change it then go ahead :) Quote
Haunted Dawg Posted February 28, 2009 Posted February 28, 2009 Re: [MCCODES V2] Search Forums by Name will add more as i go along [WORKING] That wont help. Word: search it will pass through. Quote
Uridium Posted February 28, 2009 Author Posted February 28, 2009 Re: [MCCODES V2] Search Forums by Name will add more as i go along [WORKING] Tried and tested and works fine search for lwords with less than 4 letters gives the error words of 4 or more letters will allow user to view found results :) Quote
Haunted Dawg Posted February 28, 2009 Posted February 28, 2009 Re: [MCCODES V2] Search Forums by Name will add more as i go along [WORKING] I asked illusion's if i could re do this. As the other one was vulnerable to attack's. With this one you can either decide to allow two words must be inputed or not by simply editing a number. Also, when you search, the word you searched for becomes bold. Enjoy. Call this file what ever you like. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Just edit the $two_strings_force = 1 if you want them to put in 2 or more words. Uupdated Quote
Uridium Posted February 28, 2009 Author Posted February 28, 2009 Re: [MCCODES V2] Search Forums by Name will add more as i go along [WORKING] Update to Haunted_Dawgs script You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Now allows for single word finding and also restricted to 4 letters or more... 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.