Its not going to get any better performance since it will run the query if they can see it or not. I'm doing an If Else Statements if they have the permissions $show['value'] will equal true else false.
--------------- Added [DATE]1424139051[/DATE] at [TIME]1424139051[/TIME] ---------------
I might rewrite it so it will not run the query unless their in the usergroup that can view.
--------------- Added [DATE]1424140687[/DATE] at [TIME]1424140687[/TIME] ---------------
1.0.2 has better performance it will not run a query for user viewing forum or thread if they don't have the usergroup permissions
|