Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

<<New Plug In>> Multiple Search and remote search Plug in

Quote Reply
<<New Plug In>> Multiple Search and remote search Plug in
Hello
This plug in was developed for us by a vendor and since it had such an enormous effect on our site we decided that other user might find it useful (see Alexa).
It carries two main plug ins functions:
  1. Multiple search engines box drop box: ability to add several search engines information (Url, term, other parameter and priority) to a database then present a drop down menu to the users on any of your pages so they can choose to search your forum, Google, directory or any other database you might have. By adding one or more other search url, and inlcuding the <%include include_other_search_engine_bar.html%> at suitable posision in the category.html template, the other search engine box will be displayed in any catgory pages. the include_other_search_engine_bar.html can be used as an alternative for include_search_bar.html. see our site for examples (http://www.2muslims.com)
  2. A remote search CGI script to offer your users where they can add a customizable search engine to their site using your database with them controlling the whole look EXCEPT a copyright note that you can control from the admin panel. (see a sample here: http://2muslims.com/...etailed/225679.shtml)


Both feature are easy to customize and use and they will enable your site to be easier to navigate, and easier and more rewarding to link to.
The Price: Send $25 through PayPal to akattih@yahoo.com. we are working on adding it to the GT plug in area as well.
Support

Since we did not create this plug in you are agreeing to buy it AS IS with no support of any kind.


Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory

Last edited by:

katabd: Jun 29, 2004, 6:46 AM
Quote Reply
Re: [katabd] <<New Plug In>> Multiple Search and remote search Plug in In reply to
Hello KaTaBd,

I have a problem with the installation of script.

I have the message:

------------------
Links SQL reference the message :

Unable to load plugin SearchNRemoteSearch Reason: No Install.pm file found in tar!

And :

Unknown Version Unknown Author
-----------------

An idea?

Thank you.
Mick
Quote Reply
Re: [mick31] <<New Plug In>> Multiple Search and remote search Plug in In reply to
It might be a corrupted TAR file..
I will pm you a new one..
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] <<New Plug In>> Multiple Search and remote search Plug in In reply to
   
Thank you, your file is good.

I have two questions.

1/ How the tag category is built ?

It adds a character of space which is visible on the page of results.
I sought a long time and I did not find.

Category1&nbsp;> Category2&nbsp;> Category3&nbsp;> Category4&nbsp

2/ I thought that the line "## $$mh>| = 20;" in "sub build_tools_bar" could limit the bar of the numbers.

There would be a solution to limit the number to 15 for example ?

Currently I have:
Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 [>>]

I would like:
Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ... [>>]


Thank you for your answer.

Mick
Quote Reply
Re: [mick31] <<New Plug In>> Multiple Search and remote search Plug in In reply to
I found a solution for :

"## $$mh>| = 20;"
"## $$mh>| = 60;"

But, there is still a problem. It is also on your site...

The bar of navigation on the first page of result, it twice gives the first page of result.

On the first page of result :

1 2 3 4 [>>]

1 (It should not be related to the page.)

[>>] == 1 (It should be 2.)

The code must be modified to give the link :
/remote_search.cgi?query=term&nh=2

and not :
/remote_search.cgi?query=term&nh=1

It seems to be a bug.

If you have an idea ?

Mick
Quote Reply
Re: [mick31] <<New Plug In>> Multiple Search and remote search Plug in In reply to
Hello

Thanks for the questions..
I did not write the plug in...and I really do not know much about the way it works..
I have contacted the programmer and I hope to hear from him soon.
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [mick31] <<New Plug In>> Multiple Search and remote search Plug in In reply to
Hi

Just PMed a new file that should fix that problem.
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] <<New Plug In>> Multiple Search and remote search Plug in In reply to
Hello Katabd,

1/ For me the bug is always !

On the first page of result (for search_results.html) : 1 2 3 4 [>>]

For you too. Page 1 + [>>] is repeated !
http://2muslims.com/...amp;email=Your+email



2/ There is another problem with script.

The use of Tag <%Plugins::SearchNRemoteSearch::GetMultiSearches%> is not correct in include_other_search_engine_bar.html.

On your site, the Tag gives (???) for <OPTION value=... :
----------------------------
<FORM action=http://your-site.com/cgi-bin/links/jump.cgi method=post>
<INPUT class=button onclick="if (this.value == 'Search Term') this.value = ''; "value="Search Term" name="query">
<SELECT size=1 name=URL>
<OPTION value=1 selected>Your-site</OPTION>
<OPTION value=2>The ...</OPTION>
<OPTION value=3>The ...</OPTION>
<OPTION value=4>... Library</OPTION>
<OPTION value=5>...com Web</OPTION>
<OPTION value=6>The Internet</OPTION>
<OPTION value=8>... Forum</OPTION>

</SELECT>
<INPUT class=button type=submit value=Search!>
</FORM>
-----------------------------

This use is correct. It uses the data directly in the base.


For me the use of Tag gives for <OPTION value=... in include_other_search_engine_bar.html :

-----------------------------
<FORM action=http://my-site.com/cgi-bin/links/jump.cgi method=post>
<INPUT type=hidden value=1 name=d>
Search <INPUT size=12 value=Keywords name=query>
<SELECT size=1 name=URL>
<OPTION value="" selected>--- search this category ---</OPTION>
<OPTION value=http://www.my-site.com/search.php4?n>Rechercher</OPTION>
<OPTION value=http://www.google.com/search?q=>Google</OPTION>

</SELECT>
<INPUT type=submit value="Search !">
</FORM>
--------------------------------------------

<OPTION value=... should be : 1 or 2 or 3 ...

It does not make it possible to use the field "The parameter name for keyword".

It translates the data badly :

<OPTION value="" selected>--- search this category ---</OPTION>
<OPTION value=http://www.my-site.com/search.php4?n>Rechercher</OPTION>
<OPTION value=http://www.google.com/search?q=>Google</OPTION>


It is perhaps possible to build directly in the file (include_other_search_engine_bar.html) ?

But, script does not have any more interest ! Pirate

You have an idea ?

Thank you
Mick

Last edited by:

mick31: Jul 5, 2004, 6:47 AM
Quote Reply
Re: [katabd] <<New Plug In>> Multiple Search and remote search Plug in In reply to
please can you check your emails and/or your PM
Quote Reply
Re: [eljot] <<New Plug In>> Multiple Search and remote search Plug in In reply to
Just did and PMed you.
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] <<New Plug In>> Multiple Search and remote search Plug in In reply to
Version 1.2 is out...
ONly one add on per a users request..
Ability to pass multiple parameters to the search database.
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] <<New Plug In>> Multiple Search and remote search Plug in In reply to
Hi KaTaBd

[ 1 ]
I've installed the plugin but have a couple of problems with release 1.0 and also with the latest 1.2
This is what I have added in Search Engine Editors:
Name of the search engine - Articles
Full URL to the search - http://www.mysite.com/perl/directory/search.cgi
The parameter name for keyword - query
Other parameters for the search - t=articles&catid=3662

If the above is used the resulting URL is:
http://www.mysite.com/perl/directory/search.cgi?query=keyword&

It cuts off everything after the keyword&.

If I add ? to http://www.mysite.com/perl/directory/search.cgi?
Like this
Full URL to the search - http://www.mysite.com/perl/directory/search.cgi?

It comes up with 2 x ?? like
http://www.mysite.com/perl/directory/search.cgi??query=keyword&t=articles&catid=3662
Which shows no results.

How can I get rid of the 2 x ??

[ 2 ]
Also is this correct as per the GTForum post ?
<INPUT class=button onclick="if (this.value == 'Search Term') this.value = ''; "value="Search Term" name="query">
Or is this correct as per the template ?<input type="text" size=12 name="query" value="<%if category_short%><%category_short%><%else%>Keywords<%endif%>">

Regards

minesite
Quote Reply
Re: [minesite] <<New Plug In>> Multiple Search and remote search Plug in In reply to
Hi

I have just tried your information on my site and it worked fine..
Will it be possible to send your log in information and I will take a look.

As far as two goes:

I am using the following:

<input type="text" size=20 name="query" <%if query%>value="<%query%>"<%else%> value='Search Term' onClick="if (this.value == 'Search Term') this.value = '';"<%endif%>">
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] <<New Plug In>> Multiple Search and remote search Plug in In reply to
Hi KaTaBd


Uninstalled and then re installed the latest plugin, changed the input type and all is working OK.
But I can't seem to integrate the "Search this Category", trying to pass the CatID is the problem.

Any suggestions ?

Regards

minesite

Last edited by:

minesite: Jul 21, 2004, 8:58 PM
Quote Reply
Re: [minesite] <<New Plug In>> Multiple Search and remote search Plug in In reply to
Hello

I am glad it worked.

The search this category option is not possible to be integrated through the search form because of the way the search is generated (database based addresses).

When we ordered the plug in we had either to pick up the remote searching cababilities (amazon and google) or the on Domain search ..

Thanks again. and I hope you like it so far.
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] <<New Plug In>> Multiple Search and remote search Plug in In reply to
Hi katabd

Its not a big problem, I can understand why its been done and I can work around it.

Thanks.

Regards

minesite
Quote Reply
Re: [minesite] <<New Plug In>> Multiple Search and remote search Plug in In reply to
Thanks.. and good luck
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory