For the mention users component I am writing I am thinking I might want it to adjust the query for the users to whether or not they have the Display User Names 1.2 component installed and enabled for example. I would would user the user->fullname from a Users object when its not installed/enabled but if it is installed AND enabled I would adjust to use user->username from the Users object.
But the simple question is, is there a quick or easy/preferred way to tell if a separate component is installed and query whether or not that component is enabled or disabled?
Ugh, I'm a putz, thanks for the info and the reminder to read the docs Arsalan!
https://www.opensource-socialnetwork.org/references/ossn_8lib_8components_8php.html#ad6ad5474579455c6e08b3c3328a4a7a1
if(com_is_active('DisplayUsername')){
//your stuff
}
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)