Quote:
Originally Posted by Simon Lloyd
Just wrap the contents of these templates in a conditional
mrnasesimilarthreadcheck_header
mrnasesimilarthreadcheck_main
HTML Code:
<!-- show the following in the listed forums -->
<if condition="in_array($forumid, array(1,2,3))">
CODE FOUND IN THE TEMPLATE
<else />
</if>
|
Same can be done for usergroups. Overall, ranking users will have less need for this functionality than newbies.
Like this:
HTML Code:
<!-- show the following to the listed usergroups -->
<if condition="is_member_of($bbuserinfo,1,2,3)">
CODE FOUND IN THE TEMPLATE
</if>
It would be nice to have a setting for usergroups in adminCP though.
Mind that jquery 1.4.4 is out, so the listed version of jquery.min.js (1.2.6) is outdated.
So in mrnasesimilarthreadcheck_header
replace:
HTML Code:
<script type="text/javascript" src="clientscript/jquery-1.2.6.min.js"></script>
With:
HTML Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>