1
wrtbooks
Search queries? for xoops search in an IE TOOLBAR
  • 2003/12/28 6:10

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


Hi Greg, I've tried to search from the website but it doesn't let me. There
must be an option in the PHP script to accept a query from the address bar.

From the form you have, this is what is required (but doesn't work):

http://www.sermonindex.net/search.php?results=action&query=[SEARCH]

The toolbar always replaces [SEARCH] with the keywords in the search box.

Please let me know if you can set the script so that it can search from the
browser's address bar.
-----------------------------

can anyone help.. I am trying to make an IE Toolbar and have the search box access the XOOPS search function on my site http://www.sermonindex.net

2
recupsoft
Re: Search queries? for xoops search in an IE TOOLBAR
  • 2003/12/28 12:52

  • recupsoft

  • Friend of XOOPS

  • Posts: 151

  • Since: 2003/10/30


You write : "I am trying to make an IE Toolbar"
How ? Wich soft ?

3
wrtbooks
Re: Search queries? for xoops search in an IE TOOLBAR
  • 2003/12/29 19:07

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


Quote:
How ? Wich soft ?

the website is: http://www.myowntoolbar.com it looks like a cheesy site, but the product is very solid and simple to use. still need help on that query thing any ideas anyone?

4
wrtbooks
Re: Search queries? for xoops search in an IE TOOLBAR
  • 2003/12/30 6:58

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


Quote:
http://www.sermonindex.net/search.php?results=action&query=[SEARCH]

The toolbar always replaces [SEARCH] with the keywords in the search box.

Does anyone have ideas on how I could get this to work? I need to basically be able to type a url in the browser window and get it to search the XOOPS site like:

http://www.sermonindex.net/search.php/search?q=anything

any ideas?

5
wrtbooks
Re: Search queries? for xoops search in an IE TOOLBAR
  • 2003/12/30 6:59

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


Quote:
btw- all that does is load the search.php page but its blank and doesn't search the term. hmmm

6
wrtbooks
Re: Search queries? for xoops search in an IE TOOLBAR
  • 2003/12/30 20:57

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


wow this is kinda driving me nuts.. I am trying out so many possibilites, can anyone help before a fellow XOOPS user goes insane. lol

7
wrtbooks
Re: Search queries? for xoops search in an IE TOOLBAR
  • 2003/12/30 23:21

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


I thought this conversation might help out more..
---------------------------------------------

sermonindex: hey!!
martyjjf1990: hello!
sermonindex: have a quick question...
martyjjf1990: shoot
sermonindex: I have this toolbar software that makes an ie toolbar for a website.. it has a search box that I can customize with a search query code like: http://www.google.com/search?q=[SEARCH]
sermonindex: if you cut and paste it all in the broswer address bar it will query the search at google
sermonindex: now the question is how do I make something similar query the http://www.sermonindex.net/search.php
sermonindex: I tryed alot of things.. I have not to much of an idea with php
martyjjf1990: Are you referring to a google search like this? http://www.web-ministry.com/home/ You have to scroll down to see it.
sermonindex: no I want to query this search page: http://www.sermonindex.net/search.php
sermonindex: how would I write it out so if I cut and pasted it in the address bar window it would work?
sermonindex: did you kinda get what I mean?
martyjjf1990: form action="post"
martyjjf1990: next
sermonindex: how would I type that in the url?
martyjjf1990: http://www.freejesus.net/arabic_bible/quran.php?name=Quran&file=index&action=search
martyjjf1990: The ? after the url is the start
martyjjf1990: would have to add &search=jesus for example
martyjjf1990: &search=$searchword
martyjjf1990: &search=" . $searchword;
martyjjf1990: form action="post" ACTION="$destination_url?search=' . $searchword' "
martyjjf1990: something like that
martyjjf1990: $destination_url = "http://www.sermonindex.net/search.php";
sermonindex: I want to be able to just put the link in the address bar and have it query the search.php
sermonindex: http://www.sermonindex.net/search.php?&action=search
sermonindex: but that doesnt do it
sermonindex: it loads just blank
sermonindex: http://www.sermonindex.net/search.php/search?q=[SEARCH]
sermonindex: same with that one
sermonindex: I have tryed so many possibilities
sermonindex: sermonindex: do you know about querys?
sermonindex: http://www.google.com/search?q=[SEARCH]

sermonindex: I want to make one for http://www.sermonindex.net/search.php
PjL guy: that's about all i know about them
sermonindex: not sure how do it
sermonindex: it always loads blank
PjL guy: A search works
PjL guy: u mean, included in the URL?
sermonindex: yes!!
martyjjf1990: testing here, still doesn't work http://www.sermonindex.net/search.php?action=results&query=jesus&submit=Search&andor=AND
sermonindex: yea
sermonindex: lol
sermonindex: there has to be someway brother
martyjjf1990: The coding will have to be hacked
martyjjf1990: The code that validates the input won't accept it unless it comes from within the page itself.
martyjjf1990: The code that validates the input ignores the url line
sermonindex: hmmm
martyjjf1990: http://www.sermonindex.net/search.php?action=results&query=jesus&submit=Search&andor=OR
martyjjf1990: http://www.sermonindex.net/search.php?action=results&query=jesus&submit=Search&andor=AND
sermonindex: not working
martyjjf1990: doesn't change the Type of search
martyjjf1990: &andor=OR or &andor=AND doesn't effect the form
sermonindex: search for something and the url doesnt change
sermonindex: hmm
sermonindex: http://www.sermonindex.net/search.php
martyjjf1990: And if something is on the url it doesn't affect the form
sermonindex: what about the home page
sermonindex: http://www.sermonindex.net
sermonindex: there is a search box there I wonder if that will work?
martyjjf1990: same thing
martyjjf1990: What version of XOOPS are you running?
sermonindex: 1.3.x

8
Chado
Re: Search queries? for xoops search in an IE TOOLBAR
  • 2003/12/31 1:59

  • Chado

  • Not too shy to talk

  • Posts: 113

  • Since: 2003/6/6 7


Thought I had some ideas for you and just tested it on your site and then realized you are running XOOPS 1.3 Oh well.
With 2.x you may be able to do something like this:
https://xoops.org/search.php?query=jesus&mid=7&action=showall&andor=AND

I don't have 1.3, so I really don't know about that - it looks like it was set up a different way back then.
Chad

9
wrtbooks
Re: Search queries? for xoops search in an IE TOOLBAR
  • 2003/12/31 3:05

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


Quote:
I don't have 1.3, so I really don't know about that - it looks like it was set up a different way back then.

Hey Chad, wow this is progress thanks.. hmm it must be possible in XOOPS 1.3.x anyone have any ideas?

10
wrtbooks
Re: Search queries? for xoops search in an IE TOOLBAR
  • 2003/12/31 22:25

  • wrtbooks

  • Just popping in

  • Posts: 77

  • Since: 2003/3/8 1


I still need to find a solution for this.. xoopster where are you when I need you .. lol

Login

Who's Online

343 user(s) are online (298 user(s) are browsing Support Forums)


Members: 0


Guests: 343


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits