Register Chat Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
CES Wiki Simple Search Integration Details »»
CES Wiki Simple Search Integration
Mod Version: 1.0.3, by thincom2000 (Coder) thincom2000 is offline
Developer Last Online: Feb 2010 Show Printable Version Email this Page

vB Version: 3.6.x Rating: (5 votes - 3.40 average) Installs: 19
Released: 16 Jan 2007 Last Update: 03 Feb 2007 Downloads: 83
Supported Uses Plugins Template Edits  

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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	pop_search.gif
Views:	290
Size:	6.3 KB
ID:	59145

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 16 Jan 2007, 09:49
MaestroX MaestroX is offline
 
Join Date: Aug 2006
Real name: Chris A.
Great thankyou for this mod

Very usefull

*Installed
__________________
vBulletin Skins Zone - 3.8 Styles | What's Your Google Page Rank? | Get your online Identity at Avatar Dock
Reply With Quote
  #3  
Old 18 Jan 2007, 06:16
thincom2000 thincom2000 is offline
 
Join Date: Jun 2006
Real name: Ted
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.
Reply With Quote
  #4  
Old 18 Jan 2007, 07:04
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Real name: André
Great one!
Reply With Quote
  #5  
Old 27 Jan 2007, 16:29
sait.dogan's Avatar
sait.dogan sait.dogan is offline
 
Join Date: Dec 2006
Great, thank you for this mod.

Very usefull.
Reply With Quote
  #6  
Old 03 Feb 2007, 00:32
thincom2000 thincom2000 is offline
 
Join Date: Jun 2006
Real name: Ted
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.
Reply With Quote
  #7  
Old 19 Feb 2007, 15:45
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Real name: André
Nominated for HoM.
Reply With Quote
  #8  
Old 08 Mar 2007, 14:09
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Real name: Jan
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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I changed it to be "?search" instead of "&search" and uploaded it allowing overwrite.

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*

Last edited by RedGTiVR6 : 08 Mar 2007 at 14:29.
Reply With Quote
  #9  
Old 08 Mar 2007, 17:57
thincom2000 thincom2000 is offline
 
Join Date: Jun 2006
Real name: Ted
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.

???

Last edited by thincom2000 : 08 Mar 2007 at 18:02.
Reply With Quote
  #10  
Old 08 Mar 2007, 19:21
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Real name: Jan
hrmm - nothing was mentioned about an options menu in the Admin CP.

The instructions just stated upload the .xml and you're ready.
Reply With Quote
  #11  
Old 13 Mar 2007, 11:34
daFish's Avatar
daFish daFish is offline
 
Join Date: Nov 2002
Real name: Marcus
Great product. Thanks thincom2000.
Reply With Quote
  #12  
Old 04 Jun 2007, 04:15
myregistration myregistration is offline
 
Join Date: May 2007
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!


Last edited by myregistration : 04 Jun 2007 at 04:19.
Reply With Quote
  #13  
Old 04 Jun 2007, 05:19
MARKETPROFITS's Avatar
MARKETPROFITS MARKETPROFITS is offline
 
Join Date: Nov 2006
Real name: Koach
This is a great mod, installed!
Reply With Quote
  #14  
Old 04 Jun 2007, 06:53
thincom2000 thincom2000 is offline
 
Join Date: Jun 2006
Real name: Ted
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 04 Jun 2007, 10:45
myregistration myregistration is offline
 
Join Date: May 2007
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

* the keywords will be appended by code in format &search=keywords

Thanks!


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I replaced the above with the following code ...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by myregistration : 04 Jun 2007 at 22:56.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 20:06.

Layout Options | Width: Wide Color: