Anonymous Login
04-20-2018 11:46 PM

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004723SMF 2.1[SMF 2.0] Generalpublic2013-10-26 23:18
Summary0004723: Admin Panel search does not check for enabled/disabled core features
DescriptionIf you search for a term in the admin panel you will presented with a list of possible matched terms, these terms will match even if you have a core option disabled
Steps To Reproduceinstall clean trunk or RC5
verify that paid subscriptions is disabled in core features
go back to main admin page and search for the term email

the last 3 selections are for the paid subscriptions feature

Send Notification Emails [Setting]
Email for Correspondence [Setting]
Paypal email address [Setting]
Additional InformationIf you have a core feature disabled links to their settings should not show up ideally in the admin panel search.

this can also be duplicated by searching for search engine when search engine tracking is disabled the 3rd result shows the same issue
TagsNo tags attached.
Attached Files




Labradoodle-360 (SMF Friend)

My guess would this should either not show up in the search, or redirect to core features.


Antechinus (SMF Friend)

Ideally this would not happen, but given how minor it is and how late in our schedule we are now, I suggest this be left for 2.1.


Norv (SMF Friend)

I'm not sure the results should not appear... It can useful when you forgot or don't know where/what they are.


Illori (Project Support)

well the problem is those links just lead you to the admin main page which is not where the link should direct you to when the core features are enabled. when they are enabled they direct you to the correct page, so when you have a core feature disabled the search should not find anything that is for a feature that is disabled.


Norv (SMF Friend)

Yes, if they appear in search, they should then appear as greyed out and without links directing to anything. Not release-critical.


emanuele (Viewer)

Last edited: 2012-03-03 10:04

View 2 revisions

Commit: 1089407d42db05103b3b98fccf822fde97cb7bc1
Message: ! when few admin pages (some core features and custom smiley and message icons) are disabled the page is no more accessible [Bug 4723]
Author: emanuele
Date: 22/02/2012


emanuele (Viewer)

The original problem is a bit more complex to solve.

The three settings are get because of this:
    [0] => paid_email
    [1] => area=paidsubscribe;sa=settings

the code checks that the searched term is present in [0] and email is found.

Calendar related settings are instead similar to:
            [0] => cal_days_for_index
            [1] => area=managecalendar;sa=settings

so, if the search is cal all the calendar setting will appear.

So the result is rather...random...



arrowtotheknee (SMF Friend)

2.1 doesn't have a core features page now anyway.
MantisBT (Modified for SMF Intergration)[^] Copyright © 2000 - 2010 Mantis Group