Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Search for multiple words
Goto page Previous  1, 2
 
Reply to topic    Forum Index » Additional Downloads View previous topic
View next topic
Search for multiple words
Author Message
azn_romeo_4u



Joined: 18 Sep 2008
Posts: 81

Post Reply with quote
I found a site that fixed the search problem

http://www.astrostart.nl/index.php

Saw it on someone's sig...forgot the username though, but his search works perfectly
Sat Sep 20, 2008 4:08 pm View user's profile Send private message
Guest








Please login to hide the ads.

nam



Joined: 23 Dec 2006
Posts: 141

Post Reply with quote
I think this site does not use the search script of CuteNews, it searches through google.
Sat Sep 20, 2008 4:36 pm View user's profile Send private message
azn_romeo_4u



Joined: 18 Sep 2008
Posts: 81

Post Reply with quote
http://www.astrostart.nl/index.php?searchword=earth&option=com_search&Itemid=60

Yea it does, but I think it might be using strawberry 1.1 couldn't the admin just copy the search over from strawberry into cutenewsru?
Sat Sep 20, 2008 10:12 pm View user's profile Send private message
Torstein



Joined: 03 Aug 2006
Posts: 119

Post Reply with quote
astrostart uses Joomla, not cutenews.
Sun Sep 21, 2008 12:16 pm View user's profile Send private message
azn_romeo_4u



Joined: 18 Sep 2008
Posts: 81

Post Reply with quote
scottdallas wrote:
And you were right! So, here's the modified show.news.php file we all need to make this multiple word search to work Smile


I took a 5 minute crack at it but couldn't figure it out either. You were on the right track with the search...but on the normal paginatiions, it gets screwed up.

Anyone figure out the bug? 1) Pagination doesn't work with two or more words search. 2) If you use scottdallas script, normal pagination doesn't work.
Fri Oct 10, 2008 9:53 am View user's profile Send private message
azn_romeo_4u



Joined: 18 Sep 2008
Posts: 81

Post Reply with quote
Alright, took another route to solve this problem.

Create two installations of cutenews, and for the main site use the default show.news.php For the search, use the 2nd installation of cutenews with the modify show.news.php. Because you hard coded the thing...it keeps adding the skip=xx on top of the previous skip, which is fine all since it'll only go after whatever is at the end of the query string. But what happens when the URL gets too long? Could be problematic

Edit: also make sure they connect to the same db, in config.php and point to the same URL for rufus or you're gonna get screwed.
Tue Oct 14, 2008 4:42 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    Forum Index » Additional Downloads All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to: 
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 cannot attach files in this forum
You can download files in this forum



Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Music Lyrics.