[2.0.20] Vote Manager

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Post Reply

Rating:

Excellent!
34
64%
Very Good
10
19%
Good
4
8%
Fair
1
2%
Poor
4
8%
 
Total votes: 53

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 27920
Joined: Sat Aug 16, 2003 7:36 am

[2.0.20] Vote Manager

Post by Extensions Robot » Wed May 10, 2006 9:34 am

MOD Name: Vote Manager
Author: soapergem
MOD Description: This MOD extensively expands the capabilities of voting on your forums. Previous MODs have done one thing or another, but never really offered a comprehensive package to give the most functionality overall and had compatibility issues with each other.
MULTIPLE CHOICE VOTING
* poll creator can set the maximum allowed options on which a user may vote (e.g. creates 7 options, but users may vote on 4)
* if a user votes for fewer options than the maximum allowed, they may still use the rest of their votes later so long as the poll has not expired (only on options they have not already voted on, obviously)
SIMPLE POLL RESULTS
* dition to "Total Votes," the number of voters is also shown
* results are sorted by what's winning so data analysis is easy
DETAILED POLL RESULTS
* results sorted by options and users in two columns
* results may be exported as a CSV file for Microsoft Excel
HIDE RESULTS
* poll creator may choose to hide the detailed results either permanently or until the poll expires
* poll creator may hide the simple results until the poll expires, so long as the detailed results are also hidden
* poll creator may hide the total number of voters until the poll expires, so long as the simple results are also hidden
* simple results/total number of voters may not be hidden on "never-ending" polls (with no expiration date)
* simple results are NOT sorted by what's winning when they are hidden, instead sorted by options
UNDO/CHANGE VOTES
* poll creator may allow users to undo/change their votes
* this option is configurable for each poll
* users can undo their votes only if the poll is configured to allow that
* users cannot undo their votes after a poll has expired (but admins/mods can)
ADMINISTRATOR/MODERATOR CONTROL
* admins/mods have control over every setting
* admins/mods may prune (delete) any individual user's votes
* admins/mods may always view detailed results
* these control features apply to all polls for administrators but only to specific polls for moderators: mods only have control over polls that are in the specific forum(s) which they moderate


MOD Version: 1.0.2

Download File: vote_manage.1.0.2.zip
mods overview page: View
File Size: 70760 Bytes

Support for this MOD needs to be asked within this topic. The phpBB Teams are not responsible or required to give anyone support for this MOD. By installing this MOD, the phpBB Support Team or phpBB MODifications Team may not be able to provide support.

This MOD has only been tested by the phpBB MOD Team with the phpBB version in the topic title. It may not work in any other versions of phpBB.
Last edited by Extensions Robot on Mon Apr 30, 2007 12:30 am, edited 1 time in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 » Sun May 28, 2006 1:16 pm

MOD Validated/Released

Notes:
This MOD adds more features to the default phpBB voting/poll system.

acharabia
Registered User
Posts: 139
Joined: Fri Sep 27, 2002 4:41 pm
Location: SEOUL/KOREA
Contact:

Post by acharabia » Sun May 28, 2006 3:48 pm

Very GOOODA excellencA MODA~ :wink:
This moda is which I want to find.
Everybody also never disappointment after
installing this MODA~ Very strong recommendation. :lol:
And here it go for foreign language pak. (in KOREAN)


lang_main.php

Code: Select all

//
// Vote Manager MOD
//
$lang['Csv_novote'] 		= '';	//	default display is blank for choices not voted for
$lang['Csv_vote'] 		= 'X';	//	default display is a capital X for choices voted for
$lang['Detailed_results'] 	= '투표결과 상세보기';
$lang['Error_poll_early'] 	= 'This poll was created before the Vote Manager MOD was in place, so specific vote information is unavailable.';
$lang['Error_poll_query'] 	= 'Could not query polls';
$lang['Export_csv'] 		= 'Export Data as a CSV File';
$lang['Poll_expires'] 		= '투표 마감까지 잔여 시간: ';
$lang['Poll_expired'] 		= 'This poll has expired.'; 
$lang['Poll_hidden'] 		= 'Detailed results have been disabled on this poll.';
$lang['Poll_noexpire'] 		= 'This poll does not expire'; 
$lang['Poll_no_undo'] 		= 'Undoing your votes has been disabled.';
$lang['Poll_return'] 		= '선거 결과 보기로 돌아가려면 %s여기%s를 클릭 하십시오.';
$lang['Minute'] 		= 'Minute';
$lang['Minutes'] 		= 'Minutes';
$lang['No_votes'] 		= '이 항목에는 아무도 투표하지 않았습니다.';
$lang['Remove_votes'] 		= '이 사용자가 투표한 것을 정말 삭제하시겠습니까?';
$lang['Results_after'] 		= '개표 상황은 투표 마감 이후에 노출됩니다.';

$lang['Sort_by_user'] 		= '투표 사용자별 분류';
$lang['Sort_by_option'] 	= '투표 각항목별 분류';
$lang['Sort_by_question'] 	= '(sorted by question)';
$lang['Sort_by_topic'] 		= '(sorted by topic)';

$lang['Undo_no_votes'] 		= '귀하께서는 아직 어느 항목에도 투표하지 않았읍니다.';
$lang['Undo_vote'] 		= '[ 삭제 ]';
$lang['Voted_show'] 		= '본 투표 사항에 관한 사용자 투표횟수 : ';
$lang['Total_votes'] 		= '본 투표 항목에 관한 사용자 총기표수 : ';

$lang['Votes_removed'] 		= '이 사용자가 투표한 것을 성공적으로 삭제하였읍니다.';
$lang['Already_voted'] 		= '귀하께서는 투표에 이미 참가하셨거나 혹은 투표 항목을 너무 많이 선택하신 경우 입니다.';



//
// Vote Manager MOD
//
$lang['Hide_detailed_results'] 	= '투표 상세 결과 비밀';
$lang['Also_hide_simple'] 	= '투표 단순 결과 비밀 (투표 종료일 까지) ';
$lang['Also_hide_voters'] 	= '투표 인단 노출 비밀 (투표 종료일 까지) ';
$lang['Hide_vote'] 		= 'Results';
$lang['Hide_vote_explain'] 	= '[ Hide until poll expires ]';
$lang['Max_vote'] 		= '최대 기표';
$lang['Undo_votes'] 		= '투표 변경';
$lang['Vhide'] 			= '투표 조건 [비밀/공개]';
$lang['Until_exp'] 		= '투표 종료일 까지';

$lang['Max_vote_explain'] 	= '[ 복수 투표 불허시에 1 또는 빈칸으로 하십시오 ]';
$lang['Max_voting_1_explain'] 	= '최소한 ';
$lang['Max_voting_2_explain'] 	= ' 개 항목 이하를 선택 하십시오';
$lang['Allow_undo'] 		= '사용자가 투표했던 것을 취소/변경 가능';
But I'm wonder why from time to time this msg
occur when I click "Detailed Results/Undo Votes"
or "data CSV files"

Code: Select all

phpBB : Critical Error 

Error updating sessions table

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE session_id = 'ff27fbae372f62fe21cb707b9c8f0a23'' at line 

UPDATE phpbb_ssu_darkhorsesessions SET session_time = 1148831733, session_page = WHERE session_id = 'ff27fbae372f62fe21cb707b9c8f0a23'

Line : 286
File : /..../..../includes/sessions.php 
Last edited by acharabia on Mon May 29, 2006 6:50 pm, edited 4 times in total.
Image

User avatar
DeViAnThans3
Registered User
Posts: 877
Joined: Sat Oct 08, 2005 10:39 pm
Location: Belgium

Post by DeViAnThans3 » Sun May 28, 2006 3:49 pm

nice mod! :)
I only provide support via the appropriate topics! Please no PM or mails! :)
My MODs :: [BETA] Facebook Connect

soapergem
Registered User
Posts: 55
Joined: Tue Sep 20, 2005 8:06 pm
Location: Sheboygan, WI
Contact:

Post by soapergem » Sun May 28, 2006 5:12 pm

They finally validated it! Yay!

Try it out here:
Demo Forum
Create an account, or use this one:
User: demo
Pass: demo

Note: There are really two major MODs available for multiple choice voting now: this one, and the MultiVote by vilaras. They serve different purposes. (Some of my code is based off of his.)

Mine is ideal for situations where you would like the vote results to be tracked or even made public--so others can see who voted for what. Mine also allows the ability for users to change/undo/redo their votes (as long as the poll hasn't expired), and allows users to continue voting until they have used up all the votes available to them. But if you prefer a simple multiple-choice system without the risk of losing any confidentiality in the voting, then Mr. Vilaras' MOD is still the right choice for you. I say 'confidentiality,' because in order for this MOD to function properly, it has to keep track of who voted for what on absolutely every poll. If you don't need all the extras that mine offers like undo-ing votes, then consider using the MultiVote MOD instead.
Last edited by soapergem on Mon May 29, 2006 5:53 am, edited 4 times in total.

soapergem
Registered User
Posts: 55
Joined: Tue Sep 20, 2005 8:06 pm
Location: Sheboygan, WI
Contact:

Post by soapergem » Sun May 28, 2006 5:14 pm

acharabia wrote: But I'm wonder why from time to time this msg occur when I click "Detailed Results/Undo Votes" or "data CSV files"

I don't know; let me look into this. I have some ideas. But also, for reference, have you installed any other MODs?

Tanapangarap
Registered User
Posts: 67
Joined: Sat Mar 11, 2006 5:18 am
Contact:

Post by Tanapangarap » Mon May 29, 2006 5:16 am

This seems awesome. I'll see how smoothly it goes when I implement it really soon. As soon as I read that you can undo a vote you made, I was sold.

acharabia
Registered User
Posts: 139
Joined: Fri Sep 27, 2002 4:41 pm
Location: SEOUL/KOREA
Contact:

Post by acharabia » Mon May 29, 2006 3:29 pm

Code: Select all

$lang['Hide_detailed_results'] 	= '투표 상세 결과 비밀(비회원 열람불가)';
$lang['Also_hide_simple'] 	= '투표 단순 결과 비밀(비회원 열람불가) (투표 종료일 까지) ';
$lang['Also_hide_voters'] 	= '투표 인단 노출 비밀(비회원 열람불가) (투표 종료일 까지) ';
This is very good MOD but there are some systemical abnormals.
(=logic error) 1st one is after installing this MOD, guest can't vote
on the board. Admin never can select "everybody" on forum permission.
Only registed member using this MOD doesn't it?!?! :cry:
And 2nd abnormal is "Also hide simple, voter" simutaneously fonction...
We can't using divide use "only hide-simple", "only hide-vote" isn't it?
Easily talking, member can "mutiful-choice" on voting but guest never
seen (if condition select) or never join into the vote...
Obligation function fix after this MOD installing.

So I can't translator perfectly in langpak.
Because there are some logic error like above.
I couldn't meet those situation on this MOD so I left in English.
This is very subtle and detail MOD... I like phpBB MOD like this style.
2nd problem is just "line text" showing. No see "voting bar"
but there is showing "line text" below vote pannel. Very subtle...

Conclusion:

This is exellence MOD and strong recommendation.
(except for fixing vote for only member.) :P
Image

soapergem
Registered User
Posts: 55
Joined: Tue Sep 20, 2005 8:06 pm
Location: Sheboygan, WI
Contact:

Post by soapergem » Mon May 29, 2006 4:17 pm

acharabia, I understand that you are going out of your way trying to help by posting these comments, and I really appreciate that. But at the same time, I'm really having a hard time trying to understand your English, so forgive me if I don't understand the meaning of some of the things you're trying to say.
acharabia wrote: 1st one is after installing this MOD, guest can't vote on the board. Admin never can select "everybody" on forum permission. Only registed member using this MOD doesn't it?!?! :cry:

I didn't even think about it until you brought it up, but you're right; this MOD is not set up to handle anonymous voting very well. I will include a fix for this in the next version.
acharabia wrote: 2nd abnormal is "Also hide simple, voter" simutaneously fonction... We can't using divide use "only hide-simple", "only hide-vote" isn't it? Easily talking, member can "mutiful-choice" on voting but guest never seen (if condition select) or never join into the vote... Obligation function fix after this MOD installing.

Okay, I have no idea what you're saying here. (Sorry) I will explain this, though. There are some buttons on the "add a poll" form, now. I have included a picture of them here.
Image

Now I'm only going to explain this once. Just take your time, read it through, and think about it. It will make sense. There are a couple of options you have, I have numbered them in the picture in red.

Option #2 will always work, with or without specifying anything else. This option hides the "detailed results"--a.k.a. the vote manager that was added with this MOD. (This does not apply to admins, who can always see everything.)

Options #3, #4, and #5 are special. All of them read, "until expires." This means that they will not work without an expiration date. Before enabling these options, you must specify an expiration date by setting some time frame in Option #1. It would not make sense to enable any of these options in a "never-ending" poll.

So as far as I know, there are no logic errors in this. Everything is done for a reason. If you tick option #2, detailed results will be hidden from everyone (except admins) forever--unless you also tick option #3 (in which case, everyone can see them once the poll expires). Ticking option #4 will hide the simple results (the horizontal bars) from everyone except admins until the poll expires. I didn't think it would make much sense to enable this sort of hiding forever, since that means that nobody would ever be able to see any sort of results. Same reasoning for option #5.

acharabia
Registered User
Posts: 139
Joined: Fri Sep 27, 2002 4:41 pm
Location: SEOUL/KOREA
Contact:

Post by acharabia » Mon May 29, 2006 6:41 pm

Yeh~ perfect MOD and perfect explain~ :wink:
And now... Can you explain what are those above
not translator in KOREAN? I couldn't meet that situations.
Anyway those are not serious problem. And I don't know
why "Critical error" when I click lately... From time to time
this mod show "Critical error" page when I click "detail result"
or CSV files... etc. But when I click quickly no problem... :roll:

Thank you Anyway for providing great phpBB MOD. :wink:
This MOD work so cool except for sometime showing "critcal error"
page.(=session overtime) I recommande this MOD for voting.
I'd like to see any other MOD which made by yourself.
Never regret to install this MOD. Hurry all to install~ :wink:
Keep on Continuing good job for creating phpbb MOD. plz.
Image

WarriorPrincess
Registered User
Posts: 163
Joined: Wed Feb 08, 2006 10:09 am
Location: Australia

Post by WarriorPrincess » Sat Jun 03, 2006 11:36 am

This mod would be perfect if you allowed admin to set controls in the ACP.

I don't like the fact that ALL members can create polls this way... would prefer only Admin and mods... however I don't want to take the option away from members completely.

WP

Xusqui
Registered User
Posts: 84
Joined: Wed Jun 02, 2004 10:35 pm
Contact:

Post by Xusqui » Sun Jun 04, 2006 7:29 pm

awesome!!!!!

I gotta try it... Really hope it works fine for my heavily modified forum!!!

khsjr1970
Registered User
Posts: 242
Joined: Fri Aug 19, 2005 5:59 pm

Post by khsjr1970 » Mon Jun 05, 2006 12:07 am

I would like to see this mod compatible with Categories Heirarchy, and agree that some of the switchs within the mod itself should be auth'd allowing admins the ability to choose who gets to do what with regards to the voting system.

soapergem
Registered User
Posts: 55
Joined: Tue Sep 20, 2005 8:06 pm
Location: Sheboygan, WI
Contact:

Post by soapergem » Mon Jun 05, 2006 2:36 am

For future reference: anyone requesting compatibility with other MODs should post links to these MODs. Thanks.

John the Ripper
Registered User
Posts: 6
Joined: Sun Oct 02, 2005 10:03 am

Post by John the Ripper » Mon Jun 05, 2006 6:22 am

Hi soapergem,
I've got a little problem with this. But I dunno if it's a bug or simply some mistake in my code.
I went through the installation instructions two times, but it still happens.

My problem: If you edit a poll, the "max selectable options"-number is added as hours to the expiration time. Any idea why this happens?

Post Reply

Return to “[2.0.x] MOD Database Releases”