PDA

View Full Version : Modifying Search The Internet Hack (help plz :'( )


|-Last-Spirit-|
10-13-2002, 12:35 PM
I downloaded and installed the hack like the instructions and it works perfectly, but the layout wasn't what I wanted, I already adjusted it as far as I can with my knowledge, below I included I picture of how it is now and how I want it to be


As you can see I want it as a regular board layout (the top bar is my default catogory font/color/bachkgorund color and the second cell my default content cell)

This is not "linked" to my actual forum, with that I mean it stands on itself (so not atttached to the forum/active users bars)

Following is the current code :

<!-- 5px VERTICAL GAP -->
<table border="0" width="{tablewidth}" cellpadding="0" cellspacing="0">
<td height="5"></td>
</table>
<!-- 5px VERTICAL GAP END -->

<table border="0" width="{tablewidth}" cellpadding="0" cellspacing="0">
<tr>
<td>
<table bgcolor="{tablebordercolor}" cellpadding=4 cellspacing=1 width="100%" border="0">
<td align="left" valign="center"
bgcolor="{tableheadbgcolor}"><smallfont >Search The Internet</smallfont><form action="./websearch.php" target="_blank">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="text" name="searchString" size="25" maxlength="255" value="">
<select name="engine">
<option value="google" selected>Search -> Google
<option value="yahoo">Search -> Yahoo
<option value="altaVista">Search -> Altavista
<option value="excite">Search -> Excite
<option value="lycos">Search -> Lycos
</select>
<input type="submit" name="searchButton" value="Search">
</table>
</tr>
</td>
</tr>
</table>

TNX in advance to anyone who can help me out here :)

|-Last-Spirit-|
10-14-2002, 06:42 AM
Noone who can help me out here ? :'

|-Last-Spirit-|
10-15-2002, 02:38 PM
heh, cmon help me out here :'( It looks ugly with the standard windows button :'(

LeeCHeSSS
10-16-2002, 08:04 AM
Change both "<smallfont>" and "</smallfont>" to "<normalfont>" and "</normalfont>"

Then in order to change the button: change <input type="submit" name="searchButton" value="Search">to<input type="image" src="{imagesfolder}/go.gif" name="searchButton" border="0" align="absbottom">

|-Last-Spirit-|
10-17-2002, 03:30 PM
Originally posted by LeeCHeSSS
Change both "<smallfont>" and "</smallfont>" to "<normalfont>" and "</normalfont>"

Then in order to change the button: change <input type="submit" name="searchButton" value="Search">to<input type="image" src="{imagesfolder}/go.gif" name="searchButton" border="0" align="absbottom">

Tnx the go button works but the first part you probably misunderstood..

I want the title "search the internet" to be in it's own cell with the standard background color (like the background color from the bar "Private Messages") and then the cell below with the content of the search field, combobox and go button)

It's exactly like i want in the attached pic on the first post (2 cells under each other, both a different background color (the same ones as used on my forum)

|-Last-Spirit-|
10-17-2002, 03:39 PM
it's ok, found it :)