Adam Melcher 2 Posted July 14, 2016 Share Posted July 14, 2016 I've been able to add the option in other community plugins to hide the plugin from the user's profile page if it's empty, but because I can't really do that in the jReviews plugins since they will be overridden in the next update, I am not sure how to set it up so if there are no listings, it doesn't leave a message, but rather doesn't enable the plugin at all. The way I've done it in the past is find the public function onProfileDisplay() and then for instance in the easyblog community plugin, I would add this : { if (!$this->exists()) { return; } How would you suggest I go about that in the jreviews community plugins? Thanks for your help. Adam Link to post
Solution Adam Melcher 2 Posted July 14, 2016 Author Solution Share Posted July 14, 2016 This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to post
Recommended Posts