Poll results viewable by admin only until member has voted

Discussion forum for MOD Writers regarding MOD Development.
Locked
Wookie1664
Registered User
Posts: 65
Joined: Mon Jul 07, 2008 12:19 pm

Poll results viewable by admin only until member has voted

Post 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

Find

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.

Regards

Wookie
Locked

Return to “[3.0.x] MOD Writers Discussion”