Jump to content
MakeWebGames

[MCCODES V2] Search Forums by Name will add more as i go along [WORKING]


Recommended Posts

Posted

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.....

Posted

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.

:)

Posted

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..

Posted

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 :)

Posted

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 :)

Posted

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

Posted

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...

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...