vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Miscellaneous Hacks - Advanced Quick Search form like vBulletin.org (https://vborg.vbsupport.ru/showthread.php?t=196078)

veenuisthebest 11-13-2008 03:43 AM

Quote:

Originally Posted by glorify (Post 1664585)
Correct me if I'm wrong, but what you're asking is how it looks on a stock vb style template?

Love the mod, just don't have a place to put it in my modded template :(

At your gtp site..

you can put it inbetween the logo and the image at the right. I would suggest you to use just the quick text search (for members only), this is how i am doing at my site. check it out, you need to sign in to see.

it looks good and is compact as well

baghdad4ever 11-13-2008 09:03 AM

Quote:

Originally Posted by veenuisthebest (Post 1664366)
Then you probably didn't read the 1st point in extras.

Find this in code:-

HTML Code:

<!-- <br />
<form action="tags.php" method="get">
<span id="tag_wrapper"><input type="text" id="tag_input" name="tag" size="25" style="font-size: 8pt" value="enter tag, and hit enter" onFocus="this.value=''" onBlur="this.value='enter tag, and hit enter'"/></span>
</form> -->

Simply remove the comments to enable it.

HTML Code:

<br />
<form action="tags.php" method="get">
<span id="tag_wrapper"><input type="text" id="tag_input" name="tag" size="25" style="font-size: 8pt" value="enter tag, and hit enter" onFocus="this.value=''" onBlur="this.value='enter tag, and hit enter'"/></span>
</form>




thank you :D

installed

Stifmeister2 11-13-2008 02:53 PM

Quote:

Originally Posted by glorify (Post 1664585)
Correct me if I'm wrong, but what you're asking is how it looks on a stock vb style template?

Love the mod, just don't have a place to put it in my modded template :(

Yeah. I have customized styles. And I'm wondering where I might put this...

veenuisthebest 11-13-2008 02:57 PM

Quote:

Originally Posted by Stifmeister2 (Post 1664920)
Yeah. I have customized styles. And I'm wondering where I might put this...

Read post #11

Crashh 11-14-2008 12:34 PM

I have a question:

If i use this hack , can i filter threads by prefix?

veenuisthebest 11-14-2008 04:17 PM

Quote:

Originally Posted by Crashh (Post 1665513)
I have a question:

If i use this hack , can i filter threads by prefix?

1. That would require another form as the action script is different. And ofcourse another submit button that won't look good at all. Submitting two forms with one button can be done with JS but its not worth so much effort.

2. It would throw an invalid forum error when search made from index.php. You'll probably have to create *another* listbox containing all the forum list for workaround.

3. Though it would work great on forumdisplay.php BUT that page already has a prefix search, so...

Overall, its pretty useless I think. Keeping the Quick Search form on header should be made as compact and small as possible, no need of adding complexity to it.

Infact, I myself is using JUST a small input box for quick search. No forums list, no tag search, no dropdown menu, no titles/posts and not even the submit button lol

Crashh 11-14-2008 05:25 PM

Hmm... If i understand u correctly, it's difficult to make a search by prefix (like this forum)
I'm not a coder, maybe u'll make new hack like this forum, to search in sub-forums by prefix?

veenuisthebest 11-14-2008 06:14 PM

Its not difficult, just a simple form needs to be added.

btw I don't see a Search by prefix in this forum, its a 3.7 feature, not 3.6.

Crashh 11-14-2008 07:46 PM

Quote:

Originally Posted by veenuisthebest (Post 1665674)
Its not difficult, just a simple form needs to be added.

btw I don't see a Search by prefix in this forum, its a 3.7 feature, not 3.6.

Wow. If it's not difficult, can u do it? Please. I can't :(

Why u didn't see?
Look at the screenshot in attach, and u'll understand what i want :)

veenuisthebest 11-14-2008 08:43 PM

Its the MODS forum at vborg. Its totally custom.

Btw, if you want it that way on forumdisplay.php, then ITS A DEFAULT FEATURE of 3.7

Check on my site
http://www.tech555.com/forum/f51-vbulletin/


All times are GMT. The time now is 02:26 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.01118 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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