vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Pulldown "Advanced Search" (https://vborg.vbsupport.ru/showthread.php?t=234024)

BRotondi 01-24-2010 12:17 PM

Pulldown "Advanced Search"
 
Hello

I want to transform the "Advanced Search"-Link in a Pulldown with more links (Google Search, ...)

Manipulating the template "navbar" seems to be right, but I don't achieve the same format as e.g. the Pulldown "community".

Did anybody else allready something like this? Or exists a Mod für this link which possibly is easier to manipulate?

... was not able to find anything.

Thanks!
Bruno

BRotondi 03-23-2010 12:34 AM

Two months later, same Idea. Something new on the horizon?

BRotondi 04-24-2010 10:15 PM

If someone is interested in the solution:
Template navbar:
replace
Code:

        <ul class="navbar_advanced_search">
            <li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li>
        </ul>

e.g. with
Code:

        <ul class="navtabs floatcontainer">
            <li class="selected">&nbsp;
                <ul class="floatcontainer">
                    <li class="popupmenu">
                        <a href="javascript://" class="popupctrl" >{vb:rawphrase advanced_search}</a>
                        <ul class="popupbody popuphover">
                            <li><a href="search.php?{vb:raw session.sessionurl}search_type=1" accesskey="4">{vb:rawphrase advanced_search}</a></li>
                            <li><a href="http://www.google.ch/search?hl=de&q=SUCHE+site%3A{vb:raw vboptions.bbtitle}&btnG=Suche&meta=" rel="nofollow" target="_blank">Suchen via Google</a></li>
                            <li></li>
                            <li><a href="tags.php?tag=.Begriff" rel="nofollow">Begriffe</a></li>
                            <li><a href="search.php?{vb:raw session.sessionurl}do=finduser&u={vb:raw bbuserinfo.userid}">Eigene Beitr?ge</a></li>
                            <li><a href="search.php?{vb:raw session.sessionurl}do=finduser&u={vb:raw bbuserinfo.userid}&starteronly=1">Eigene Themen</a></li>
                            <li></li>
                            <li><a href="http://bibleserver.com" rel="nofollow" target="_blank">Bibel Online</a></li>
                            <li><a href="http://de.wikipedia.org/w/index.php?title=Spezial:Suche" rel="nofollow" target="_blank">Wikipedia</a></li>
                        </ul>
                    </li>
                </ul>
            </li>
        </ul>

and add to additional.css
Code:

/* Advanced Search-Pulldown */
.globalsearch li,
.globalsearch li.selected {
    border: none;
}
.globalsearch ul {
    background: none;
    border: none;
}



All times are GMT. The time now is 05:23 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.00961 seconds
  • Memory Usage 1,719KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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