Polls/Voting
4 posters
Page 1 of 1
Polls/Voting
Hi all.
On my old site we used to be able to use the poll facility to vote on our 'Model of the month' competition and I remember clearly that there was a way to hide the votes so far from a member until they had voted themselves. ie secret vote.
However, I cannot remember how we did this.
Can someone help please?
Cheers.
https://allscalemodelling.forumotion.com/
On my old site we used to be able to use the poll facility to vote on our 'Model of the month' competition and I remember clearly that there was a way to hide the votes so far from a member until they had voted themselves. ie secret vote.
However, I cannot remember how we did this.
Can someone help please?
Cheers.
https://allscalemodelling.forumotion.com/
skidsolo- Forumember
- Posts : 269
Reputation : 3
Language : English
Re: Polls/Voting
hello
try this javascript set to the topics
only admins can see the result
try this javascript set to the topics
- Code:
$(document).ready(function(){
var level = _userdata["user_level"];
if ( level === 0 ) {
$('a[href*="?vote=viewresult"]').remove();
}
});
only admins can see the result
Re: Polls/Voting
Thank you but we don't want admin only to see the results we want members to see the results AFTER they have voted only. We only want the poll options visible until they vote, then we want them to see the results.
Re: Polls/Voting
nightflier wrote:Thank you but we don't want admin only to see the results we want members to see the results AFTER they have voted only. We only want the poll options visible until they vote, then we want them to see the results.
Please don't hijack another member’s topic's. Please open your own thread if you having a problem with your forum.
|
Re: Polls/Voting
We are admins on the same forum, I am the founder, however I have created a new topic.
Re: Polls/Voting
Not a problem, we appreciate all the help you have given, we are very keen to sort this problem as it is preventing an important vote.
Re: Polls/Voting
nightflier wrote:Thank you but we don't want admin only to see the results we want members to see the results AFTER they have voted only. We only want the poll options visible until they vote, then we want them to see the results.
add this to your css
- Code:
a[href$="?vote=viewresult"] { display:none; }
Re: Polls/Voting
Wait a minute! Are you referring to when you vote the page reloads with the results? If yes, it should do this already.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Polls/Voting
Thank you
Last edited by nightflier on April 24th 2020, 10:25 pm; edited 1 time in total
Re: Polls/Voting
Yes, I thought it did but a fellow admin said it wasn’t perhaps you could mark as solved as it was his post originally. Thanks for the help.
Re: Polls/Voting
When you say results, you are talking about the numbers, correct?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Polls/Voting
Yes but I cant mark it as solved as I didn't start the topic, if you could that would be great, thanks again.
Similar topics
» Voting polls
» Guests voting on polls
» Polls and Voting for Posts
» Polls Not Redirect After Voting
» Voting polls template
» Guests voting on polls
» Polls and Voting for Posts
» Polls Not Redirect After Voting
» Voting polls template
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum