PDA

View Full Version : Mini Mods - EASY - Add Some Nice Looking Search Engine Boxes To Your Site


soulnothing
11-18-2009, 10:00 PM
Demo: www.extreme-gamers.org

Make a new mod by going to admin portal page then vBa CMPS> Add Module> BB Code Module

Paste This:
<table class="tborder" border="0" width="100%" align="center"><thead><td class="tcat" ><center>Search The Web</center></td></thead><td class="alt3"><center><form method="get" action="http://www.google.com/search" target="_blank"><input type="text" size="35" name="q" size="31" maxlength="255" value="" /> <input type="submit" value="Google Search" /></form> | <form method="get" action="http://search.yahoo.com/search" target="_blank"><input type="text" size="35" name="p" />&nbsp;<input type="submit" value="Yahoo! Search" /></form></center></td></tr></table><br>
uncheck Allow Smilies and Allow [IMG] Code

Turn off Use Module Wrapper Template (select no)

then click save

make sure the only way you seperate the tags is by spaces and not by going to the next line or it will expand your box

if you dont have vBa then do it like this:
go to styles and templates>style manager>(your style drop down box)Edit Templates>Forum Display Templates>Forum Home

then search: $navbar

and paste it below:
</title>
</head>
<body>
$header
$navbar

If you want the News Ticker to go with it go here:
https://vborg.vbsupport.ru/showthread.php?t=227363

Mod Made By: JarHeaD

fixed:
now opens in new tab/window
yahoo search now uses yahoo and not google

mbc100
11-20-2009, 12:24 PM
too nice thanks

RedHacker
11-21-2009, 07:56 AM
https://vborg.vbsupport.ru/external/2009/11/14.jpg

Thanks but i have one problem... Why had grey background...? And how to decrease size at the "Search Web"....?

COL NIL SATIS
11-21-2009, 05:00 PM
nice one!!! installed

soulnothing
11-21-2009, 06:50 PM
link to ur site redhacker so i can see whats goin on
you can adjust the width here
<table class="tborder" border="0" width="100%"
try 50 and see what that does ... you will just have to play around with it to get it to the size u want
mine is in between my side modules on each side so thats why mine is set to 100%

as the color goes... go to Styles & Templates> Style Manager>(Your Style Drop Down Box) Main Css... then find Table Border
the Background color is what you want to change
also u can fund this part of the code
Search The Web</center></td></thead><td class="alt3">
change the number between 1 and 5 some of them will be the same color but you should have atleast 2 options ... it varies for differ styles

RedHacker
11-21-2009, 08:59 PM
Thanks i solved CCS but not change Search Web size....
It happens searching to open new tab?

soulnothing
11-21-2009, 10:48 PM
i dont understand what you're saying... your english isnt to good

if you want it to open a new tab/window... (which is a good idea i didnt think nothing about it) replace the other code with this

<table class="tborder" border="0" width="100%" align="center"><thead><td class="tcat" ><center>Search The Web</center></td></thead><td class="alt3"><center><form method="get" action="http://www.google.com/search" target="_blank"><input type="text" size="36" name="q" size="31" maxlength="255" value="" /> <input type="submit" value="Google Search" /> <form method="get" action="http://search.yahoo.com/search" target="_blank"><input type="text" size="36" name="p" />&nbsp;<input type="submit" value="Yahoo! Search" /></form></center></td></tr></table><br>

ill update the other code also

RedHacker
11-22-2009, 12:11 PM
Thanks soulnothing i find and the other problem...