News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Search "Within this topic" works for admin but does not work for regular members

Started by gasman, April 08, 2024, 05:45:01 AM

Previous topic - Next topic

gasman

Hi all

I posted this a year ago, and it is still a problem

My users get zero results when they use the quick search restricted to "In This Topic".

Forum: good-music-guide.com/community
SMF 2.1.4

I have search allowed for guests, all users

Search is set to Fulltext index, and the index is created. I have enabled Force the Use of a Search Index.

All users can search the "Entire Forum", and within "This Board". 

Admin can search within "This Topic" and get good results. 

The Problem: Other users get zero results when searched within "This Topic", despite using the same search words as Admin.

All boards and all topics are visible to all users and guest.

Why does search within "This Topic" work for admin but not other users?

Cheers

Doug Heffernan

I got this error message when I tried to search in a topic.

You are not allowed to access this section.

shawnb61

Yep, confirmed.  I think this is a bug.

Guests get the not allowed message.

Regular users get a no results message.

Admins get proper results.
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Kindred

I believe this was reported ages ago.... 

yup
https://github.com/SimpleMachines/SMF/issues/7870


it got closed as not reproducible -- but I KNOW that I was able to reproduce this on 2.1.3 and 2.1.4 (can't find the original report on this site - but I knew it had made it to github at some point)


edit: found it
https://www.simplemachines.org/community/index.php?topic=584342.0
https://www.simplemachines.org/community/index.php?topic=586646.0

https://www.simplemachines.org/community/index.php?topic=585596.0
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

shawnb61

I bet folks tested using their admin accounts....

The only one that works... 
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

gasman

Yep, Search "this topic" works fine for Admin. But I logout of Admin and logging as a regular user, and I get no results for search within "This Topic" on my forum.

Interestingly, it works fine on this SMF Community forum, and I'm just a regular member.

Advertisement: