vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - Header Search (vb.org search style) (https://vborg.vbsupport.ru/showthread.php?t=222590)

christian8a 09-05-2009 10:00 PM

Header Search (vb.org search style)
 
1 Attachment(s)
This is a template mod similar to vb.org. Is not a copy since on your forums you have the same options, just move it to your header section or navbar, etc...

I added it right next to the logo

Install

Find the place where you want it to be and paste the following code...
Replace the name of your forums and their respective forum id's (option value)

Demo

http://www.extremecorvettes.com

Code:

<!-- forum search -->
<form action="search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="s" value="" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

<table cellpadding="10" cellspacing="0" border="0" width="100%" align="center">
<tr><td align="right"><div style="white-space:nowrap">
<input type="text" class="bginput" name="query" size="25" /> <select name="forumchoice[]">
        <option value="-1" selected="selected" class="time">All Forums</option>
        <option value="5" class="time">Common Interest</option>
        <option value="13" class="time">Cool Stuff</option>
        <option value="8" class="time">Classifieds</option>
        </select> <input name="search" value="Search" type="submit" class="bginput" />
</div></td></tr>
</table>

</form>
<!-- /forum search -->


sphinx 09-06-2009 04:46 PM

excellent will try

9bz 09-06-2009 05:19 PM

nice one works great...

9bz 09-11-2009 01:57 PM

how do i change the color of my forum txt in the drop down box

christian8a 09-11-2009 03:25 PM

where it says <option value="-1" selected="selected" class="time"> change the class to Alt1 or Alt2 or smallfont

9bz 09-11-2009 03:34 PM

thx's christian8a for the fast reply, works great,,,,,,,,,,,, #80)

Binoy 09-13-2009 12:08 AM

thanx . installed

abouahmed 09-13-2009 08:02 PM

nice code

thanx

cagbaazee 12-19-2009 05:35 PM

Hi

I have install it and it appear on the top right .

It display fine But there is one error - search Title only or Search Entire words is not display on my page

Do reply.

Warlord 12-22-2009 11:49 PM

Installed, but I put it in my footer. Good work.


All times are GMT. The time now is 03:07 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.01009 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete