I can confirm that this solved the problem on my page..
(sneak peak) http://www.dealspy.org


| |||||||
| | LinkBack | Thread Tools | Display Modes |
| |||
| |
| |||
| 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. |
| |||
| don't know if this is something you could fix here as well, but tags with the '&' symbol don't work |
| |||
| Has anyone found a solution to that search bug? |
| ||||
| 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. |
| Thread Tools | |
| Display Modes | |
| |
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) | GrinGEO | Wiki Articles | 24 | 12-02-2007 12:27 PM |