Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 31, 20195 yr Hi all, We have some fixed search links in our menu bar, mainly to show several user groups. Something like: https://www.dummysite.com/search/?&type=core_members&joinedDate=any&group[8]=1&group[4]=1&group[26]=1&group[20]=1&group[6]=1&group[3]=1&group[25]=1&group[7]=1&group[21]=1 Since recently they are not working anymore and just refer to https://www.dummysite.com/search/ Tried it with several other searches, the actual live search works, but once you paste the URL it just goes to above default URL. Can somebody confirm this behavior and/or has a solution?
July 31, 20195 yr Author Seems like it is due to missing the "&q=" attribute in the link. If I change https://www.dummysite.com/search/?&type=core_members&joinedDate=any&group[8]=1&group[4]=1&group[26]=1 to (added "&q=a") https://www.dummysite.com/search/?&q=a&type=core_members&joinedDate=any&group[8]=1&group[4]=1&group[26]=1 it will work, but only result in members with a trailing A in their name. Tried several obvious options to show all (e.g. *, "", '', etc) but that doesn't seem to work In short, I can't provide an URL to show all members of a certain group.
July 31, 20195 yr Author 🤔 adding a single space as search term seems to create a workaround If I change https://www.dummysite.com/search/?&type=core_members&joinedDate=any&group[8]=1&group[4]=1&group[26]=1 to (added "&q=%20") https://www.dummysite.com/search/?&q=%20&type=core_members&joinedDate=any&group[8]=1&group[4]=1&group[26]=1 that will do the trick
July 31, 20195 yr I would just use &tags=X since tags is ignored for member searches. You were using an undocumented feature that had to be adjusted to resolve an issue. There is still a workaround though, as you've found.
August 1, 20195 yr Author 15 hours ago, bfarber said: I would just use &tags=X since tags is ignored for member searches. Splendid, that might even work better. Had no idea it was an undocumented feature. It worked for a long time till recently. On the same hand, it seems fair to me that a generated search URL can be re-used (shared or saved as favorite). We use them in our menu bar, but the principle stays the same. Anyway, our issue is solved with a workaround and maybe the generated URL will be corrected in future releases. Thank you for your reply @bfarber.
August 1, 20195 yr On 7/31/2019 at 10:21 AM, bfarber said: I would just use &tags=X since tags is ignored for member searches. You were using an undocumented feature that had to be adjusted to resolve an issue. There is still a workaround though, as you've found. Wow ok. We def use this feature. We allow custom profile fields in member posts to be clicked and pull up a listing of members with the same field. Quite useful (feature suggestion?)! Example would be for country names, etc...
August 2, 20195 yr Thanks, I reformatted the search URL to: https://my_community.com/forums/search/?&type=core_members&joinedDate=any&group[10]=1&group[3]=1&group[6]=1&tags=X and that works. 😉
August 13, 20195 yr WOW, glad to see that Im not the only one using the member search url and pasting the links in my community. Thanks @Marc Stridgen for pointing me to this topic to fix my broken url. Thanks @bfarber for workaround by adding &tags=X in the end of search string. Maybe IPB can come up with some more clean way to share URL's in future.
August 14, 20195 yr Author Would it not be easier if they just fix it again? It worked as expected up to the last update.
Archived
This topic is now archived and is closed to further replies.