• 0

Search code


Question

Hi,

I was wondering if someone could help me with a small problem I have at the moment.

I was asked by a friend to create a toolbar for him with the option to search these forums from it.

However I'm not very good with vBulletin boards :D and require a way of doing a search of all the forums from the IE address bar (as in the way Googles bar does it).

If anyone knows how to do this I would be very gratful

Cheers

Link to comment
https://www.neowin.net/forum/topic/22779-search-code/
Share on other sites

6 answers to this question

Recommended Posts

  • 0
  Quote
Origionally posted by Myself in wrong darn thread :o

upon examining the message board search form, I see the form is being submitted using the POST method. The search query value is sent in a field named "query".

You should be able to submit the query value using the POST method in your toolbar application.

If the search page accepted the GET method instead, this would be as appending a search value to https://www.neowin.net/bboard/search.php?query=

BTW... if you do add this search feature. Could you add a drop down to allow us to select between directing the search between the Board and searching "all of NeoWin" (https://www.neowin.net/search.php). BTW... the field on that form is named "searchfor".

I have some Delphi resource sites bookmarked at home, along with Delphi 6. I will try to figure something out when I get home from work.

I haven't done any programming in Delphi since the origional release (aka 1.0)! :D However, I do have Delphi 6 Personal Edition installed at home and have tinkered with it a bit.

Link to comment
https://www.neowin.net/forum/topic/22779-search-code/#findComment-198444
Share on other sites

  • 0

Basically you need to send an HTTP POST command to https://www.neowin.net/bboard/search.php passing the search value to the query parameter. I have complied a list of various examples which explain how to preform this below.

These examples require the TWebBrowser component. It does not appear to be in the Personal edition of Delphi 6. :( (If you have it, it will be available on the Internet toolbar.) It looks very easy to impliment.

These ones do not require the TWebBrowser component. Although they might be a little harder to implement... I think these will work on the Personal Edition, though I have not tested them..

There are some freeware component packs at torry.net that should also do the trick. These components just might be easier to impliment than the second set of examples.

FYI... I found most of this information by searching for "HTTP POST" on various Delphi related sites.

Good luck Vader!

Link to comment
https://www.neowin.net/forum/topic/22779-search-code/#findComment-198811
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Save 15% on the Insta360 Link 2 4K Webcam, now available at the lowest price by Taras Buria Insta360 is known for its high-quality 360-cameras, but the company also offers high-end webcams for those who want to elevate their video calls or streaming. Right now, the Insta360 Link 2 4K webcam is available at a new all-time low price, saving you 15% off the standard MSRP. The Insta360 Link 2 is not your standard 4K webcam. This camera is mounted on a two-axis gimbal that physically pans and tilts to follow you as you move around the room. You can also set boundaries to prevent the camera from capturing certain areas and control it with gestures for a hands-free experience. The camera itself has a large 1/2" 4K sensor that captures more light and details with HDR and low-light mode support. A larger sensor also means a more natural bokeh effect. Built-in microphones support voice focus and voice suppression, and the camera can balance your voice with background music. Other features include additional modes, such as whiteboard mode, DeskView mode, portrait mode, and privacy mode. The latter tilts the camera down after 10 seconds of inactivity (you can also push it down manually). The Insta360 Link 2 is also remotely operated with a dedicated phone app, plus its desktop software lets you adjust features like background, filters, and more. Insta360 Link 2 4K Webcam - $169.99 | 15% off on Amazon US Insta360 Link 2 4K Webcam Tripod Bundle - $195 | 15% off on Amazon US This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • RIP Jonathan Joss aka John Redcorn https://www.nbcnews.com/news/us-news/jonathan-joss-king-hill-voice-actor-killed-san-antonio-shooting-rcna210437
    • This will happen regardless what simply because people are upgrading their gear.
    • Rest in Peace, Loretta.  😢
    • Well, so did Lt. O'Reilly... but, we had to go there. 😂
  • Recent Achievements

    • Week One Done
      Nullun earned a badge
      Week One Done
    • First Post
      sultangris earned a badge
      First Post
    • Reacting Well
      sultangris earned a badge
      Reacting Well
    • First Post
      ClarkB earned a badge
      First Post
    • Week One Done
      Epaminombas earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      160
    2. 2
      ATLien_0
      124
    3. 3
      Xenon
      120
    4. 4
      snowy owl
      109
    5. 5
      +Edouard
      97
  • Tell a friend

    Love Neowin? Tell a friend!