6
Actually I found an easy answere to that, needed to be hard coded in the templates files, good enough for me.
You can use the "if $xoops_isuser == true" thing.
I used it in 3 place in xoopspoll/templates/ directory:
wherever there's anoption for users to vote, simply surround it with this IF statement
<{if $xoops_isuser == true}>
<{/if}>
Don't forget to do it in new lines, orelse it will generate templates mistakes and white areas
here is a sample of one area with changes:
In xoopspoll/templates/xoopspoll_results.html:
<td class="foot" colspan="2" align="center">
<{$poll.totalVotes}><br />
<{$poll.totalVoters}>
<{if $xoops_isuser == true}>
<br /><{$poll.vote}>
<{/if}>
I hope the polls developers will make an option for that in the module's admin, since it's a system module and this option is kinda "must" for a decent polls module.
especially if you use XOOPS without it's classic "portal" look (blocks on the right & left of the pages).