phpbb 3.1.10 and Advanced Polls 1.2.1-b1
I have everything enabled, and everything set to yes.Also, have you checked the Advanced Polls settings page? Please, tell me your selected options.
Look at the image again. 1 options per user field, and then below, another options per user field.You are talking about two options, but I don't see that
styles/prosilver/template/lib/jxtools.js
with a fresh download from GitHub, it had the wrong file endings, for some strange reason...You're welcome! And that remedy worked. Unfortunately, there's another bug.
That's an easy one, just formatting. Will fix it tomorrow, too late now. But the second picture will remain as shown: it is the way input elements work.Bruce Banner wrote: ↑Wed Apr 19, 2017 7:13 pm Unfortunately, there's another bug.
As you can see here,
and here,
the time reads funny. It should say 20:06, not 20:6
Great, thanks.javiexin wrote: ↑Wed Apr 19, 2017 8:45 pmThat's an easy one, just formatting. Will fix it tomorrow, too late now. But the second picture will remain as shown: it is the way input elements work.Bruce Banner wrote: ↑Wed Apr 19, 2017 7:13 pm Unfortunately, there's another bug.
As you can see here,
and here,
the time reads funny. It should say 20:06, not 20:6
Quick fix.
ext/wolfsblvt/advancedpolls/styles/prosilver/template/js/poll_length_posting.js
with a good editor, such as Notepad++.Code: Select all
document.getElementById('wolfsblvt_poll_end_label').innerHTML = apPollEnd.getFullYear()
Code: Select all
document.getElementById('wolfsblvt_poll_end_label').innerHTML = apPollEnd.getFullYear() + "/" + (apPollEnd.getMonth() + 1) + "/" + apPollEnd.getDate() + " " + ("0" + apPollEnd.getHours()).slice(-2) + ":" + ("0" + apPollEnd.getMinutes()).slice(-2);
That worked great, thanks. Will you be uploading the fixed version of the file to github?javiexin wrote: ↑Thu Apr 20, 2017 9:47 pmQuick fix.
Open fileext/wolfsblvt/advancedpolls/styles/prosilver/template/js/poll_length_posting.js
with a good editor, such as Notepad++.
Find line starting with:Replace full line with:Code: Select all
document.getElementById('wolfsblvt_poll_end_label').innerHTML = apPollEnd.getFullYear()
That will do it.Code: Select all
document.getElementById('wolfsblvt_poll_end_label').innerHTML = apPollEnd.getFullYear() + "/" + (apPollEnd.getMonth() + 1) + "/" + apPollEnd.getDate() + " " + ("0" + apPollEnd.getHours()).slice(-2) + ":" + ("0" + apPollEnd.getMinutes()).slice(-2);
-javiexin
PS: This "just" changes hours and minutes to be two digits always. The day and month are not zero-padded. And input does not use leading zeros either.
Don't really get what you want, and more importantly, what is the use case for this?Mohammed AlSarsawi wrote: ↑Sun Apr 23, 2017 4:21 am Hello javiexin
suggestions :
- add option to reset the votes automatically after X days or hours
- add X maximum votes per day for each user
Thank you for your work