The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
CES Wiki Simple Search Integration Details »» | |||||||||||||||||||||||||
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
|
Comments |
#2
|
|||
|
|||
Great thankyou for this mod
Very usefull *Installed |
#3
|
|||
|
|||
You're welcome. I actually originally tried writing a Full Search Integration, where it would allow selecting Advanced Criteria for both in one search, and show results from both on the same page. However, that required replacing vBulletin's search.php, and it was a pain to get the two sets of results to synchronize. The script was slow, had too many queries, and I just got fed up with doing it.
So I came out with this SIMPLE version. |
#4
|
||||
|
||||
Great one!
|
#5
|
||||
|
||||
Great, thank you for this mod.
Very usefull. |
#6
|
|||
|
|||
Hm... so I see no one found this bug in all this time.
v1.0.2 and lower has the following bug: In Advanced Search, with "Search Forums" selected - selecting "Show Results as -> Threads" will return results as Threads. selecting "Show Results as -> Posts" will return results as Threads. This issue has been fixed in v1.0.3 with a new template edit for template search_forums. You should revert the template before doing this or it won't solve anything. |
#7
|
||||
|
||||
Nominated for HoM.
|
#8
|
|||
|
|||
Quick issue.
I didn't see it noted in the instructions. I've uploaded this and made the changes to the templates, but when I try and search in the Wiki, I'm taken to a completely different web page: http://www.yourdomain.com/dtz4.php I realized that this probably ment that there was something in the code that was calling http://www.yourdomain.com So I went into the .xml file and found it once. Uploaded again (allowing overwrite) and tried it again. Worked. Now I'm running into issues with the actual link. I'm not sure if this is just something with our wiki....but it needs the index.php after wiki/ (so /wiki/index.php). Changed this in the .xml as well and I've found a new issue. Now I'm getting a problem with the link that is generated: This link works: http://www.mp3car.com/wiki/index.php...?search=tuning This link doesn't: http://www.mp3car.com/wiki/index.php...h=tuning&go=Go The first link is one that I get when using the WIKI search function. The second is what I get when using the modified search function. OK - figured it out. In the .xml file I searched for "&search" and found it in here: Code:
<![CDATA[$globals = array_merge( $globals, array( 'showwiki' => TYPE_UINT ) ); $vbulletin->input->clean_array_gpc('r', $globals); if ($vbulletin->GPC['showwiki'] == 2) { exec_header_redirect( $vbulletin->options['wiki_search_path'] . '&search=' . $vbulletin->GPC['query'] . '&go=Go' ); } else if ($vbulletin->GPC['showwiki'] == 1) { $vbulletin->GPC['showposts'] = true; } else if ($vbulletin->GPC['showwiki'] == 0) { $vbulletin->GPC['showposts'] = false; }]]> Now the search function works fine. I'm not sure if these issues are specific to our forum and our wiki or if this is an issue that would be common on all wikis/forums, but I wanted to outline what I had to do to solve it incase someone else runs into the same issues. *installed* |
#9
|
|||
|
|||
Hi, these seem to be isolated issues with your setup. I'm a little bit perplexed why you needed to edit the XML to change www.yourdomain.com specifically. There should have been a setting for this in the AdminCP, as well as a setting for the path to Special:Search that you could have played with until it went to the correct page.
It may have something to do with using /wiki/index.php/Special:Search instead of just /wiki/Special:Search, in your particular setup. I have had no problems using & instead of ? on such setups in the past. ??? |
#10
|
|||
|
|||
hrmm - nothing was mentioned about an options menu in the Admin CP.
The instructions just stated upload the .xml and you're ready. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|