Author |
Topic |
|
ROB
Junior Member
USA
347 Posts |
Posted - 08 April 2002 : 11:44:49
|
I allow all members to create new polls. The problem is, occasionally people create a new poll when they really meant to create a new topic.
Is there any way to easily "convert" a poll into a regular topic (retaining the original message and replies)?
Jeff Hester http://www.bigblueball.com Absolutely everything about Instant Messaging & Chat |
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 08 April 2002 : 15:02:41
|
I don't see how they can do that. When they click the add poll link don't they see the "Poll Question" text and the Poll Answers text boxes below that? Then they would have to enter in at least 2 poll answers before they can submit it. They still didn't have a clue they were entering a poll instead of a new topic?
But the only way to do that is to change the T_ISPOLL field for each poll that you want to convert, to 0, in the database.
«------------------------------------------------------» Want to know when the next version comes out, as soon as possible? Join our Mailing Lists ! |
|
|
ROB
Junior Member
USA
347 Posts |
Posted - 08 April 2002 : 18:57:37
|
It amazed me, too, but it's happened twice recently, here and here.
And actually, flipping the T_ISPOLL flag to "0" is the first thing I tried, but they still show up as a polls. Both of those topic IDs referenced have T_ISPOLL = 0.
Any other ideas?
Jeff Hester http://www.bigblueball.com Absolutely everything about Instant Messaging & Chat
Edited by - rob on 08 April 2002 19:02:28 |
|
|
CamaroRScalet
Starting Member
USA
16 Posts |
Posted - 09 April 2002 : 13:07:45
|
Hey can someone anwser a question for me??
When I upload the pollmod.zip file will it overwrite the config.asp files and the rest of the files that I shouldnt be overwriting???
Can someone find an installation guide for mods because i am having trouble. I cant used the mod section in my forum because my server wont allow me to so I am using admin_mod_database2.asp.
Is there someone who could possibly anwser my questions???
|
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 09 April 2002 : 21:44:29
|
Rob, that should have worked as the poll code is surrounded byif rsTopic("T_ISPOLL") then unless you are using an older version of the mod, which checks if the first poll answer is empty or not to determine if it is a poll. Also make sure it is the correct topic id you flipped it for. quote: When I upload the pollmod.zip file will it overwrite the config.asp files and the rest of the files that I shouldnt be overwriting???
Yes, that's why you should copy and paste the code instead into your files. quote: I cant used the mod section in my forum because my server wont allow me to so I am using admin_mod_database2.asp.
Just copy the code from the dbs_poll_mod.asp file and paste it into the text box for the mod setup. Make sure to remove the poll mod name from the top of the code. quote: Is there someone who could possibly anwser my questions???
Nope.
«------------------------------------------------------» Want to know when the next version comes out, as soon as possible? Join our Mailing Lists ! |
|
|
ROB
Junior Member
USA
347 Posts |
Posted - 13 April 2002 : 12:45:19
|
Yeah, I edited the right topic, but no, that didn't work. I looked into the code, and I must have an older version of the Poll MOD.
I did find a quick workaround for that any moderator could use to convert a poll to a regular topic (though it probably depends on what version of the Poll MOD you've got). Basically, I edit the first post. You'll see in the URL a param "poll=1". Change that to "poll=0" and refresh. Save the topic and voila!... it's now a regular message. The poll "question" becomes the message body.
Jeff Hester http://www.bigblueball.com Absolutely everything about Instant Messaging & Chat |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 13 April 2002 : 13:23:35
|
Ah. Good one Rob. Never thought of that.
«------------------------------------------------------» Want to know when the next version comes out, as soon as possible? Join our Mailing Lists ! |
|
|
|
Topic |
|