| your friendly neighborhood supercarrot ( @ 2005-08-16 16:26:00 |
a useful search function.
hey fancy mods!
bobbymcr helped me hack this code to be able to search not only one community but also give the option of searching whichever combination of communities you want to search!!! (although it lost the ability to search "everywhere" but that shows up when you go to the results page anyway, so it's a moot point.)
ok, the following is a sort of tutorial on editing the code for your own community. the fuschia text is the default selected option. there can be only one option that is selected. (the difference here is the selected="selected">vegancooking</option> at the end of that line of code. of course you would change "vegancooking" to your community
the green text is additional selection options for searching a whole bunch of related communities at once, feel free to copy the green text and paste it multiple times to have a multitude of different types of searches. have fun with it. if you have any questions, feel free to ask them.
oh, also the bolded text in the colored sections are the title of the selections. change that to what you want the sections to be named in the pull-down box. it has a 50 character limit before it starts looking real weird.
and please don't change the "get this hacked code" line. that way, folks can come back here and see the tutorial and all that jazz.
and feel free to take the hacked code and use it for your own personal journal. you know, if you have a certain group of friends journals or communities that you'd like to search at once. enjoy it, folks!
<table frame="border" cellpadding="0" cellspacing="0"><tr><td><table cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" width="400"><tr><td bgcolor="#4B4B4B" align="center"><a href="http://www.ljseek.com"><img src="http://www.ljseek.com/images/ljsee k.gif" border="0"></a></td></tr><tr><td height="7" bgcolor="#333333"></td></tr><tr><td height="1"></td></tr><tr><td height="3" bgcolor="#FF5800"></td></tr><tr><td align="center" height="50" valign="middle"><form action="http://www.ljseek.com/mysearch.p hp" method="get"><input type="text" name="q" size="15"><select name="username">
<option value="vegancooking" selected="selected">just vegancooking</option>
<option value="vegancooking, cheapvegan, easyvegan, veganrecipes, vegan_candy, veganfoodpics, vegantestkitchn, veganreadymade, veganpeople, veganism, dailyvegan">selected vegan communities</option>
</select><input type="hidden" name="where" value="1"><input type="submit" value="Find!"></form></td></tr><tr><td height="3" bgcolor="#333333"></td></tr><tr><td height="20" bgcolor="#4B4B4b" align="center"><a href="http://www.ljseek.com/getcode.php "><font color="#FFFFFF">Get your own code</a> -or- <a href="http://www.livejournal.com/commun ity/veganmods/3119.html"><font color="#FFFFFF">Get this hacked code</font></a></td></tr></table></td></t r></table>
hey fancy mods!
|
ok, the following is a sort of tutorial on editing the code for your own community. the fuschia text is the default selected option. there can be only one option that is selected. (the difference here is the selected="selected">vegancooking</option>
the green text is additional selection options for searching a whole bunch of related communities at once, feel free to copy the green text and paste it multiple times to have a multitude of different types of searches. have fun with it. if you have any questions, feel free to ask them.
oh, also the bolded text in the colored sections are the title of the selections. change that to what you want the sections to be named in the pull-down box. it has a 50 character limit before it starts looking real weird.
and please don't change the "get this hacked code" line. that way, folks can come back here and see the tutorial and all that jazz.
and feel free to take the hacked code and use it for your own personal journal. you know, if you have a certain group of friends journals or communities that you'd like to search at once. enjoy it, folks!
<table frame="border" cellpadding="0" cellspacing="0"><tr><td><table cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" width="400"><tr><td bgcolor="#4B4B4B" align="center"><a href="http://www.ljseek.com"><img src="http://www.ljseek.com/images/ljsee
<option value="vegancooking" selected="selected">just vegancooking</option>
<option value="vegancooking, cheapvegan, easyvegan, veganrecipes, vegan_candy, veganfoodpics, vegantestkitchn, veganreadymade, veganpeople, veganism, dailyvegan">selected vegan communities</option>
</select><input type="hidden" name="where" value="1"><input type="submit" value="Find!"></form></td></tr><tr><td height="3" bgcolor="#333333"></td></tr><tr><td height="20" bgcolor="#4B4B4b" align="center"><a href="http://www.ljseek.com/getcode.php
