vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Modifying Search The Internet Hack (help plz :'( ) (https://vborg.vbsupport.ru/showthread.php?t=44574)

|-Last-Spirit-| 10-13-2002 12:35 PM

Modifying Search The Internet Hack (help plz :'( )
 
1 Attachment(s)
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 :

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
Code:

<input type="submit" name="searchButton" value="Search">
to
Code:

<input type="image" src="{imagesfolder}/go.gif" name="searchButton" border="0" align="absbottom">

|-Last-Spirit-| 10-17-2002 03:30 PM

Quote:

Originally posted by LeeCHeSSS
Change both "<smallfont>" and "</smallfont>" to "<normalfont>" and "</normalfont>"

Then in order to change the button: change
Code:

<input type="submit" name="searchButton" value="Search">
to
Code:

<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 :)


All times are GMT. The time now is 01:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01055 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete