If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
[AP] Multiple polls exact same quesiton and options?  XML
Forum Index » Support Forum
Author Message
BassKozz
Beginner

Joined: 23/08/2006 15:30:40
Messages: 6
Offline

Is there a way to duplicate one poll multiple times?

I am going to post a poll on about 50 different pages that correspond to 50 different video's and I want the user to be asked the same question and given the same options for each one. But I don't want to link to the same poll because I need to view different results for each one. Is there a way to duplicate ?
or even better have a single poll log and display different results when it comes from different HTML pages? (that would be awesome, becuase then you could create one poll and link to it from different HTML pages and get different results for each page)

Thanks,
-BassKozz
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Sorry, you'll have to create a poll for each page.
There is no feature in AP to link several sets of results to one poll question and answers.

A quick way to do it would be to use phpMyAdmin and copy that poll's data from the table and paste it multiple times while making sure the poll id increments correctly.

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
BassKozz
Beginner

Joined: 23/08/2006 15:30:40
Messages: 6
Offline

Auron,

Thanks for the reply, I appreciate the help.
I am new to this sort of stuff, but luckly my host already has phpMyAdmin loaded

So which tables/fields should be copied?
And how should I do this using phpMyAdmin?

I assume it's the poll_index table, but how do I copy?

Thanks for the help,
-BassKozz
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

I'll get back to you on that since it's late here and I need some sleep. : P

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
BassKozz
Beginner

Joined: 23/08/2006 15:30:40
Messages: 6
Offline

Ok, Thanks again for the help

p.s. Is there a SQL command that I can enter that will simply duplicate the poll for me 50 times ?

when you wake
-BassKozz
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

The basics of it are:

you create a new poll manually in phpMyAdmin.
get the SQL code for it.
then use that 49 more times, hopefully the poll id will auto increment.

I think that will be the only table you need to edit unless AP stores the results/votes elsewhere.

Still need sleep mind you so this is only a rough set of instructions.

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
BassKozz
Beginner

Joined: 23/08/2006 15:30:40
Messages: 6
Offline

Auron wrote:... mind you so this is only a rough set of instructions.


Still Confused.
I'll wait for the detailed instrucitons.
Thanks again,
Good night
-BassKozz
BassKozz
Beginner

Joined: 23/08/2006 15:30:40
Messages: 6
Offline

Auron,

You awake yet ?
-BassKozz
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum