• Resolved darren_p

    (@darren_p)


    Hi, love your plugin, it’s been very helpful.

    I have two petitions that are essentially the same except that one has confirmations on and one has them off.

    What I need to be able to do is combine the two petitions when displayed meaning:
    1. The counter would show the total of the two.
    2. The [signaturelist] shortcode would display the two lists combined.

    Is this possible?

    Alternatively, we could just use one petition if there was a way to have it set two separate ways (confirmation on and confirmation off) depending on use case.

    Any thoughts on best way to approach?

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Author SpeakOut! Steve

    (@123host)

    Hi Darren,

    Because a signature is connected to a specific petition in the database, it isn’t possible to combine two petitions.

    Except it is if you know SQL and are confident manipulating the database. You would need to issue a SQL command to change the petition number of each signature.

    Assuming you have petition 1 and petition 2 and you wanted to merge them all into petition 2 you would issue a command something like UPDATE dk_speakout_signatures SET petitionid=2 WHERE petitionid=1 but that is 100% off the top of my head so don’t use it 😛

    If you are willing to let me into your server I will do it for you. Contact me directly via https://SpeakOut.123host.net.au

    Your other question about having confirmation set two ways on one petition, nope, sorry that isn’t possible.

    Again an exception. Depending on your hosting, you could have two separate petitions and set up a Cron job which is run automatically at specified intervals (every minute?) to run a script that changes the owner of signatures. It is a bit of a hack, but it would work.

Viewing 1 replies (of 1 total)

The topic ‘Combining two petitions for display’ is closed to new replies.