Go Back   Pligg CMS Forum > Pligg Development > Bug Report

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 04-17-2006, 03:10 PM
Casual Pligger
 
Join Date: Feb 2006
Posts: 94
Thanks: 0
Thanked 2 Times in 2 Posts
I can confirm that this solved the problem on my page..

(sneak peak) http://www.dealspy.org
Reply With Quote
  #12 (permalink)  
Old 05-02-2006, 07:51 AM
Constant Pligger
 
Join Date: Apr 2006
Posts: 122
Thanks: 1
Thanked 1 Time in 1 Post
This works even with two character tags. I was disappointed to see it wasn't included in the R63 release. I went ahead and implemented it so I hope this becomes the official fix for this bug.
Reply With Quote
  #13 (permalink)  
Old 05-02-2006, 10:46 PM
Casual Pligger
 
Join Date: Feb 2006
Posts: 94
Thanks: 0
Thanked 2 Times in 2 Posts
don't know if this is something you could fix here as well, but tags with the '&' symbol don't work
Reply With Quote
  #14 (permalink)  
Old 05-12-2006, 04:23 PM
New Pligger
 
Join Date: Mar 2006
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Has anyone found a solution to that search bug?
Reply With Quote
  #15 (permalink)  
Old 05-16-2006, 12:04 AM
AshDigg's Avatar
Coder
 
Join Date: Dec 2005
Posts: 1,574
Thanks: 235
Thanked 345 Times in 206 Posts
Thanks onemc for working on this. There is a small problem. If you're on the "tag cloud" page, and you're looking at tags within the last 30 days, and you click on a tag, it will say on the page "search results for <SEARCHTERM> within the last 30 day(s)" but it will actually show ALL (not just last 30) stories with the word(s) you've searched for. It will also search "discarded" stories (which you may want, but most people won't).

I havn't fully tested this yet.


What I think may work (also not fully tested), is near the top of index.php you'll see "$search = get_search_clause();" The function get_search_clause is in the /libs/utils.php file. Line 129 says this....

$where = " AND MATCH (link_url, link_url_title, link_title, link_content, link_tags) AGAINST ('$words' $mode) ";

but using some of the code above, if you change to...

$where = " AND tag_words='$words' AND link_id=tag_link_id ORDER BY `link_votes` DESC";

You also want to change line 38 of index.php from this.... $from_where = "FROM links WHERE link_status!='discard' ";

to this....

$from_where = "FROM links, tags WHERE link_status!='discard' ";

If you do this, you'll want to undo onemc's changes first.

Again, I havn't fully tested any of this yet...
__________________
- Ash

Last edited by AshDigg; 05-16-2006 at 12:09 AM..
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
First Ever Meta-Community/Social Search Engine lodispoto My Pligg Site 0 12-23-2007 11:03 AM
SEO (Search Engine Optimization) Yankidank Wiki Articles 23 12-02-2007 12:27 PM
Search Method 3 and 4 in Pligg version 9.8.2 broke Iceburg Bug Report 3 11-03-2007 07:03 PM
cannot search 2 fields cruci Bug Report 1 11-15-2006 06:17 AM


Search Engine Friendly URLs by vBSEO 3.2.0