Page 1 of 1

Poll results viewable by admin only until member has voted

Posted: Thu Jan 01, 2009 10:58 am
by Wookie1664
I couldn't find a way to do this here, but worked out how to do it. Make poll results visible to admins only, until member has voted by editing viewtopic_body.html


Code: Select all

					<dd class="resultbar"><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></dd>
Change to

Code: Select all

					<!-- IF U_ACP --><dd class="resultbar"><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></dd><!-- ENDIF -->
I guess you could do the same for mods too but I have not tried it, I'm just posting this as when I was searching here earlier for a solution I saw that a few people where looking for a similar thing.

If this is a bad thing to do...please let me know.