vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - EASY - Add Some Nice Looking Search Engine Boxes To Your Site (https://vborg.vbsupport.ru/showthread.php?t=228400)

soulnothing 11-18-2009 10:00 PM

EASY - Add Some Nice Looking Search Engine Boxes To Your Site
 
1 Attachment(s)
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:
Code:

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

</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

1 Attachment(s)
link to ur site redhacker so i can see whats goin on
you can adjust the width here
Code:

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

Code:

<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...


All times are GMT. The time now is 04:37 PM.

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.01024 seconds
  • Memory Usage 1,731KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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