Forum Moderators: open
Others might find that useful and, if there was interest it would now be possible to change the site's search to include a "search inside this forum" option. This was not previously possible with Google. (you could do site:webmasterworld.com inurl:forum92 but it does not return as many results).
Is there a handy list of these somewhere?
The WebmasterWorld
The YahooWorld
The MarketingWorld
The AdvertisingWorld
The GoogleWorld
The SearchEngineWorld
LocalFora
Feel free to share your search-box code here Robert. I'm sure others would be interested in this option as well.
bill - It turns out it's basically your search-box code from this thread...
Google search form on WW
[webmasterworld.com...]
Can't begin to tell you how many hours it's save me. Thank you for that one too.
I think my only addition was to add target="_blank" after the "...google.com/search" url so I can keep my place in WW while I'm searching.
I also put the code on my browser's local start page, but with the www radio input value checked rather than webmasterworld.com.
I'm thinking now about where to deploy your chart so it's handy when I need it. I'm guessing if I played around with it enough, the forum values probably could be incorporated into a pulldown... am not sure it would fit in the WW Control Panel's custom code insert, but it might work on my local start page.
Feel free to come up with something, though, before I get around to figuring it out. ;)
<SCRIPT type="text/JavaScript">var myloc = window.location.href;var marray = myloc.split("/");var forum=marray[3];</script>
To get the current directory/forum, although you'd obviously get strange results in you weren't in a forum directory ;)
You could then write this in javascript as a form field. Something like
<form method=GET action="http://google.com/search"><input type=hidden name=domains value="webmasterworld.com"><input TYPE=text name=q size=25 value><input type=submit name=btnG value=Google><input type=radio name=sitesearch value="" checked> webmasterworld.com <SCRIPT type="text/JavaScript">var myloc = window.location.href;var marray = myloc.split("/");document.write('<input type=radio name=sitesearch value=http://www.webmasterworld.com/'+marray[3]+'> current forum')</script></form>
The code above is pretty messy :P If I get a chance to write something better today I'll post it here.
<center><form method=get action="http://google.com/search"><input type=hidden name=domains value="webmasterworld.com"><input name=q><input type=submit value=google><input type=radio name=sitesearch value='webmasterworld.com' checked>webmasterworld.com <script type="text/javascript">s="webmasterworld.com/";m=window.location.href;ma=m.split("/");c=ma[3];if(c.indexOf("forum")!=-1){c=s+c;document.write('<input type=radio name=sitesearch value='+c+'>this forum');}else{c=s};</script></form></center>
Fitting it all into the character limit is a bit of a challenge too, especially with my dubious javascript skills :P