• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Implemented Make _getNotableMembers extensible

Lior.

Well-known member
#1
Right now, the _getNotableMembers defines the available notable members types, then fetches the users and returns the result.

This makes it impossible to extend the notable members page and add more types of notable members.

Edit: Actually, just noticed that the function returns false if the type doesn't exist in the defined types map, so it's actually possibly to extend it. Still probably not the best design.
 

Mike

XenForo developer
Staff member
#2
It is extendable -- you can react if it's the type you're after and return the default/parent version otherwise.