Announcement

Collapse
No announcement yet.

convert vbulltin 5 search box to google search

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • convert vbulltin 5 search box to google search

    i want to convert vbulltin 5 search box to google search
    please guid me to do that
    any help is highly appreciated

  • #2
    This would require custom code.

    You can try asking on www.vbulletin.org or https://vbmods.rocks
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.5.2 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      I will have it on vbmods.rocks soon.

      GIPHY for vB5 AutoLinker Auto-Create Flag Report Topic Social Icons in Postbit Clear Cache Cron DragDrop Upload Topic AJAX AutoUpdate Custom Avatars Selector Stop Links in Posts...and more!

      Comment


      • #4
        my problem is solve with below codes :
        PHP Code:
                </div>
                        <
        div class="toolbar">
                            <
        ul class="h-right">
                                {
        vb:hook 'header_toolbar'}
                                {
        vb:data searchpermuserhasPermissionsforumpermissionscansearch}
                                <
        vb:if condition="$searchperm AND $vboptions['enablesearches']">




                                <
        li class="search-container">
                                    <
        form id="searchForm" action="https://www.google.com/search" class="h-left" method="GET" target="_blank">
                                        <
        div class="h-left">
                                            <
        div class="search-box search-btn-inside-box">
                                                <
        input type="text" name="q" id="q" placeholder="{vb:phrase search}" class="textbox search-term" autocomplete="off" />
                                                <
        button type="submit" id="btnSearch" class="search-btn" title="{vb:phrase search}"><span class="vb-icon vb-icon-search"></span></button>
        <
        input type="hidden" name="sitesearch" value="linux-zone.org" />
                                                <!--
        div class="vertical-divider-left"></div>




                                                <
        div class="b-comp-menu-dropdown js-comp-menu-dropdown b-comp-menu-dropdown--open-on-hover b-comp-menu-dropdown--header-search">
                                                    <
        div class="b-comp-menu-dropdown__trigger js-comp-menu-dropdown__trigger b-comp-menu-dropdown__trigger--arrow js-button" tabindex="0"></div>
                                                    {
        vb:template search_popuppage={vb:raw page}, user={vb:raw user}}
                                                </
        div-->

                                            </
        div>
                                        </
        div>
                                    </
        form>
                                </
        li>
                                </
        vb:if>
                            </
        ul>
                        </
        div>
                        <
        vb:if condition="!empty($useSitebuilder)">
                            <
        div class="disable-overlay"></div>
                        </
        vb:if>
                    </
        div

        Comment


        • #5
          vbulltin search for persian and arabic language is so weak and can't trust to vbulltin search so most of persian vbulltin forums, change their search to google search to power their search box.
          plz think about it, thanks for your kind cooperation.

          Comment


          • #6
            That is very nice but I thought Google was discontinuing site search next month.

            Did I miss something?
            Last edited by plongeur.com; Sat 3rd Mar '18, 8:55am.

            Comment


            • Glenn Vergara
              Glenn Vergara commented
              Editing a comment
              You're right. But that's Google Site Search where you can customize the look and feel to match your site (plus other features). But this one simply uses the "site:" keyword trick to search only within the specified URL and it redirects to Google search results page.

          • #7
            I have created a free mod that uses template hooks and does not require editing header template. Check it out here.

            GIPHY for vB5 AutoLinker Auto-Create Flag Report Topic Social Icons in Postbit Clear Cache Cron DragDrop Upload Topic AJAX AutoUpdate Custom Avatars Selector Stop Links in Posts...and more!

            Comment


            • #8
              Originally posted by Glenn Vergara View Post
              I have created a free mod that uses template hooks and does not require editing header template. Check it out here.
              Excellent work! Finally a functional Vbulletin 5 search. My site search was timing out, I take it that this may of been due to avg length (ton of content) of each post in the database.

              Anyhoot with Google search the end results are very quick.

              William

              Comment


              • #9
                I have to say a working vbsearch would be better but this is very good!
                one limitation is they Google will only index public content, so if you have private channels they won't appear.
                ​​​​​

                Comment

                Related Topics

                Collapse

                Working...
                X