| | |
How did Dani get the "Search" link to go directly...
Please support our Existing Scripts advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
I'm a bit confused as to what you're asking. The word "Search" is a direct link to the search.php page. I used CSS to make it not really look like a link, but it's just a standard hyperlink. The search field is in a simple form which calls the search.php page. If you are running a vBulletin board, you could put the following wherever you want:
Then, just play around with CSS to make it look the way you want
Notice that when you do a search, a list of threads is returned. If you change the showposts attribute to 1, a list of individual posts will be returned. Your preference 
Also, since it's just a regular ol' form - that HTML code can go anywhere ... within a vBulletin template or on a regular HTML page.
<form action="search.php" method="post"> <input type="hidden" name="do" value="process" /> <input type="hidden" name="showposts" value="0" /> <input type="text" name="query" /> <input type="submit" value="Go" /> </form>
Then, just play around with CSS to make it look the way you want
Notice that when you do a search, a list of threads is returned. If you change the showposts attribute to 1, a list of individual posts will be returned. Your preference 
Also, since it's just a regular ol' form - that HTML code can go anywhere ... within a vBulletin template or on a regular HTML page.
Dani the Computer Science Gal 
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds

Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
![]() |
Similar Threads
- 100 link "rule" - does nofollow matter? (Search Engine Optimization)
- google "keyword" question (Search Engine Optimization)
- homepage hijack "Search for..." about:blank in address (Viruses, Spyware and other Nasties)
- homepage hijack "Search for..." about:blank in address (Viruses, Spyware and other Nasties)
- IE problem with "about:blank" & "search for..." (Viruses, Spyware and other Nasties)
Other Threads in the Existing Scripts Forum
- Previous Thread: Submitting forms
- Next Thread: chat room
| Thread Tools | Search this Thread |






