Forum Moderators: open

Message Too Old, No Replies

search at webmasterworld?

search funciton in forum?

         

Princessjo

10:34 am on Oct 30, 2003 (gmt 0)

10+ Year Member



I search for webmasterworld not working? I'm trying to search on "mask domain" and my world is spinning?

Nick_W

10:38 am on Oct 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Tips for Searching WebmasterWorld [webmasterworld.com]

Much more reliable ;)

Nick

tosspot17

10:39 am on Oct 30, 2003 (gmt 0)

10+ Year Member



Princessjo - try searching through Google.

[google.com...]

<added>hmmmf. i'm just too slow for this forum;)</added>

Imaster

11:39 am on Oct 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Princessjo,

I generally search through Google. I have added a custom code on top for Google Search which searches for pages in webmasterworld.

Go to [webmasterworld.com...]

Add the following lines to "Custom Code Insert Top?"

<center><form method="GET" action="http://www.google.com/search"><input type="hidden" name="domains" value="webmasterworld.com"><input TYPE="text" name="q" size="25" maxlength="255" value><input type="submit" name="btnG" value="Google"><input type="radio" name="sitesearch" value="webmasterworld.com" checked>webmasterworld.com <input type="radio" name="sitesearch" value>www</form></center>

Princessjo

1:38 pm on Oct 30, 2003 (gmt 0)

10+ Year Member



wow Imaster, that's really cool, I'll be using this from now on, cheers!

Brett_Tabke

1:57 pm on Oct 30, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



becareful with that code - copy it exactly as it is displayed. I would try it on another page first to make sure it works for you. If you good - you can really glitch WebmasterWorld to the point you can't use it.

eWhisper

3:26 pm on Oct 30, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Nice job Imaster, you just made my mornings much easier. Thanks.

bill

6:14 am on Oct 31, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



um....that code isn't too original Imaster, now is it? [webmasterworld.com]...

TheDave

6:50 am on Oct 31, 2003 (gmt 0)

10+ Year Member



No rights reserved

You waved your rights ;)

j/k wd bill :)

bill

6:55 am on Oct 31, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You waved your rights

That was for my AllTheWeb and GigaBlast versions...I retain full rights to the Google version ;)

Imaster

7:04 am on Oct 31, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



All credit to you, Bill ;) I was simply helping them as I use the method as well. :)

EBear

12:39 pm on Nov 12, 2003 (gmt 0)

10+ Year Member



Nice code Bill - just caused me to make a home page with something similar for ATW, MSN and Yahoo! as well.

On the other hand, if you've got the toolbar, why not just go the WebmasterWorld, type your query in the toolbar and click Search Site?

trillianjedi

6:03 pm on Nov 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use Bill's original WW Googling tool too.

I wonder if someone could help me out and redo it so that as well as having my google search in the centre at the top, I could also have a shortcut to Foo?

I'm not a coder, so I'm a bit lost here as to where I put it all in.

Thanks,

TJ

Chndru

6:50 pm on Nov 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



a shortcut to Foo

That would be awesome :)

digitalghost

6:53 pm on Nov 12, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>a shortcut to Foo

Slap an iframe in your custom code section and you create as many shortcuts as you like... ;)

Sinner_G

8:37 am on Nov 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



TJ, just insert the following code between <center> and <form> in bill's code:

<b><a href="/forum9/">Foo</a></b>

Unfortunately, the 500 chars limit is too low to have Community Center and other forums there too. :(

Chndru

9:27 am on Nov 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks, Sinner_G. It's cool.

Sinner_G

11:01 am on Nov 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just thinking out loud, but would it be possible/allowed to just call a server side include from the custom code insert? That file would then be on a server of mine, so I could have as many chars as I want, and the inserted code would be less than 500 chars?

Do I make sense?

trillianjedi

11:48 am on Nov 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That's perfect - thank you Sinner_G!

TJ

EBear

12:28 pm on Nov 13, 2003 (gmt 0)

10+ Year Member



Sinner_G

AFAIK SSI does not allow you to include a file that lies on another server. You could call an external javascript file though, with the same results.

Sinner_G

2:02 pm on Nov 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



@EBear: Yes, makes sense, probably why it's called server side. But the JS is a good idea.

Sinner_G

4:55 pm on Nov 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Okay, here it is.

This code belongs into the custom code insert:

<script src="http://www.yoursite.ch/js/javascript.js" type="text/javascript">
</script>

And then on your site (don't forget to change that in the code above) you need a file called javascript.js (in a folder called js), which contains the following code:

document.write("<center><a href=\"/forum9/\"><b>Foo</b></a> - <a href=\"/forum19/\"><b>WebmasterWorld Community Center</b></a><form method=\"GET\" action=\"http://www.google.com/search\"> <input type=\"hidden\" name=\"domains\" value=\"webmasterworld.com\"> <input TYPE=\"text\" name=\"q\" size=\"25\" maxlength=\"255\" value> <input type=\"submit\" name=\"btnG\" value=\"Google\"><input type=\"radio\" name=\"sitesearch\" value=\"webmasterworld.com\" checked> webmasterworld.com<input type=\"radio\" name=\"sitesearch\" value>www</form></center>");

Tested on Opera 7.22 and IE 6.0 on Win2K. Of course you can add all forums (or SEs) you need.

Code for the Google search box copyright by bill :).

trillianjedi

5:09 pm on Nov 13, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



@Sinner_G : Oh yeah baby!

Love it.

TJ

EBear

4:25 pm on Nov 14, 2003 (gmt 0)

10+ Year Member



Neat Sinner_G.

For your next task, here [notasinner.com]'s an AllTheWeb version I made, Use the code if you want. It does a couple of extra things: a dropdown query field for your regular search phrases and a search by forum.

Unfortunately ATW only has 45K of WebmasterWorld pages, as opposed to Google's 134K. Can anyone provide a similar forum search for Google? You need to combine allinurl with a query, but I can't find a way to do that. Googleguy?

Hey Sinner_G, I just realised the appropriateness of the domain I dumped that on :)

Sinner_G

8:18 am on Nov 17, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just to let you know that I'm working on a Google solution, but facing the same problem as you EBear, forum search seems difficult to make.

Come on, you can't really think I'll believe you didn't do the domain thing on purpose ;).

Sinner_G

4:09 pm on Nov 18, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ok, here's the code for the ATW search (haven't given up the forum search for Google, but it's tough), including forum search. I dropped the frequent searches dropdown. All Kudos to EBear, though. And don't forget, all of this belongs on 1 line.

document.write("<center><a href=\"/forum9/\"><b>Foo</b></a> - <a href=\"/forum19/\"><b>WebmasterWorld Community Center</b></a><form action=\"http://www.alltheweb.com/search\" method=\"get\" name=\"atw\"><img src=\"http://www.alltheweb.com/g/atwlogo_small.gif\" width=\"94\" height=\"16\" alt=\"AlltheWeb :: find it all\" /><input type=\"hidden\" name=\"advanced\" value=\"1\" /><input name=\"cat\" type=\"hidden\" value=\"web\" /> <input name=\"charset\" type=\"hidden\" value=\"utf-8\" /><input name=\"q\" size=\"30\" />&nbsp\;&nbsp\;<input type=\"radio\" name=\"dincl\" value=\"webmasterworld.com\" checked>WebmasterWorld&nbsp\;&nbsp\;<input type=\"radio\" name=\"dincl\" value=\"\"> www&nbsp\;&nbsp\;<input type=\"hidden\" name=\"wf[n]\" value=\"3\"><input name=\"wf[0][r]\" type=\"hidden\" value=\"+\" /><select name=\"wf[0][q]\"><option value=\"\">Choose a forum . . .<option value=\"\"><option value=\"\">The Search Engine World<option value=\"\">====================================<option value=\"forum3\">Google News <option value=\"forum80\"> Google Toolbar <option value=\"forum86\"> Google IPO Watch<option value=\"forum4\">Alltheweb.com <option value=\"forum2\">AskJeeves - Teoma <option value=\"forum33\"> Overture Pay Per Click <option value=\"forum16\"> Alternative Search Engines <option value=\"forum85\"> Pay Per Click Engines <option value=\"forum1\">Paid Inclusion Engines and Topics <option value=\"forum35\">Yahoo <option value=\"forum17\">Directories <option value=\"forum18\">European Search Engines <option value=\"forum7\">UK & Ireland Search Engines <option value=\"forum32\">Asia and Pacific Region <option value=\"forum93\">robots.txt <option value=\"\"><option value=\"\">The Webmaster World<option value=\"\">====================================<option value=\"forum21\">HTML and Browsers <option value=\"forum46\">WYSIWYG and Text Code Editors <option value=\"forum83\">CSS <option value=\"forum36\">Site Graphics and Multimedia Design <option value=\"forum10\">Webmaster General <option value=\"forum22\">Ecommerce <option value=\"forum44\">Content, Writing and Copyright <option value=\"forum48\">New To Web Development <option value=\"forum25\">Domain Names <option value=\"forum39\">Tracking and Logging <option value=\"forum40\">Linux, Unix, and *nix like Operating Systems <option value=\"forum45\">PDA, Mobile and Wireless Computing <option value=\"forum31\">Professional Webmaster Business Issues <option value=\"forum49\">The Macintosh Webmaster <option value=\"forum47\">Microsoft Related - .NET and ASP <option value=\"forum91\">Javascript <option value=\"forum13\">Perl Server Side CGI Scripting <option value=\"forum88\">PHP Server Side Scripting <option value=\"forum23\">Website Technology Issues <option value=\"forum92\">Apache Web Server <option value=\"\"><option value=\"\">The Marketing World<option value=\"\">====================================<option value=\"forum5\">Search Engine Promotion <option value=\"forum89\">Google AdSense <option value=\"forum20\">Advertising Sales and Affiliate Programs <option value=\"forum81\">Google Adwords <option value=\"forum8\">Keyword Discussion <option value=\"forum34\">SEM Research Topics <option value=\"forum24\">Cloaking <option value=\"forum11\">Search Engine Spider Identification <option value=\"forum12\">Link Development <option value=\"forum27\">Search Engine Submission <option value=\"\"><option value=\"\">Local<option value=\"\">====================================<option value=\"forum19\">WebmasterWorld Community Center <option value=\"forum29\">Commercial Exchange <option value=\"forum9\">Foo </select><input type=\"hidden\" name=\"wf[0][w]\" value=\"url.all:\"><input type=\"submit\" value=\"Search\" /></form></center>");

Sinner_G

4:47 pm on Nov 19, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ok, the WebmasterWorld Forum search with Google is there. As it is getting to be lots of code, I have zipped the javascript.js. You can download them here (hope it's ok to post the URL, there is nothing else on that site anyways):

Search with Google, no forum search:
http*//www.dracul.ch/javascript_google_noforum.zip

Search with Google, with forum search:
http*//www.dracul.ch/javascript_google_forum.zip

Search with ATW, with forum search:
http*//www.dracul.ch/javascript_atw_forum.zip

Unzip the chosen version, rename the file to javascript.js and load it on your server. That's it.

bill

4:54 am on Nov 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Sinner_G you're making my <500 char version look bad ;)

Sinner_G

8:00 am on Nov 21, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey bill, without your <500 code (and EBear's forum search idea), my version wouldn't exist at all. :)