Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
Canadaka
New Member
New Member



Joined: Feb 10, 2006
Posts: 23

PostPosted: Mon Apr 24, 2006 4:14 am Reply with quote

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?
 
View user's profile Send private message Visit poster's website
myrtletrees
Involved
Involved



Joined: Sep 13, 2005
Posts: 259
Location: Cornfields of Indiana

PostPosted: Mon Apr 24, 2006 7:22 am Reply with quote

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.
 
View user's profile Send private message
Canadaka







PostPosted: Mon Apr 24, 2006 1:24 pm Reply with quote

yah for sure, would love to check it out.
 
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Mon Apr 24, 2006 3:48 pm Reply with quote

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!
 
View user's profile Send private message
Canadaka







PostPosted: Mon Apr 24, 2006 4:32 pm Reply with quote

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
 
kguske







PostPosted: Mon Apr 24, 2006 4:39 pm Reply with quote

I found it at http://warp-speed.de. Version 3.01 is the latest.
 
Canadaka







PostPosted: Mon Apr 24, 2006 5:33 pm Reply with quote

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.
 
kguske







PostPosted: Tue Apr 25, 2006 8:29 pm Reply with quote

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?
 
Canadaka







PostPosted: Tue Apr 25, 2006 8:46 pm Reply with quote

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?
 
kguske







PostPosted: Tue Apr 25, 2006 8:48 pm Reply with quote

Yes, it creates temporary tables to store the search results. What database are you using?
 
Canadaka







PostPosted: Tue Apr 25, 2006 8:56 pm Reply with quote

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...
 
kguske







PostPosted: Tue Apr 25, 2006 9:12 pm Reply with quote

You can configure which modules to search by disabling those you do not wish to search in the mSearch admin function.
 
Canadaka







PostPosted: Tue Apr 25, 2006 11:00 pm Reply with quote

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.
 
kguske







PostPosted: Wed Apr 26, 2006 8:38 pm Reply with quote

It's pretty easy to modify, and to create new modules. Easier if you understand object-oriented concepts.
 
Canadaka







PostPosted: Thu Apr 27, 2006 2:51 pm Reply with quote

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.
 
kguske







PostPosted: Thu Apr 27, 2006 10:22 pm Reply with quote

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.
 
Canadaka







PostPosted: Fri Apr 28, 2006 2:23 am Reply with quote

hmm, nope I never did that. Only defauly files in /modules/mSearch/modules
I will try deleting the ones I don't need
 
myrtletrees







PostPosted: Mon May 01, 2006 6:06 pm Reply with quote

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 
kguske







PostPosted: Mon May 01, 2006 8:35 pm Reply with quote

Cool. Thanks for following-up myrtletrees.
 
Canadaka







PostPosted: Mon May 01, 2006 11:53 pm Reply with quote

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.
 
myrtletrees







PostPosted: Tue May 02, 2006 6:10 am Reply with quote

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.
 
myrtletrees







PostPosted: Tue May 02, 2006 6:31 am Reply with quote

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.
 
myrtletrees







PostPosted: Tue May 02, 2006 7:27 am Reply with quote

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
 
Canadaka







PostPosted: Wed May 03, 2006 1:28 am Reply with quote

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.
 
myrtletrees







PostPosted: Wed May 03, 2006 8:05 am Reply with quote

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.... Question
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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©