Search Plugins
Moderator: Forum Moderator
Search Plugins
Just something I stumbled upon and thought "Why not?":
Search Plugins are the little search box in the right corner (in IE and FF) which you can usually use to search Google (Or Live Search). You can now use it to search our Schematics (Only by name though).
Steps to add our Search plugin:
IE:
1) Go to http://www.swgcraft.co.uk/dev/home.php
2) Press the arrow pointing downwards to the right of the search box
3) "Add Search Providers"
4) SWGCraft Schematics should be listed, click it and you are now able to search the schematics
FF:
1) Go to http://www.swgcraft.co.uk/dev/home.php
2) Press the icon to the left of the search box
3) An option for adding 'SWGCraft Schematics' should be available, click it and you are now able to search the schematics
-Sobuno
Search Plugins are the little search box in the right corner (in IE and FF) which you can usually use to search Google (Or Live Search). You can now use it to search our Schematics (Only by name though).
Steps to add our Search plugin:
IE:
1) Go to http://www.swgcraft.co.uk/dev/home.php
2) Press the arrow pointing downwards to the right of the search box
3) "Add Search Providers"
4) SWGCraft Schematics should be listed, click it and you are now able to search the schematics
FF:
1) Go to http://www.swgcraft.co.uk/dev/home.php
2) Press the icon to the left of the search box
3) An option for adding 'SWGCraft Schematics' should be available, click it and you are now able to search the schematics
-Sobuno
http://www.swgcraft.co.uk/forums/viewtopic.php?t=229Jhaerel wrote: With that in mind, where is the place to mention missing schematics? I just noticed that Battle Droid and Droideka are not in the list![]()
Re: Search Plugins
You should now be able to search the resources the same way with another search plugin.
Steps to add a Resource Search plugin for your server:
IE:
1) Go to http://www.swgcraft.co.uk/dev/find_resources.php
2) Select your server from the list and press "Find Resources"
3) Press the arrow pointing downwards to the right of the search box
4) "Add Search Providers"
5) SWGCraft Resources - server_name should be listed, click it and you are now able to search the resources for your server
FF:
1) Go to http://www.swgcraft.co.uk/dev/find_resources.php
2) Select your server from the list and press "Find Resources"
3) Press the icon to the left of the search box
3) An option for adding 'SWGCraft Resources - server_name ' should be available, click it and you are now able to search the resources for your server
-Sobuno
Steps to add a Resource Search plugin for your server:
IE:
1) Go to http://www.swgcraft.co.uk/dev/find_resources.php
2) Select your server from the list and press "Find Resources"
3) Press the arrow pointing downwards to the right of the search box
4) "Add Search Providers"
5) SWGCraft Resources - server_name should be listed, click it and you are now able to search the resources for your server
FF:
1) Go to http://www.swgcraft.co.uk/dev/find_resources.php
2) Select your server from the list and press "Find Resources"
3) Press the icon to the left of the search box
3) An option for adding 'SWGCraft Resources - server_name ' should be available, click it and you are now able to search the resources for your server
-Sobuno
Re: Search Plugins
I have a couple bookmarklets also...
For searching resources, change the server number to your server
To use these press the bookmark and enter a term OR highlight a term and press the bookmark
For searching resources, change the server number to your server
For searching Schematicsjavascript:q = %22%22 + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); if (!q) q = prompt(%22Search Term:%22, %22%22); if (q!=null)void(open(%22http://www.swgcraft.co.uk/dev/find_resources.php?class=&server=2&name=%22 + escape(q))); void 0
To make these create a bookmark and put this code in for the address.javascript:q = %22%22 + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); if (!q) q = prompt(%22Search Term:%22, %22%22); if (q!=null)void(open(%22http://www.swgcraft.co.uk/dev/schematics.php?c=%22 + escape(q))); void 0
To use these press the bookmark and enter a term OR highlight a term and press the bookmark
Last edited by Rommel on Thu May 08, 2008 4:02 am, edited 1 time in total.
-
- Forum Moderator
- Posts: 4817
- Joined: Mon May 14, 2007 6:55 am
- Location: Stockholm, SE
- Contact:
Re: Search Plugins
WOW, these are really cool, the bookmarklets are super cool.
I have one question though, but that is for the old schematics search:
I now used the word 'battery' and nothing showed up. Droid batteries are indeed named A Droid Battery and the camp batteries something else. Is it possible to use the search as *theword*, or the regular expression would be .*theword.*, you think?
/Zimoon
I have one question though, but that is for the old schematics search:
I now used the word 'battery' and nothing showed up. Droid batteries are indeed named A Droid Battery and the camp batteries something else. Is it possible to use the search as *theword*, or the regular expression would be .*theword.*, you think?
/Zimoon
Facebook:
Official Save Star Wars Galaxies
Official Save Star Wars Galaxies
Re: Search Plugins
I think you should try it outZimoon wrote:WOW, these are really cool, the bookmarklets are super cool.
I have one question though, but that is for the old schematics search:
I now used the word 'battery' and nothing showed up. Droid batteries are indeed named A Droid Battery and the camp batteries something else. Is it possible to use the search as *theword*, or the regular expression would be .*theword.*, you think?
/Zimoon

*Deed*House*

-
- Forum Moderator
- Posts: 4817
- Joined: Mon May 14, 2007 6:55 am
- Location: Stockholm, SE
- Contact:
Re: Search Plugins
Aha, I had to add the ** myself, I see, cool.Sobuno wrote:I think you should try it outZimoon wrote:WOW, these are really cool, the bookmarklets are super cool.
I have one question though, but that is for the old schematics search:
I now used the word 'battery' and nothing showed up. Droid batteries are indeed named A Droid Battery and the camp batteries something else. Is it possible to use the search as *theword*, or the regular expression would be .*theword.*, you think?
/Zimoon
*Deed*House*
Typing 'bat' in the resource search rendered 13 hits though (Gorath)

/Z
Facebook:
Official Save Star Wars Galaxies
Official Save Star Wars Galaxies
Re: Search Plugins
Yeah, it searches like the normal Find Resources (<input>*). In fact, this is what it does:Zimoon wrote: Typing 'bat' in the resource search rendered 13 hits though (Gorath)
/Z
Code: Select all
http://www.swgcraft.co.uk/dev/find_resources.php?name={searchTerms}&server=x
Re: Search Plugins
Please add it so Class in find_resources.php excepts name when doing a search such that:
http://www.swgcraft.org/dev/find_resour ... 1&planet=0
will find all aluminum type of resources. Otherwise trying to search for aluminum via name nets 0 results.
http://www.swgcraft.org/dev/find_resour ... 1&planet=0
will find all aluminum type of resources. Otherwise trying to search for aluminum via name nets 0 results.
-
- Forum Moderator
- Posts: 4817
- Joined: Mon May 14, 2007 6:55 am
- Location: Stockholm, SE
- Contact:
Re: Search Plugins
I am not a developer here but please elaborate on what the problem is. What do you want to achieve? What is not working?dharh wrote:Please add it so Class in find_resources.php excepts name when doing a search such that:
http://www.swgcraft.org/dev/find_resour ... 1&planet=0
will find all aluminum type of resources. Otherwise trying to search for aluminum via name nets 0 results.
The link you provided gives long lists of aluminum at Ahazi so I assume you mean something else.
Cheers
/Zimoon
Facebook:
Official Save Star Wars Galaxies
Official Save Star Wars Galaxies
Re: Search Plugins
The link I provided does not give Aluminum. Its actually the full list of every resource ever.
I basically want to be able to type in class of what im looking for (mineral, low-grade ore, aluminum, carbonate) instead of the random name given to the resource for that particular shift.
I basically want to be able to type in class of what im looking for (mineral, low-grade ore, aluminum, carbonate) instead of the random name given to the resource for that particular shift.
-
- Forum Moderator
- Posts: 4817
- Joined: Mon May 14, 2007 6:55 am
- Location: Stockholm, SE
- Contact:
Re: Search Plugins
/slap self
Of course, I see that now. And I also noticed that this thread is about Search Plugins. A necroed thread but nevertheless.
Sorry for my noise
/Zimoon
Of course, I see that now. And I also noticed that this thread is about Search Plugins. A necroed thread but nevertheless.
Sorry for my noise

/Zimoon
Facebook:
Official Save Star Wars Galaxies
Official Save Star Wars Galaxies
Who is online
Users browsing this forum: No registered users and 10 guests