php forum
php mysql forum
php mysql smarty
 
Topic Options
#221311 - 07/17/02 01:53 AM Poll Form
Aglavalin Offline
Enthusiast

Registered: 06/18/02
Posts: 394
Loc: Southern California

   Poll Form to Del.icio.us Add to del.icio.us
  Digg Poll Form Digg it
I just went to post a new poll on my board, and realized how much of a pain it really is. I realized that a POLL button on the bottom of the post would be much easier to use. It could go to a simple page with fields to fill in with poll items, and whatnot. Basically some simple automated way to make a post with a variable number of items to choose from. Have a 'add poll item' button to refresh the page with one more poll item and carry over the filled in info. Make the default poll have 4? items? Whatever seems to be the norm is probably best.<br /><br />Just a thought on a fairly simple and non-intrusive way to make the UBBT easier to use for our basic users <img src="/forum/images/icons/smile.gif" alt="" />

Top
#221312 - 07/19/02 03:28 AM Re: Poll Form [Re: neuron]
ksanuk Offline
Member

Registered: 02/06/02
Posts: 297
Loc: Bangkok, Thailand
Hi,<br /><br />My members complained about this as well, which is why I threw together a quick PHP poll generator.<br />I have attached it here. (it needs to be renamed to poll_generator.php)<br /><br />Sanuk!<br />


Attachments
52826-poll_generator.txt (6 downloads)


Top
#221313 - 07/19/02 08:20 AM Re: Poll Form [Re: Deyth_Combine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Thanks Sanuk <img src="/forum/images/icons/smile.gif" alt="" /><br /><br />It looks to be very handy!
_________________________
~Dave
ChattersOnline.com

Top
#221314 - 07/19/02 09:54 PM Re: Poll Form [Re: sjsaunders]
Aglavalin Offline
Enthusiast

Registered: 06/18/02
Posts: 394
Loc: Southern California
Looks great! But some of the variables need to be initialized first? The op, question and option 1 - option 10 seem to be in need of being set to "" to start to avoid errors it looks like. What did you do to handle this? I tried a few things but didn't get it working yet for me. Maybe I'm missing something here? Not sure...<br /><br />I was also gonna try to write up some code to make this a javascript popup window like the spellchecker and add a button to the post page to bring it up. That seems like the easiest way to use it as a cut & paste page. I'll wait on these till I can get the poll_generator.php page working first.

Top
#221315 - 07/21/02 02:08 PM Re: Poll Form [Re: neuron]
Aglavalin Offline
Enthusiast

Registered: 06/18/02
Posts: 394
Loc: Southern California
After some research, it seems some of this code does not work with my server version, bummer...

Top
#221316 - 07/31/02 04:41 PM Re: Poll Form [Re: neuron]
Rick Offline
Guru

Registered: 05/11/99
Posts: 8371
Loc: Olympia, WA
My original plan was just to have the instant markup area just have 1 button for a poll. Basically you would click it, a javascript popup would ask you for the title then option 1 then option 2. It would keep asking for options until you just entered a blank option and then it would generate the poll code. However, it takes me forever to create javascript so it's not in there yet <img src="/forum/images/icons/smile.gif" alt="" />
_________________________
StogieSmokers.com

Top
#221317 - 08/01/02 08:58 AM Re: Poll Form [Re: neuron]
ksanuk Offline
Member

Registered: 02/06/02
Posts: 297
Loc: Bangkok, Thailand
Hi,<br /><br />"But some of the variables need to be initialized first?"<br />Hmmm, good point.<br />Don't often use it myself, so have never encountered problems, but I suppose they could happen.<br /><br />Sanuk!<br />

Top


Top Posters Last 30 Days
AllenAyres 18
Gizmo 12
sirdude 6
GEN 3
tackaberry 2
Philipp 2
willing 2
Who's Online
1 Registered (zahqan), 47 Guests and 10 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by Gizmo
Yesterday at 11:45 PM
Multiple Identity Detector
by MattUK
Yesterday at 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
[7.2.1] - Naked shoutbox
by Iann128
08/22/08 07:27 PM
Nice Ajax Chat
by M4D
08/21/08 10:02 PM
51-card NVIDIA folding rig cranks out 265,200 ppd
by AllenAyres
08/13/08 10:10 PM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.x] AddThis - Social Networking
by Gizmo
08/01/08 01:30 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
Newest Members
welcomeback1, Paug, Tim Keating, anscers, Murphdog
13324 Registered Users

 

 

 
fusionbb message board php hacks