PDA

View Full Version : [beta test] Poll Hack v1.0


10-10-2000, 08:21 PM
<a href="http://www.naboonline.com/polltest/" target="_blank">http://www.naboonline.com/polltest/</a>

v1.0 is up there for testing, had to prune some threads cause my conversion script somehow got messed up on ftp upload.

Anyways, it is converted now, and boats these new features:

-Speed improvments (means more hacking though)
-Modulare hack - about 70% of the hack code is in a file that is included() [not sure if this will make it, as it might slow down bigger sites]
-Fix for ';' causing wierd stuff - the delimiter I used was ';', that was changed
-Improved login checking - displays a login field if you vote without being logged in.
-bar graphs for results, fully customisable

Some features were cut due to time constraints. Probably, this hack will be used in the next vB version

10-11-2000, 05:20 AM
Hello Doron,

Looks good!

I can't wait for you to release it. :)

Thanks for your hard work.

10-11-2000, 05:29 AM
yep as i said great stuff :D

i don't know anything about php/mysql but would indexes be added to the poll related tables or needed ?

10-11-2000, 11:05 PM
Awesome! Woohoo! Can I easily upgrade from your earlier poll hack without losing my precious polls? :)

10-11-2000, 11:13 PM
I can't wait any longer....the suspense is killing me ;) j/k

10-12-2000, 09:11 PM
Originally posted by TWTCommish
Awesome! Woohoo! Can I easily upgrade from your earlier poll hack without losing my precious polls? :)


yep, obviously

10-12-2000, 10:18 PM
Gonna release it soon, then? :D

10-13-2000, 07:28 AM
Suggestion: Make it so that the poll icon is only used when a poll is posted. As of the last version...the poll icon appeared in the icon list for regular posts as well.

Thanks.

10-13-2000, 09:46 AM
There is a bug in there. If you click on "new thread" in main page you get a poll w/ capability to create a message (no icons though).

When u go inside a thread and click "new thread", you get just a regular post.

Three feature requests:

1) let users click to open a new window with the html code for them to copy and paste into their own sites/pages so they can encourage voting from elsewhere as well. This is great for those sites that don't require registration in order to vote.

2) speaking of no registration required to vote. You should make this an option too, so admin can specify if anyone can vote, or only registered users can.

3) let users be able to reply with another poll.

10-13-2000, 10:28 AM
Check this out:
http://www.zoomerang.com/recipient/survey-intro.zgi?ID=J29B5YWX1DCM&PIN=9V4N7BJQJ5YT

Very cool polling interface and features.

Doron, would you like my help in this hack? I'd like to help out and get some much needed features into the hack.

10-13-2000, 04:22 PM
>>There is a bug in there. If you click on "new thread" in main page you get a poll w/ capability to create a message (no icons though).

normally, there should be a "post new poll" icon, but I was lazy.

>>1) let users click to open a new window with the html code for them to copy and paste into their own sites/pages so they can encourage voting from elsewhere as well. This is great for those sites that don't require registration in order to vote.

currently you have to be a member to vote, as I use the vb Mermber DB

>>speaking of no registration required to vote. You should make this an option too, so admin can specify if anyone can vote, or only registered users can.

currently, only registered users. Changing that would complicate stuff, as I would need to store IP's and stuff.

>>3) let users be able to reply with another poll.

this will be in the next version, but the architecture is there and it works, just need to change some code

As for helping, I first want to release this version so it can get into the main vB distro. The longer, multiple question-type idea is not a poll but rather a survey, which would require some recoding. You are free to hack on it asmuch as you want

10-19-2000, 08:20 AM
small update - the poll icon will now not be shown when a person writes a new post, but will be shown only if a thread is a poll. For people who are not using icons, there is a new option to have a certian phrase be put in front of the subject.

Just have one more bug (editing a poll and adding new options sometimes causes problems) and it is ready to be released.

10-20-2000, 10:59 AM
Doron,

You rock! :)

Thanks so much for putting the time into this hack. I can't wait for you to release it so I can add it to my boards.

Looking forward to it.

10-24-2000, 07:54 PM
I like the changes to the bar graph graphics. Looks good!

How long do you think it will be before this new version is released? Thanks. ;)

10-24-2000, 07:57 PM
It seems to me that it will be released with the next version of vB, no?

10-24-2000, 08:25 PM
Actually I hope he releases the code seperate from the next release as well.

10-24-2000, 09:27 PM
The code (v1.0.1) will be released hopefully by friday, I just need to stress test the conversion script.

Yeah, the bar graphics went through some changes, I fooled around with psp till I got something good.

10-28-2000, 04:41 PM
Can't wait to see it! Please upload and link the hack!

10-28-2000, 05:01 PM
<ducks>

I was busy and had no time to test the upgrade script enough, I really hope to get it out for 1.1.4.