Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
CES Wiki Simple Search Integration Details »»
CES Wiki Simple Search Integration
Version: 1.0.3, by thincom2000 thincom2000 is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.6.x Rating:
Released: 01-15-2007 Last Update: 02-02-2007 Installs: 18
Uses Plugins Template Edits
 
No support by the author.

CES WIKI SIMPLE SEARCH INTEGRATION
Version: 1.0.3
Works with MediaWiki 1.6.8+, vbWiki Standard, and vbWiki Pro.

*** NEWS ***
2/2/2007 - v1.0.3 released
1/20/2007 - v1.0.2 released
1/16/2007 - v1.0.0, v1.0.1 released

Products to Install: 1
Plugins Included: 1
Files to Upload: 0
Template Edits: 2
Files to Edit: 0

What It Does:
Combines the Wiki & Forum search fields, allowing users to search the Wiki from your forum. If you are using vbWiki Pro and using the vBulletin skin, now you can get rid of the extra search box, because vBulletin's will do both!

The way it works is: if you are searching the forum, it takes you to the normal forum results page. If you select the option to Search the Wiki, instead it automatically takes you to the Special:Search page displaying the appropriate results, forwarding the article, or if it doesn't exist, telling you to create the page.

*** Changelog ***
As of Version 1.0.3:
- fixed bug where Advanced Search for posts would return threads
- updated template edits: search_forums

As of Version 1.0.2:
- Fixed bug where uninstalling other CES products would make some settings disappear

As of Version 1.0.1:
- If article exists, load the article.
- If article doesn't exist, display "you can create" message.

*** Screenshots ***
1. Pop-up Navbar Search

Show Your Support

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

Comments
  #12  
Old 03-13-2007, 09:34 AM
daFish's Avatar
daFish daFish is offline
 
Join Date: Nov 2002
Location: Germany
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great product. Thanks thincom2000.
Reply With Quote
  #13  
Old 06-04-2007, 02:15 AM
myregistration myregistration is offline
 
Join Date: May 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!

Reply With Quote
  #14  
Old 06-04-2007, 04:53 AM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by myregistration View Post
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.
Reply With Quote
  #15  
Old 06-04-2007, 08:45 AM
myregistration myregistration is offline
 
Join Date: May 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #16  
Old 02-27-2008, 06:20 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone know if this will work with 3.7?
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 11:55 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.05979 seconds
  • Memory Usage 2,260KB
  • Queries Executed 20 (?)
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
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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