Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
Header Search (vb.org search style) Details »»
Header Search (vb.org search style)
Version: 1.00, by christian8a christian8a is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.4 Rating:
Released: 09-05-2009 Last Update: Never Installs: 32
Template Edits
 
No support by the author.

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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-23-2009, 09:44 AM
Raptor Raptor is offline
 
Join Date: Nov 2001
Posts: 499
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be better to have correct forum variables in the code - then no need for editing for other users
Reply With Quote
  #13  
Old 12-23-2009, 02:31 PM
ravenfaust ravenfaust is offline
 
Join Date: Aug 2009
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any way to make it so its in a custom box so it blends with the theme better?
and also where would be a good spot to place this, in header /navbar etc?
Reply With Quote
  #14  
Old 01-10-2010, 10:08 AM
Cloverfield Cloverfield is offline
 
Join Date: Dec 2007
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gives me security token error on my forum after upgradation to 3.8.4 from 3.8.2.

Your submission could not be processed because a security token was invalid.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Please guide.
Reply With Quote
  #15  
Old 01-10-2010, 03:48 PM
JamesC70 JamesC70 is offline
 
Join Date: Jun 2007
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cloverfield View Post
gives me security token error on my forum after upgradation to 3.8.4 from 3.8.2.

Your submission could not be processed because a security token was invalid.
Verify that the security token code still exists in your template:
Code:
 ... copied from first post ...
<input type="hidden" name="s" value="" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
Reply With Quote
  #16  
Old 01-29-2010, 03:51 PM
NinjaKane NinjaKane is offline
 
Join Date: Jan 2010
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome. added above my navbar. thanks!
Reply With Quote
  #17  
Old 02-02-2010, 05:46 AM
Log on Log on is offline
 
Join Date: Aug 2009
Location: KSA
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice one

thank you
Reply With Quote
  #18  
Old 03-05-2010, 09:23 AM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any release for vBulletin 4....?
Reply With Quote
  #19  
Old 03-27-2010, 07:36 PM
L0rd-81 L0rd-81 is offline
 
Join Date: Feb 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank You for this
But i have a Problem.
In the Select Tab i see the Last Forum in this Drop Box is write.

How i can change this the i see "Alle Foren" as first?

Example you can see on my Forum www.wm-apps.de/forum

Please help me, thank you

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">Alle Foren</option>
        <option value="145" selected="selected" class="time">ASUS</option>
        <option value="132" selected="selected" class="time">HP</option>
        <option value="46" selected="selected" class="time">HTC</option>
        <option value="69" selected="selected" class="time">LG</option>
        <option value="84" selected="selected" class="time">Samsung</option>
        <option value="100" selected="selected" class="time">Sony Erricsson</option>
        <option value="1095" selected="selected" class="time">Multimedia & Grafik</option>
        <option value="1379" selected="selected" class="time">Desktop & Shell</option>
        <option value="1096" selected="selected" class="time">Komm. & Internet</option>
        <option value="1097" selected="selected" class="time">System & Entwicklung</option>
        <option value="1342" selected="selected" class="time">Programme</option>
        <option value="1099" selected="selected" class="time">Spiele</option>
        <option value="1371" selected="selected" class="time">Navigation</option>
        <option value="1098" selected="selected" class="time">Office</option>
        <option value="1100" selected="selected" class="time">Styles WM 6.1</option>
        <option value="1101" selected="selected" class="time">Styles & Modding</option>
        <option value="1377" selected="selected" class="time">Icon Pack</option>
        <option value="1102" selected="selected" class="time">Wallpaper</option>
        <option value="1387" selected="selected" class="time">Klingelt?ne</option>
        <option value="1382" selected="selected" class="time">WM7 Styles</option>
        <option value="1381" selected="selected" class="time">WM7 Icons</option>
        <option value="784" selected="selected" class="time">NetCologne</option>
        <option value="59" selected="selected" class="time">T-Mobile</option>
        <option value="60" selected="selected" class="time">Vodafone</option>
        <option value="61" selected="selected" class="time">O2</option>
        <option value="62" selected="selected" class="time">E-Plus</option>
	</select> <input name="search" value="Direktsuche" type="submit" class="bginput" />
</div></td></tr>
</table>

</form>
<!-- /forum search -->
Reply With Quote
  #20  
Old 03-28-2010, 07:35 PM
JamesC70 JamesC70 is offline
 
Join Date: Jun 2007
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by L0rd-81 View Post
How i can change this the i see "Alle Foren" as first?
Remove the code selected="selected" from all options other then the preferred default. See the code box for proper usage.

Code:
<input type="text" class="bginput" name="query" size="25" /> <select name="forumchoice[]">
    <option value="-1" selected="selected" class="time">Alle Foren</option>
        <option value="145" class="time">ASUS</option>
        <option value="132"  class="time">HP</option>
        <option value="46"  class="time">HTC</option>
        <option value="69"  class="time">LG</option>
        <option value="84"  class="time">Samsung</option>
Reply With Quote
  #21  
Old 03-29-2010, 08:33 PM
L0rd-81 L0rd-81 is offline
 
Join Date: Feb 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for your help
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05119 seconds
  • Memory Usage 2,328KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete