31
noo-b
Re: Xoops Search - A Better Implementation?
  • 2007/11/10 15:12

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


Quote:

nachenko wrote:
I use a search module developed by
Dan Musil and Jirka Vrba (http://www.qcm.cz)

It's just a modularized copy of the search engine, modified to use Smarty templates (oh, yes!), so you can tune looking and working without modyfing the core.

It's old, but still recommended. I think it' a good starting point for anyone that wants to improve the search engine. Instead of hacking the core, you just work on a module that can be removed at any time.

NOTICE: old version had a bug. I send them the fix, but don't know if they released a new version with the fix.


hello nachenko....can you post the download link here....
I Love Xoops

32
noo-b
Re: Xoops Search - A Better Implementation?
  • 2007/11/10 15:15

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


how to implement this hack by rlankford in XOOPS 20171

can please somebody give a guide

thanks
I Love Xoops

33
rlankford
Re: Xoops Search - A Better Implementation?
  • 2007/11/11 16:28

  • rlankford

  • Not too shy to talk

  • Posts: 158

  • Since: 2004/8/27


I've updated the zip file containing the hack's contents. It now includes an install script that will allow you to install the hack onto an existing install of Xoops.

Version 2007/11/11 of the search hack: Download Now

Here is the updated readme inside the file:

Quote:

Search Patch for XOOPS 2.0.16

-- rlankford --

2007/11/11

-----------------------

Patch assembled and submitted for XOOPS Core inclusion by rlankford at the request of marcan. Please see this post for more information:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=60067&viewmode=flat&order=ASC&start=10#forumpost269844

-----------------------

To test this patch (before XOOPS is installed):

1) Before actually installing Xoops, unzip the files in this zip file and overwrite the files in your 'xoops' directory (the root of Xoops).
2) Install XOOPS as normal.
3) Verify search preferences in the XOOPS admin panel (three new preferences added by the patch).
4) Exercise the search engine on Xoops. Be sure to try both the shallow (the way it always has been) and deep (slower, but more information presented) search methods...

-----------------------

To test this patch (after XOOPS is installed):

1) Unzip the files in this zip file and overwrite the files in your 'xoops' directory (the root of Xoops).
2) Run the 'update_search.php' script (example:http://localhost/xoops/update_search.php).
3) Update the 'System Admin' module.
4) Verify search preferences in the XOOPS admin panel (three new preferences added by the patch).
5) Exercise the search engine on Xoops. Be sure to try both the shallow (the way it always has been) and deep (slower, but more information presented) search methods...
6) Delete the 'update_search.php' file from your root XOOPS folder.


-----------------------

Changes Made:

1) \search.php -- Modes rewrite of the entire search page to support expanded functionality.
2) \include\searchform.php -- file no longer sends HTML output directly to screen. Rather, the render method now returns the HTML output so that it can be sent to the new search Smarty template instead.
3) images\search\* -- a series of graphics files called by the new search template.
4) \modules\system\xoops_version.php -- Search template definition added.
5) \modules\system\templates\system_search.html -- New system search Smarty template used by search.php for rendering HTML output.
6) \install\index.php -- Added 3 new configuration settings.
7) \install\makedata.php -- Added 3 new configuration settings.
8) \modules\system\language\english\admin\preferences.php -- defined several strings used by the new configuration settings.


I hope this helps.

34
noo-b
Re: Xoops Search - A Better Implementation?
  • 2007/11/11 16:48

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


hi rlankford, is this new patch you released is for XOOPS 20171 or just for 2016?

i tried to add it to my 20171 site and when i click the upgrade button nothing happens...
I Love Xoops

35
rlankford
Re: Xoops Search - A Better Implementation?
  • 2007/11/11 17:57

  • rlankford

  • Not too shy to talk

  • Posts: 158

  • Since: 2004/8/27


I haven't tried it on XOOPS 2.0.17.1 yet. Sorry.

The upgrade script simply runs three insert statements against the 'config' table. I'm surprised you are having trouble. Can you turn on debug mode and check to see what might be wrong?

I'll try it with version 17 at some point, but it can't be today ... sorry.

36
noo-b
Re: Xoops Search - A Better Implementation?
  • 2007/11/11 18:46

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


never mind..I've succeeded in installing the patch with some few errors

- no extra option in Preference/search
- search result x corect

hope you can release a patch for 20171 in the future

thanks
I Love Xoops

37
limecity
Re: Xoops Search - A Better Implementation?
  • 2007/11/20 23:33

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


i could start a new topic in XOOPS due to some reason that i am not allowed =_=

I wanted to ask if there is anyway I can log the search keyword? from both search engine and within xoops?

like how wordpress does it. showing all the popular search tags.
http://www.mounthiking.com
all your hiking gears and gadgets


38
kurak_bu
Re: Xoops Search - A Better Implementation?
  • 2007/11/21 13:57

  • kurak_bu

  • Quite a regular

  • Posts: 342

  • Since: 2005/9/5 1


limecity, you can log searched words by using iSearch module. It collects phrases from XOOPS search engine

39
trabis
Re: Xoops Search - A Better Implementation?
  • 2008/5/10 23:56

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Here is a module I´ve made based in this sugestions/script, smart2(s-martinez.com) autocompleter and instant-zero isearch:

I rename it to mysearch, please try it.
http://code.google.com/p/xuups/downloads/list

40
giba
Re: Xoops Search - A Better Implementation?
  • 2008/5/11 1:18

  • giba

  • Just can't stay away

  • Posts: 638

  • Since: 2003/4/26


Thanks Trabis for share.

Feedback:

Directed testing basic installation, upgrade, custom blocks, type of searches and not encountered any error.

Language portuguese - mysearch 1.0 by trabis

Login

Who's Online

211 user(s) are online (149 user(s) are browsing Support Forums)


Members: 0


Guests: 211


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits