vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   [beta test] Poll Hack v1.0 (https://vborg.vbsupport.ru/showthread.php?t=3821)

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

Quote:

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/s...N=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.


All times are GMT. The time now is 03:59 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
  • Page Generation 0.01225 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete