Author |
Message |
Canadaka
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Feb 10, 2006
Posts: 23
|
Posted:
Mon Apr 24, 2006 4:14 am |
|
I am looking for a better phpnuke search module.
one that searches the content module is important.
I had one that did this, but had to remove it because of this exploit: http://securityreason.com/achievement_securityalert/27
Right now i have the patched default nukesearch, which doens't search the contents module.
Would also be nice if one could add modules to the search, like gallery or universal_module.
The search module I had that at least did contents module was from http://www.nukestyles.com modified search 1.1 But i removed it because I got hacked through it, pretty sure anyways. So maybe there is an updated or patched version of that search module? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/44fbb573445a9d36e3110.jpg)
Joined: Sep 13, 2005
Posts: 259
Location: Cornfields of Indiana
|
Posted:
Mon Apr 24, 2006 7:22 am |
|
I have an Enhanced Search module. I am not sure it is the same one you are talking about with the exploit, but I have patched it with chatserv's patch instructions.
I can give a link to download it if you would like to at least look at it. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Canadaka
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Apr 24, 2006 1:24 pm |
|
yah for sure, would love to check it out. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
Site Admin
![](modules/Forums/images/avatars/41f0b40a419280935f3a0.gif)
Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Mon Apr 24, 2006 3:48 pm |
|
I highly recommend mSearch from webdever.net, though the site appears to be down at the moment. You might be able to find the download somewhere else. If not, let me know. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Canadaka
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Apr 24, 2006 4:32 pm |
|
i found mSearch the other day, but yes the site is down and I looked a fair amount for an alternate download source, didnt find anything, they all linked back to webdever.net |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Apr 24, 2006 4:39 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Canadaka
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Apr 24, 2006 5:33 pm |
|
cool thanks for the link, I actualy already have an account there too.
Would still be interested in myrtletrees search though.
Seems this search is flawed though. gives me some php access violations somretimes and when i search for something in "All" that i know is in revies it doesn't show up. but if i choose to only search reviews, then it does. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Apr 25, 2006 8:29 pm |
|
Strange... I haven't had any problems with it - it works well. Can your Nuke database user create tables in your database? I mean, is the database user specified in your config.php authorized to create tables? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Canadaka
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Apr 25, 2006 8:46 pm |
|
kguske wrote: | Strange... I haven't had any problems with it - it works well. Can your Nuke database user create tables in your database? I mean, is the database user specified in your config.php authorized to create tables? |
yuo the user can create tables, this module create tables on the fly? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Apr 25, 2006 8:48 pm |
|
Yes, it creates temporary tables to store the search results. What database are you using? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Canadaka
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Apr 25, 2006 8:56 pm |
|
mysql MyISAM table i think
4.1.2 I think
http://www.canadaka.net/msearch
Hmm i restarted the web server and it isn't giving my errors anymore. thats odd seems to be working better now. The forum search doens't seem very good though, maybe i will try modding it to only search forum titles... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Apr 25, 2006 9:12 pm |
|
You can configure which modules to search by disabling those you do not wish to search in the mSearch admin function. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Canadaka
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Apr 25, 2006 11:00 pm |
|
I see that you can disable modules, but the drop down list in the msearch admin is empty.
I made it so the forum search only searches topic titles though
just took out "OR (post_text like \'%'.$query.'%\')" in modules/forums.php
I think I will use this msearch, gunna mod the output display a bit.
Would be excellent if there was a module file for searching My_eGallery and Universal Module.
also under each search when theres a "x results" link, when i click it, the page is always blank. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Apr 26, 2006 8:38 pm |
|
It's pretty easy to modify, and to create new modules. Easier if you understand object-oriented concepts. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Canadaka
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Apr 27, 2006 2:51 pm |
|
I might be able to fumble my way around, will spend some time on it when I get some.
But the more results pages don't work, so thats a problem. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Apr 27, 2006 10:22 pm |
|
One thing - if you modify a file and create a backup in the same /modules/mSearch/modules directory OR use more than one module with the same class name, etc., you'll get a blank page. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Canadaka
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Apr 28, 2006 2:23 am |
|
hmm, nope I never did that. Only defauly files in /modules/mSearch/modules
I will try deleting the ones I don't need |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon May 01, 2006 6:06 pm |
|
Canadaka wrote: | cool thanks for the link, I actualy already have an account there too.
Would still be interested in myrtletrees search though.
Seems this search is flawed though. gives me some php access violations somretimes and when i search for something in "All" that i know is in revies it doesn't show up. but if i choose to only search reviews, then it does. |
Sorry, Ive been sooo busy.
Plus I had to tweak the Search module a little more..had some issues.
Here it is if you would like to give it a whirl!
http://www.barefootski.com/nuke/Search_Enhanced.zip
There may be some additional tweaking that needs ot be done, but I'm no PHP expert.
I did notice a wierd anomoly on one of my sites where I have a right block showing recent forum posts. When I use this module it throws the recent Forum posts block info into my Survey block on the right side..wierdest thing I think I have seen. Seems to affect the Survey Block...I'll have to investigate that closer.
EDIT - OKAY, I fixed that little problem...Something was up with the Forum search part of the script, but it seems to be sorted out now. Re-download if you haven't already.
P.S. This module seems to work with PHP-Nuke versions 7.0-7.6 with chatserv's patches and Nuke sentinel installed. |
Last edited by myrtletrees on Mon May 01, 2006 10:01 pm; edited 1 time in total |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon May 01, 2006 8:35 pm |
|
Cool. Thanks for following-up myrtletrees. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Canadaka
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon May 01, 2006 11:53 pm |
|
myrtletrees, thanks for your post. your module seems to work, had to modify the paths a bit. But you don't have a way to specify to just search reviews and such.
Also post the forum "post" results are just a blank line because most posts don't have a subject.
But other than that seems to work well and fast. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue May 02, 2006 6:10 am |
|
Canadaka wrote: | myrtletrees, thanks for your post. your module seems to work, had to modify the paths a bit. But you don't have a way to specify to just search reviews and such.
Also post the forum "post" results are just a blank line because most posts don't have a subject.
But other than that seems to work well and fast. |
yup, still needs some tweaking..But by far better than the "old" search module.
I guess I could try using the OLD one as a base and move the search queries for Forums, Content etc. to the old module...If I have time I'll play with it some more. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue May 02, 2006 6:31 am |
|
On line 333
change $post_subject
to
$post_text
That will fix the Forum search issue in topics. But it lists the whoel text of the posters post..but it is better than blank queries. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue May 02, 2006 7:27 am |
|
Here's the ORIGINAL Search module with Content and Forums serarch feature added. Selectable search areas is working. You can search in Content only or Forums only or Reviews only etc.
It will remain named Search module, just like the original in Nuke.
http://www.barefootski.com/nuke/Search_final.zip
let me know how it works for you all.
Oh my goodness..I just realized, I just triple posted...wow! ![Rolling Eyes](modules/Forums/images/smiles/icon_rolleyes.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Canadaka
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed May 03, 2006 1:28 am |
|
hmm the reviews select for Search_final doesn't work, it gets no results.
and this search is missing the most useful option, to search all the selectables. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
myrtletrees
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed May 03, 2006 8:05 am |
|
Canadaka wrote: | hmm the reviews select for Search_final doesn't work, it gets no results.
and this search is missing the most useful option, to search all the selectables. |
wierd, the Reviews search option is working on my test site....
Ther link was wrong for the reviews, but I just fixed that...re-download and replace your index.php file.
Also, I imagine I can modify it to search all...we'll see. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|