vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Display who has voted in all polls (usergroup specific). (https://vborg.vbsupport.ru/showthread.php?t=115411)

Paul M 05-12-2006 10:00 PM

Display who has voted in all polls (usergroup specific).
 
This modification is no longer available or supported.

This is a little custom hack originally written for Boofo.

At the moment, administrators can see who has voted on non-public polls, but only via a somewhat clunky UI in the ACP. This hack allows pre-determined usergroups to view who has voted in any poll, as if they were a public poll.

By default it is still administrators only - you can add other usergroups in the options - in theory you can make all polls public to everyone. If you disable the hack then all voters in non public polls will again be hidden.

The options are located at vBulletin Options > Poll and Thread Rating Options.

Just unzip the xml file and import it into vbulletin via the product manager.


History:

v1.01 : First private release.
v1.02 : Added enable/disable option.
v1.03 : First public release.
v1.04 : Fix of public message problem - see post #3 by Tralala.

Boofo 05-12-2006 11:09 PM

Excellent work, sir! ;)

Tralala 05-12-2006 11:39 PM

Installed.

I noticed that with this enabled, admins (and other permitted groups) see the disclaimer above all polls: "Be advised that this is a public poll: other users can see the choice(s) you selected" ... even if the poll is, in fact, private. This is a misleading warning. It would be better if there was another phrase to cover this situation. Otherwise admins have no way of knowing which polls are truly public to all, and which are private.

Other than that, great hack. Thanks.

Boofo 05-12-2006 11:49 PM

Maybe I missed it but I didn't see that disclamier above any polls when I enabled this.

Paul M 05-13-2006 01:11 AM

It gets displayed when you haven't yet voted in the poll. I'll fix that in the next update, probably tomorrow. :)

Snake 05-13-2006 01:56 PM

Sweet, you're the man! :D

Caiman 05-13-2006 08:26 PM

I've been waiting for this on 3.5, big thanks.

Paul M 05-13-2006 08:44 PM

Quote:

Originally Posted by Tralala
I noticed that with this enabled, admins (and other permitted groups) see the disclaimer above all polls: "Be advised that this is a public poll: other users can see the choice(s) you selected" ... even if the poll is, in fact, private. This is a misleading warning.

This problem should now have been fixed in v1.04.

twitch 05-13-2006 09:28 PM

This is very cool, thanks!

Tralala 05-14-2006 02:20 AM

Quote:

Originally Posted by Paul M
This problem should now have been fixed in v1.04.

Indeed; the disclaimer on the initial vote page now only appears if it's public for everyone. Thanks! :up:

After a mod's vote has been cast, which displays the results page from there on out, there's no way for a mod to distinguish between private and public (for everyone) polls. They all appear as public, at least to a mod (or whatever usergroup's been given permission by this hack.)

Is there some way for the results of public polls to be labelled as such?

Voters: 51. You have already voted on this private poll
or
Multiple Choice Poll. Voters: 31. You have already voted on this public poll


All times are GMT. The time now is 12:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01311 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete