Announcement

Collapse
No announcement yet.

Search From Web

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Search From Web

    How can I do a search from a URL instead of from the internal search feature? I'd like to create a single link, and put that in the forums so just a click of the link will initiate a search on specific criteria. In addition to this, what are the options available to a external search link such as this. What I am picturing it something like this.

    http://www.vbulletin.com/forum/searc...ic=abcd&age=30

    Or something like that.

    Any ideas?
    -Lyle

  • #2
    Something like this...

    How To Submit A Search Through The URL
    Lats...

    Comment


    • #3
      Thats exactly what I needed! Thanks! Is there someplace that is listed what all the options are for all the different php files? So other functions can be done via URL like this?
      -Lyle

      Comment


      • #4
        I have a updated request on this. I want to specify a phrase to search for. I'm not sure I'm specifying it correctly in the URL. And do I need to have mysql search vs. Vbulletin search or is that relavent?

        Thanks,
        -Lyle

        Comment


        • #5
          bump
          -Lyle

          Comment


          • #6
            Phrase search requires MySQL FULLText.

            There is no documentation on different searches in different php files because there is only 1 kind of search. The thread you were pointed to with Search through URL contains all the parameters.

            Comment


            • #7
              Thanks Feldon!

              So my follow-up question to that is, What is normal procedure in converting from vBulletin Search method to MySql Search? Should the boards be stopped while doing this? Can it be changed back? Anything major that changes from a end-users perspective?

              Thanks,
              -Lyle

              Comment


              • #8
                Just click the link in the AdminCP. It will generate the indices in the background.

                Then you can dump that huge word table.

                Some info about fulltext:
                http://www.vbulletin.com/forum/showthread.php?t=213230
                http://www.vbulletin.com/forum/showthread.php?t=222721
                http://www.vbulletin.com/forum/showthread.php?t=223265
                http://www.vbulletin.com/forum/showt...07#post1330336
                http://www.vbulletin.com/forum/showthread.php?t=224011

                Comment


                • #9
                  So by switching to the mysql search method, I can then define a search like, "Known Issue", and it will find that exact phrase/string? Maybe I need to be clearer, I want it to find the exact string I put in. But all the different ways I've attempted to have it search, ie, "known issue", 'known issue', +known +issue, etc, it never finds the complete string. Am I doing something wrong?

                  Thanks for all the help feldon.
                  -Lyle

                  Comment


                  • #10
                    Phrase searching ala "known issue" requires MySQL FULLTEXT set to Boolean.

                    Comment


                    • #11
                      Originally posted by feldon23 View Post
                      Phrase searching ala "known issue" requires MySQL FULLTEXT set to Boolean.
                      I am on mysql full text now. Is there something else to set to make it 'boolean'?
                      -Lyle

                      Comment


                      • #12
                        This is a Usergroup setting: Can Use Boolean Search
                        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                        Change CKEditor Colors to Match Style (for 4.1.4 and above)

                        Steve Machol Photography


                        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                        Comment


                        • #13
                          Awesome! Thank Steve. It does only bring up the 1 post that I searched for with a specific string.

                          Now I think I've found a bug. After the search is complete, it doens't highlight the entire string. Only 1 of the words. Does this sound like a bug? In the URL, it does show the entire string after the &highlight=.

                          Thoughts?
                          -Lyle

                          Comment

                          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                          Working...
                          X