Installed, and working just fine, thank you.
I do have a question on the following script enhancement.
Welo included the following:
Quote:
Originally Posted by welo
This will create a performance hit if you allow everyone access to it (especially guests). However, you can restrict the usergroups who can see the "who viewed" box (thus eliminating uneccessary queries) by wrapping all the injected template code in an <if> statement:
Code:
<if condition="in_array($bbuserinfo['usergroupid'], array( 5, 6, 7))">
<!-- who viewed this thread code-->
</if>
...will restrict viewing only to admins and mods. Add other usergroups at your discretion.
|
My question is on wrapping the injected template code with the above <if statement.
Where do I add this code?
Pretty much the same thing Bashy asked, but wasn't answered. Good to know I'm not the only one with this question... some what of a disclaimer
Thank You in advance,
WR