[ABD] Advanced Show Poll Voters 1.0.0

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Saske1
Registered User
Posts: 263
Joined: Wed Feb 02, 2011 7:41 pm
Location: Spain/España
Name: Salva

Re: [DEV] Advanced Show Poll Voters 0.1.0

Post by Saske1 »

Martijn90 wrote:Since the current version does not work with AutoMOD and not everyone may be tech savvy enough to fix it, I made a fixed file that does work with AutoMOD. You can download it here.

I also made one small change to the Do It Yourself Instructions that appear after install:
Activation / Desactivation in the ACP > Posting > Post Settings
Should be:
Activation / Desactivation in the ACP > General > Board features
I hope you don't mind me changing your files. ;)

Thank you for this nice and useful mod! :)
Matter what changes that I do not care, but to clarify, that does not appear in
Activation / desactivation in the ACP> Posting> Post Settings
Because there are 2 lines with the same name, in this case the "right" would be the second
Recordr think that on this issue and I said what the AutoMOD, and how to properly change /includes/acp/acp_posting.php, to loosen in Activation / desactivation in the ACP> Posting> Post Settings
LittleTiger
Registered User
Posts: 75
Joined: Sat Jan 02, 2010 7:48 pm
Name: Sandra

Re: [DEV] Advanced Show Poll Voters 0.1.0

Post by LittleTiger »

Saske1 wrote:
LittleTiger wrote:Could you add "vote order" to this mod?
Sorry, I do not understand what you mean, could explain a little more, thanks :oops:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yes, I would like to be able to see the names with the order in which they voted thusly:

Option1 [-----]
member (1) person(3)

Option2 [--------]
user (2) another (4)


etc.

So, basically, as a vote is cast, it is numbered.
Saske1
Registered User
Posts: 263
Joined: Wed Feb 02, 2011 7:41 pm
Location: Spain/España
Name: Salva

Re: [DEV] Advanced Show Poll Voters 0.1.0

Post by Saske1 »

LittleTiger wrote:
Saske1 wrote:
LittleTiger wrote:Could you add "vote order" to this mod?
Sorry, I do not understand what you mean, could explain a little more, thanks :oops:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yes, I would like to be able to see the names with the order in which they voted thusly:

Option1 [-----]
member (1) person(3)

Option2 [--------]
user (2) another (4)


etc.

So, basically, as a vote is cast, it is numbered.
Now if, as I understood
I'll try to add it to the next versions :mrgreen:
Wulfric
Registered User
Posts: 26
Joined: Fri Nov 13, 2009 8:09 am

Re: [DEV] Advanced Show Poll Voters 0.1.0

Post by Wulfric »

Nice mod.
Subscribed.
Saske1
Registered User
Posts: 263
Joined: Wed Feb 02, 2011 7:41 pm
Location: Spain/España
Name: Salva

Re: [DEV] Advanced Show Poll Voters 0.1.0

Post by Saske1 »

Wulfric wrote:Nice mod.
Subscribed.
Thanks :oops:
In case you wonder, for the next version 0.1.1 DEV, add a change to see who voted first, second, third (see the whole subject, and for more information) to enable / disable this option, support AutoMod, support with UMIL and support with subsilver2 :mrgreen:
xXSTrikeXx
Registered User
Posts: 8
Joined: Thu May 12, 2011 5:56 am

Re: [DEV] Advanced Show Poll Voters 0.1.0

Post by xXSTrikeXx »

Sy, but for me don´t work the installation:
Allgemeiner Fehler
SQL ERROR [ mysqli ]

Column 'poll_show_voters' cannot be null [1048]

SQL

INSERT INTO phpbb_topics (topic_poster, topic_time, topic_last_view_time, forum_id, icon_id, topic_approved, topic_title, topic_first_poster_name, topic_first_poster_colour, topic_type, topic_time_limit, topic_attachment, poll_title, poll_start, poll_max_options, poll_length, poll_vote_change, poll_show_voters) VALUES (2, 1307974737, 1307974737, 27, 0, 1, 's', 'STrike', 'AA0000', 0, 0, 0, 's', 1307974737, 1, 0, 0, NULL)

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/functions_posting.php
LINE: 1988
CALL: dbal_mysqli->sql_query()

FILE: posting.php
LINE: 1153
CALL: submit_post()
this error i become if i add a thread with a poll.
I have all done, included refresh all styles and Purge the cache. One Question: For what is the modx.prosilver.en ? I haven´t used it!
Saske1
Registered User
Posts: 263
Joined: Wed Feb 02, 2011 7:41 pm
Location: Spain/España
Name: Salva

Re: [DEV] Advanced Show Poll Voters 0.1.0

Post by Saske1 »

xXSTrikeXx wrote:Sy, but for me don´t work the installation:
Allgemeiner Fehler
SQL ERROR [ mysqli ]

Column 'poll_show_voters' cannot be null [1048]

SQL

INSERT INTO phpbb_topics (topic_poster, topic_time, topic_last_view_time, forum_id, icon_id, topic_approved, topic_title, topic_first_poster_name, topic_first_poster_colour, topic_type, topic_time_limit, topic_attachment, poll_title, poll_start, poll_max_options, poll_length, poll_vote_change, poll_show_voters) VALUES (2, 1307974737, 1307974737, 27, 0, 1, 's', 'STrike', 'AA0000', 0, 0, 0, 's', 1307974737, 1, 0, 0, NULL)

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/functions_posting.php
LINE: 1988
CALL: dbal_mysqli->sql_query()

FILE: posting.php
LINE: 1153
CALL: submit_post()
this error i become if i add a thread with a poll.
I have all done, included refresh all styles and Purge the cache. One Question: For what is the modx.prosilver.en ? I haven´t used it!
Review changes to root/posting.php
Or attach your posting.php
Also check or attach your root/includes/fuctions_posting.php
Sorry for my bad english I Speak Spanish
pizza_guy
Registered User
Posts: 23
Joined: Mon Nov 10, 2008 9:44 pm

Re: [DEV] Advanced Show Poll Voters 0.1.0

Post by pizza_guy »

Your download links aren't working. Is there any mirrors?
Saske1
Registered User
Posts: 263
Joined: Wed Feb 02, 2011 7:41 pm
Location: Spain/España
Name: Salva

Re: [DEV] Advanced Show Poll Voters 0.1.0

Post by Saske1 »

pizza_guy wrote:Your download links aren't working. Is there any mirrors?
My download links if I work
Anyway, I've reraised, and changed links in the first post :)
LittleTiger
Registered User
Posts: 75
Joined: Sat Jan 02, 2010 7:48 pm
Name: Sandra

Re: [DEV] Advanced Show Poll Voters 0.1.0

Post by LittleTiger »

Saske1 wrote: Thanks :oops:
In case you wonder, for the next version 0.1.1 DEV, add a change to see who voted first, second, third (see the whole subject, and for more information) to enable / disable this option, support AutoMod, support with UMIL and support with subsilver2 :mrgreen:
Saske,

Any news on the 0.1.1 version? I cannot wait to try it out with the vote order :)
LittleTiger
Registered User
Posts: 75
Joined: Sat Jan 02, 2010 7:48 pm
Name: Sandra

Re: [DEV] Advanced Show Poll Voters 0.1.0

Post by LittleTiger »

Bumping....

Saske1... where are you??

I have been trying to figure out how to add the vote order myself and have not been able to do it. I so want this option...

Thanks in advance!
LittleTiger
Registered User
Posts: 75
Joined: Sat Jan 02, 2010 7:48 pm
Name: Sandra

Re: [DEV] Advanced Show Poll Voters 0.1.0

Post by LittleTiger »

Never mind, I have it now. Thanks anyway! :mrgreen:
AgentStinger
Registered User
Posts: 2
Joined: Thu Aug 25, 2011 4:35 pm

Re: [DEV] Advanced Show Poll Voters 0.1.0

Post by AgentStinger »

Hi!
Great mod!
I use it on a ca_black style:
Image

The only thing that doesn't look that good is that the commas in the list of the selected option are of a different color than in the list of the non-selected. Do you have an idea how I can change this?

I suppose the change must be made in this code:
(from styles/ca_black/template/viewtopic_body.html)

Code: Select all

			<!-- BEGIN poll_option -->
				<dl class="poll-row<!-- IF poll_option.POLL_OPTION_VOTED --> voted<!-- ENDIF --><!-- IF poll_option.S_FIRST_ROW --> poll-first<!-- ENDIF -->"<!-- IF poll_option.POLL_OPTION_VOTED --> title="{L_POLL_VOTED_OPTION}"<!-- ENDIF -->>
					<dt><!-- IF S_CAN_VOTE --><label for="vote_{poll_option.POLL_OPTION_ID}">{poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt>
					<!-- IF S_CAN_VOTE --><dd style="width: auto;"><!-- IF S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd><!-- ENDIF -->
					<!-- IF S_DISPLAY_RESULTS --><dd class="resultbar"><div class="pollbar" style="width:{poll_option.POLL_OPTION_PERCENT};">{poll_option.POLL_OPTION_RESULT}</div></dd>
					<dd><!-- IF poll_option.POLL_OPTION_RESULT == 0 -->{L_NO_VOTES}<!-- ELSE -->{poll_option.POLL_OPTION_PERCENT}<!-- ENDIF --><!-- IF S_SHOW_VOTERS --><!-- IF not S_CAN_VOTE --><dt>&nbsp;</dt><!-- ENDIF --><dd class="resultbar">{poll_option.POLL_OPTION_VOTERS}</dd><!-- ENDIF --></dd><!-- ENDIF -->
				</dl>
			<!-- END poll_option -->
[/size]
Anyone got an idea?
Last edited by AgentStinger on Mon Sep 12, 2011 8:10 am, edited 1 time in total.
Steveb0
Registered User
Posts: 25
Joined: Thu Sep 16, 2004 6:38 pm

Re: [DEV] Advanced Show Poll Voters 0.1.0

Post by Steveb0 »

Has this mod been abandoned? I tried to download the latest version and it is a dead link.
Saske1
Registered User
Posts: 263
Joined: Wed Feb 02, 2011 7:41 pm
Location: Spain/España
Name: Salva

Re: [DEV] Advanced Show Poll Voters 0.1.0

Post by Saske1 »

LittleTiger wrote: Saske,

Any news on the 0.1.1 version? I cannot wait to try it out with the vote order :)
Hi
No need to send me pm's
The release is being delayed because lately I'm not having much time could make in a few days a new version with many new features, but the "order voting," he complicates things, and I see very difficult to do ... :roll:
LittleTiger wrote:Never mind, I have it now. Thanks anyway!
;)
AgentStinger wrote: Anyone got an idea?
Hi
If you mean change the "colors", I guess it's changed since the css style.
could put a link to this?
Steveb0 wrote:Has this mod been abandoned? I tried to download the latest version and it is a dead link.
The download is that I lost my site changes, where she was staying, anyway, the mod is not abandoned, and the DEV versions need not have a mandatory download link
When you have time, re-raise the MOD and what led to the new version ;)

Return to “[3.0.x] Abandoned MODs”