Previous Thread
Next Thread
Print Thread
Rate Thread
#221311 07/17/2002 1:53 AM
Joined: Jun 2002
Posts: 375
Enthusiast
Enthusiast
Offline
Joined: Jun 2002
Posts: 375
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.

Just a thought on a fairly simple and non-intrusive way to make the UBBT easier to use for our basic users

Sponsored Links
neuron #221312 07/19/2002 3:28 AM
Joined: Feb 2002
Posts: 295
Member
Member
Offline
Joined: Feb 2002
Posts: 295
Hi,

My members complained about this as well, which is why I threw together a quick PHP poll generator.
I have attached it here. (it needs to be renamed to poll_generator.php)

Sanuk!
Attachments
52826-poll_generator.txt (0 Bytes, 60 downloads)

Deyth_Combine #221313 07/19/2002 8:20 AM
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Thanks Sanuk

It looks to be very handy!

sjsaunders #221314 07/19/2002 9:54 PM
Joined: Jun 2002
Posts: 375
Enthusiast
Enthusiast
Offline
Joined: Jun 2002
Posts: 375
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...

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.

neuron #221315 07/21/2002 2:08 PM
Joined: Jun 2002
Posts: 375
Enthusiast
Enthusiast
Offline
Joined: Jun 2002
Posts: 375
After some research, it seems some of this code does not work with my server version, bummer...

Sponsored Links
neuron #221316 07/31/2002 4:41 PM
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
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


UBB.threads Developer
neuron #221317 08/01/2002 8:58 AM
Joined: Feb 2002
Posts: 295
Member
Member
Offline
Joined: Feb 2002
Posts: 295
Hi,

"But some of the variables need to be initialized first?"
Hmmm, good point.
Don't often use it myself, so have never encountered problems, but I suppose they could happen.

Sanuk!


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)