PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old March 15th, 2012, 05:45 PM   #1 (permalink)
Member
 
Join Date: May 2010
Posts: 97
Clicking on keywords returns unexpected results

When clicking on a keyword that a photo is tagged with, any photo that had a word with the keyword contained in it is also returned. For example, if you click on the keyword "cat", images with vacation, alcatraz, and ducati are returned.

Is there a way to turn on whole words on keyword searches?
tavenger5 is offline   Reply With Quote
Old March 15th, 2012, 05:51 PM   #2 (permalink)
Member
 
Join Date: May 2010
Posts: 97
ah, nevermind, figured it out. Edited template adv_gallery_showimage_keywordbit to add marchwholeword=1
Code:
Content visible to verified customers only.
tavenger5 is offline   Reply With Quote
Old March 15th, 2012, 05:52 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Ok glad you are sorted
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 15th, 2012, 06:06 PM   #4 (permalink)
Member
 
Join Date: May 2010
Posts: 97
Actually, that is only returning results with "cat" in pagetext - I guess matchwholecase doesn't apply to quicksearch. hrm
tavenger5 is offline   Reply With Quote
Old March 15th, 2012, 06:19 PM   #5 (permalink)
Member
 
Join Date: May 2010
Posts: 97
If I don't use quicksearch, I have to put in what categories I want in the url - what do I use for all categories? catid= ?
tavenger5 is offline   Reply With Quote
Old March 15th, 2012, 07:19 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Yes quick search may not have all the features of the full search that is true about either gallery product we release.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 16th, 2012, 09:41 AM   #7 (permalink)
Member
 
Join Date: May 2010
Posts: 97
Ah I see.

So I'm trying it without quicksearch, and have this:
http://nikonites.com/gallery/search....ord=1&catids=0

any idea what to put for catids to search all categories?
tavenger5 is offline   Reply With Quote
Old March 16th, 2012, 10:55 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
why are you trying to do some url thing?

Our searches are done through a post action on the form on your actual site. I explained that any quicksearch box may not have all options the normal page would but either of those searches are done through the site page. I am confused now as your posting in a bug forum and I am not seeing an issue to respond to here because you keep asking about how to forumate some type of search url outside the normal parameters of the search engine. Please clarify here.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 16th, 2012, 11:56 AM   #9 (permalink)
Member
 
Join Date: May 2010
Posts: 97
I originally posted this as a bug because, like the title says, clicking on a keyword returns unexpected results. There's really no reason for the system to return results of words within words.

So, I'm trying to resolve the problem by changing the parameters contained in adv_gallery_showimage_keywordbit without rewriting the code in search.php
tavenger5 is offline   Reply With Quote
Old March 16th, 2012, 12:21 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
I would have to see how vbgallery is suppose to work. I know most any search could provide any instance it finds of say dog or cat or whichever in any fields specified.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 16th, 2012, 12:42 PM   #11 (permalink)
Member
 
Join Date: May 2010
Posts: 97
I understand that there would be cases for search that you would want words within words (vbulletin handles that with wildcards vs vbgallery's straight up 'contains' match), but in the case of keywords/tags, words within words should definitely not be used.

In my case this was brought about because members were getting confused by the results. I investigated.
tavenger5 is offline   Reply With Quote
Old March 16th, 2012, 02:11 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
I will pass along your comments to that products specific developer so he can think about if he would want to handle things differently.

Photopost handles searchs the same way so it is not a bug. Basically I think the case is in a gallery they want all possible results returned so like I know there was a photo on charlie chaplin here on our site in Pro.

I enter chap and it returns any results with phrase chap.


Search - PhotoPost Photo Gallery
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old March 17th, 2012, 07:58 AM   #13 (permalink)
Member
 
Join Date: May 2010
Posts: 97
Thanks!

It looks like it handles keywords differently though...

PhotoPost Photo Gallery -

Edit: I guess it doesn't, nevermind
tavenger5 is offline   Reply With Quote
Old March 17th, 2012, 07:59 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,689
Yep how we handle keywords and searches is how I have explained. There is not a bug.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Clicking any gallery returns to forum photoforum.com.a Photopost Pro How Do I...? 3 April 13th, 2010 06:07 PM
Something new and unexpected... again Deviant K1 Photopost Pro How Do I...? 3 April 23rd, 2009 02:37 AM
Clicking on link returns blank page. redbone ReviewPost Bug Reports 1 August 29th, 2007 05:02 PM
Unexpected Error 1 issues Cazzzidy Photopost Pro Installation & Upgrades 2 December 16th, 2006 09:08 PM


All times are GMT -5. The time now is 11:04 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0