HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


polls module...

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#91706 (In Topic #18426)
Avatar

Community saint

Curious about the polls module.   I create a poll, make it active, it shows up in the polls box on the main page fine.    If you click 'view results', it appears you can no longer vote in that poll.   As from that point on it only shows results, not options to pick.

Is this normal?


Paul
Back to the top
 
Posted
Rating:
#91707
Avatar

Community saint

Yep. Its basically to ensure that your voting is not influenced by how other people vote.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#91708
Avatar

Community saint

There originally was a message to the effect that "If you clicked Yes to view the result, you forfeited the right to vote"

I notice now that In version 8.1.4 the message flashes quickly without giving a chance to click yes, but nothing changes; the admin can still vote. In version 9 the message flashes quickly and the right to vote is gone with it.O_o

This is surely a bug of some sort.

Jean
Back to the top
 
Posted
Rating:
#91711
Avatar

Community saint

I think that might just be a the "Un-blind their own polls" "View poll results before voting " option.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#91713
Avatar

Does this fix it?

https://github.com/chrisgraham/ocPortal/blob/v9/themes/default/templates/POLL_BOX.tpl

I only caught that by accident when I saw a similar bug and wasn't sure if this was real – so it bypassed the tracker.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#91714
Avatar

Community saint

Chris Graham said

Does this fix it?

https://github.com/chrisgraham/ocPortal/blob/v9/themes/default/templates/POLL_BOX.tpl

I only caught that by accident when I saw a similar bug and wasn't sure if this was real – so it bypassed the tracker.


Chris,
The Yes/No message passes to quickly still to click on it in v.9.0.2.
I copy/pasted the github source, but DiffMerge see no difference between that one and the one in 9.0.2.

Jean
Back to the top
 
Posted
Rating:
#91715
Avatar

Community saint

Chris,
Please do not lose any part of your Sunday over this!

It is a beautiful day (at least here).:cool:

Enjoy it!:)

Jean
Back to the top
 
Posted
Rating:
#91716
Avatar

Community saint

One dissenting voice here, Jean.

The github version DOES differ from the original 9.0.2 file, and it fixes the 'time' the user gets to view the 'warning'.

At least it does for me. Sorry!

 :thumbs:

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#91717
Avatar

Community saint

temp1024 said

I think that might just be a the "Un-blind their own polls" "View poll results before voting " option.


No, that one is just for poll's in the forum.

I too got the quick popup once, didn't give time to actually read or click it.   But since then I haven't got that popup again.

Will try the 'fix' see what it does.

May just need to figure out what it 'sets' that makes it so they can't vote after viewing it and do away with that.


Paul
Back to the top
 
Posted
Rating:
#91718
Avatar

Community saint

Nope, that template Chris pointed to is the same exact one that my fresh 9.02 has.

Paul
Back to the top
 
Posted
Rating:
#91719
Avatar

Community saint

Fletch said

One dissenting voice here, Jean.

The github version DOES differ from the original 9.0.2 file, and it fixes the 'time' the user gets to view the 'warning'.

At least it does for me. Sorry!

 


Thanks for the confirmation, Fletch!:)
I've gone over my steps carefully, repeating several times and still see no difference between the two files, as it continues to flash by on my browser. Cleared all cache, browser and site.
I am sure you and Chris are right and I'm missing something here.
This should be so simple, it makes me feel old today.:(
I'll sleep over it and come back tomorrow.
Cheers,
Jean
Back to the top
 
Posted
Item has a rating of 5 (Liked by Jean)  
Rating:
#91720
Avatar

Community saint

Jean said

This should be so simple, it makes me feel old today …
You are a lucky man. I feel old EVERY day!

 :o

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Important!
Posted
Item has a rating of 5 (Liked by JeanLiked by Arbo)  
Rating:
#91721
Avatar

Automated fix message

Jean said

Fletch said

One dissenting voice here, Jean.

The github version DOES differ from the original 9.0.2 file, and it fixes the 'time' the user gets to view the 'warning'.

At least it does for me. Sorry!

 


Thanks for the confirmation, Fletch!:)
I've gone over my steps carefully, repeating several times and still see no difference between the two files, as it continues to flash by on my browser. Cleared all cache, browser and site.
I am sure you and Chris are right and I'm missing something here.
This should be so simple, it makes me feel old today.:(
I'll sleep over it and come back tomorrow.
Cheers,
Jean
This issue has been filed on the tracker as issue #841, with a fix.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Important!
 
Posted
Rating:
#91722

Non-joined user

Jean said

Fletch said

One dissenting voice here, Jean.

The github version DOES differ from the original 9.0.2 file, and it fixes the 'time' the user gets to view the 'warning'.

At least it does for me. Sorry!

 


Thanks for the confirmation, Fletch!
I've gone over my steps carefully, repeating several times and still see no difference between the two files, as it continues to flash by on my browser. Cleared all cache, browser and site.
I am sure you and Chris are right and I'm missing something here.
This should be so simple, it makes me feel old today.
I'll sleep over it and come back tomorrow.
Cheers,
Jean



Fletch said

Jean said

This should be so simple, it makes me feel old today …
You are a lucky man. I feel old EVERY day!

 :o

You're both lucky. I not only feel old everyday, I AM old everyday.  :(

Back to the top
 
Posted
Rating:
#91728
Avatar

Community saint

Thanks for the fix, I had just commented out the line that put up the 'view results' thing.

Another poll related question.   I made several 'test' polls while fiddling with this.   Not all polls show up when I go to polls with type=misc …


Paul
Back to the top
 
Posted
Rating:
#91729
Avatar

IIRC only polls that have been active and received at least one vote will show in the archive.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#91732
Avatar

Community saint

Meaning it has been 'current' and had at least one vote at that time in order to be 'used previously' and thus show up?

Paul
Back to the top
 
Posted
Item has a rating of 5 (Liked by Arbo)  
Rating:
#91733
Avatar

yes


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: