vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Integration with vBulletin - CES Wiki Simple Search Integration (https://vborg.vbsupport.ru/showthread.php?t=136644)

daFish 03-13-2007 09:34 AM

Great product. Thanks thincom2000. :)

myregistration 06-04-2007 02:15 AM

Hi,

I have vBulletin 3.6.7, MediaWiki, and vbWikiPro installed.

I've installed this Plugin with but it's not replacing the old Search popup in the vBulletin navbar. Any advice? Thanks!

:)

thincom2000 06-04-2007 04:53 AM

Quote:

Originally Posted by myregistration (Post 1260736)
I've installed this Plugin with but it's not replacing the old Search popup in the vBulletin navbar. Any advice? Thanks!

There are template edits mentioned in the readme.txt.

myregistration 06-04-2007 08:45 AM

Hi thincom2000, thanks for your quick response!

My current version of vBulletin is 3.6.7. Has the replacement code changed with version vBulletin 3.6.7? I was able to modify the popup box, but the change I had to make to the navbar Search popup was a little different than the readme.txt file, described below.

When I submit a search in the popup box on the vbulletin pages it works fairly well. Though, if no Article search results are found it redirects me to my website's login page.

When I use the popup on the Wiki side, it takes me to the vBulletin search page and does not auto fill the keywords for the query field.

For the Wiki side, do I need to configure MediaWiki or vbWikiPro for the hook? Any ideas?

For the Special:Search page url, the following format worked best for my environment:
Code:

http://www.yourdomain.com/forum/index.php?ns0=1&searchx=Search
* the keywords will be appended by code in format &search=keywords

Thanks! :)

Code:

<!-- NAVBAR POPUP MENUS -->
       
        <if condition="$show['searchbuttons']">
        <!-- header quick search form -->
        <div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr>
                        <td class="thead">$vbphrase[search_forums]</td>
                </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">
                        <form action="search.php" method="post">
                                <input type="hidden" name="do" value="process" />
                                <input type="hidden" name="showposts" value="0" />
                                <input type="hidden" name="quicksearch" value="1" />
                                <input type="hidden" name="s" value="$session[sessionhash]" />
                                <input type="text" class="bginput" name="query" size="20" />&nbsp;$gobutton<br />
                        </form>
                        </td>
                </tr>
                <tr>
                        <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
                </tr>
                </table>
        </div>
        <!-- / header quick search form -->
        </if>

I replaced the above with the following code ...

Code:

<!-- NAVBAR POPUP MENUS -->
       
        <if condition="$show['searchbuttons']">
        <!-- header quick search form -->
        <div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
        <form action="search.php" method="post">
                <table cellpadding="4" cellspacing="1" border="0">
                <tr>
                        <td class="thead">$vbphrase[search_forums]</td>
                </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">
<!-- *** OMITTING THE FOLLOWING FIELDS ***
                                <input type="hidden" name="do" value="process" />
                                <input type="hidden" name="showposts" value="0" />
                                <input type="hidden" name="quicksearch" value="1" />
                                <input type="hidden" name="s" value="$session[sessionhash]" />
-->
                                <input type="text" class="bginput" name="query" size="20" />&nbsp;$gobutton<br />
                        </td>
                </tr>
                <tr>
                        <td class="vbmenu_option" title="nohilite">
                                <label for="rb_nb_sp0"><input type="radio" name="showwiki" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
                                <br>
                                <label for="rb_nb_sp1"><input type="radio" name="showwiki" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
                                <br>
        <label for="rb_nb_sp2"><input type="radio" name="showwiki" value="2" id="rb_nb_sp2" tabindex="1004" />$vbphrase[show_wiki]</label>
                        </td>
                </tr>
                <tr>
                        <td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
                </tr>
                </table>
        </form>
        </div>
        <!-- / header quick search form -->
        </if>


RedGTiVR6 02-27-2008 06:20 PM

anyone know if this will work with 3.7?


All times are GMT. The time now is 03:25 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.00982 seconds
  • Memory Usage 1,748KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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