![]() |
Ok, you can peview the poll hack here:
http://www.naboonline.com/polltest/index.php posting a reply causes the poll post. the curreny big bug is that the redirection after vote/post is not working, you have to press back and reload to see the differences. verify email is turned off. |
I just tested it - except for the blank screen after you vote, it looks pretty good!
|
Hello,
It looks great so far! I can't wait for a final release. Now all we need is someone to work on the ratings for a thread. :) |
Am I the only one who cannot view a poll?? No matter what thread I view I get "Invalid username. Please press the back button, enter the correct password and try again. To register, click here! ". I did register and am logged in (it even shows my name on the currently active users). It even let me post a new poll.
|
If you set your profile to NOT save your info "in browser memory" you cannot view any polls. I changed it to yes and everything works now.
|
i noticed a few polls were submitted that crashed due to using ', this was fixed thanks to Mas*Mind
|
I voted no problem, but the refresh had a:
Parse error: parse error in /home/naboonl/public_html/polltest/poll.php on line 415 |
yeah, small php code error on my part, had a } too much, is fixed now.
|
Ouh man, this is so great! but i could not find a download link. Please tell me where to get this hack from!!!!
|
Great Doron! My wish list:
All I can think of for now |
doron,
I think your poll hack looks great. The implementation of mine is going to be a fair bit different, so I think I am still going to finish mine. I am leaving for a 7 day vacation in a few hours (Vegas :)) so I probably won't work on it much in the next week, but I plan on finishing it the week I get back. If anyone has any comments/questions about my poll hack feel free to email me - I will be checking my mail. |
I definitely like it:)
it seems it would be easy to add a 3rd button that functioned as a "start poll" button:) |
I am thinking it might be best to make a "poll" forum for just polls and nothing else.
And if this is done we can make another template for just polls etc no need to put all the icons on it etc. Lemme play with some designs and see if I can make anything nice :) What do you think about this? |
Maybe something like:
http://www.elitepub.com/votescreen.gif |
I prefer the idea of being able to start a poll in any forum but that's just me...
|
Ya I think that would be nice, im just thinking how cluttered it can get because I know a lot of people will be doing them on my sites. Thus if I limited it to one forum I can use its own template and keep things cleaner...
|
I think it needs to be made for any forum and then you can hack it for just one forum *OR* maybe Doron could add a permission to forum permissions such as 'allow polls to be posted'.
|
Ya I think if its made for all forums you just wont add that part to the newthread template if you dont want it in all forums, and then if you want to make it for just one forum make a new template for that forum with it in their. That will be the easiest and require no code changes just a template change..
|
about the only thing I see wrong is that you can't preview a poll.
other than that everything on the surface seems to be about perfect :) |
Yes i'm dieing to get this hack install Doron - hurry up! :) :) :)
|
I must say, this is looking really good :)
|
This looks unbelieveably excellent. It has all the features I need. When is it ready for download - I WANT IT NOW! ;)
Except I think that it should only be called from a 'post poll' icon in the forums. It would be confusing for users to be presented with the poll options when starting a thread if they don't want to post a poll. Also, I don't know how 'doable' this is but I would like to restrict the ability to post polls to users which have posted a certain number of posts (e.g. are not Junior Members). PS Menno you want to make a New Poll icon in the same style as the new thread one? [Edited by Mark Hewitt on 07-08-2000 at 07:38 AM] |
PS. (again) you should be able to see the results if you wish without having to vote in the poll.
Also votes in the poll should be treated as replies. i.e. the message should move to the top of the list. Otherwise you could have a very popular poll which isn't replied to and it would drift off the bottom of the threads list. [Edited by Mark Hewitt on 07-08-2000 at 08:11 AM] |
Add Mark's suggestions to my wish list, they are all needed.
|
where to start...
first, you can't download it yet cause it is still missing some stuff, most importantly the delete feature. >>Email notification (if turned on) when someone places a vote I'll look into that, probably copy/paste >>Possible pie/bar chart to represent voting %'s I've seen that before on php polls, I downloaded a couple of php polls to see how they do it. >>In forumdisplay, have it say 'POLL' or such beside the thread title Do you want it hardcoded? Ie the user can not remove it? >>Usergroup option 'Allowed to Create Polls' Definately, still working on how to do so. Would it be better to modify this via the usergroup section or just have a multicombobox where you select who is allowed? >>Voting History - An admin/Moderator only option The test board has that, but public. >>Graphics - hopefully menno can do that ;) Preview - that's has not been started yet, will do it today probably. Replies - that is going to be tricky. I could update the last post date everytime there is a vote. thanks for the input! |
I did notice that you're setting this up on 1.1.2
do you foresee any compatibility problems with 1.1.3? |
I doubt it, but when I have it done, I will install it on 1.1.2 and 3. I doubt though, as 1.1.3 has primarily bug fixes, not changes in architecture
|
Ok, I got the preview mode and the usergroups working.
to test the usergroups, login as UserNoPoll with password "password". the usergroup he belongs to is not allowed to post polls. Mind you, the hack has gotten pretty complex. 11 new templates (most are just dupes of existing ones, with "post" changed to "poll") 1 new file (poll.php) 4 files need modification (editpost.php, options.php, showthread.php and usergoup.php) 2 New tables (poll and pollvote) 2 tables need to get an additional column scared yet? I might provide the 4 files needing modification in various versions (1.1.2, 1.1.3, together with private msg hack) to simplify the hack. |
Quote:
|
wow doron... thought the name sounded familiar... it's George from http://theprequels.net :D
cool hack... and as Mark said make sure you add a little install guide for us php illerate folks - me :D |
definately, there will be a "how to install" txt file, most files need to be given an additional 5 lines or so, so it ain't hard.
George - yo! ps: just added some more error checks (ie need to options for a poll) |
hi again :)
great to hear... what happens to poll hack when installed and an upgraded version of vbulletin is available ? does this hack add to the mysql database ? |
Hopefully John will include it in the forum.
|
Quote:
|
Again, it was an idea :)
|
I too agree with MArtin and Me2Be :D
it's much more 'interactive' when polls can be put in any forum. |
Come on then get it done. I am a very impatient person!
|
patience is a virtue ;)
I finished off the polledit feature today, and there ain't to much left: - Close a poll (admin/mod/author) - closing a thread == close a poll? - vB code parse in poll options - email notification for a new vote - increase post date each time for vote???? |
- closing a thread == close a poll? Yes, and only display results.
- increase post date each time for vote???? certainly yes. |
does everyone agree with a vote causing the last update date being changed? I might toggle this in the cp.
|
All times are GMT. The time now is 01:48 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|