PDA

View Full Version : I'd like a php? script that interacts with podcastalley vote


allthewhile
Jul 5th, 2005, 01:31 AM
I'd like to be able to have a script on my site where the person enters their email into a text box like the one on dawn and drew

http://dawnanddrew.podshow.com/

and they can vote for me and their email is given to me at the same time so that they can be added to my email list. I can add their email manually as long as it is saved somewhere.

Anyone game on hooking this up?

allthewhile
Jul 5th, 2005, 09:26 PM
Anyone else see the cool factor in this?

jbisjim
Jul 6th, 2005, 07:58 AM
*raises hand*

Patrick
Jul 6th, 2005, 10:46 AM
I've done something similar. On my site, when you sign up for my mailing list, we capture your email then it takes you to the PA voting submission box with your email already filled out.

allthewhile
Jul 6th, 2005, 10:58 AM
I've done something similar. On my site, when you sign up for my mailing list, we capture your email then it takes you to the PA voting submission box with your email already filled out.

What script do you use for your mailing list? I haven't found a good open source / free one. I'd also like to get that script that combines the podcastalley voting with the mailing list. Please?

You're the man.

Patrick
Jul 6th, 2005, 11:13 AM
It's called "I programmed it myself." It's ASP, and not PHP, so I doubt it would help you. It's written for my database, etc. But it's only like 10 lines of code - not hard at all if you know PHP.

jbisjim
Jul 6th, 2005, 04:44 PM
Rev Allthewhile,

With a hint of help, I think i have it i am testing it

allthewhile
Jul 6th, 2005, 07:08 PM
ty jbisjim!

btw your feed is currently fudged.

jbisjim
Jul 6th, 2005, 09:20 PM
ty jbisjim!

btw your feed is currently fudged.

Yes sir it was.
thanks
fixed for now

jbisjim
Jul 7th, 2005, 02:14 PM
The code for the voting looks like this.

<p class="post-footer">
<form action="http://www.podcastalley.com/one_vote_process2.php" method="post" name="form" target="_blank">
podcastalley.com top 10

<input type="hidden" name="pod_id" value="5363">
<input type="text" name="podvote_email" size="16" value="your email address">
<input type="submit" name="submit" value="vote"></form>


</p>

This does not yet take the email addresses and store them.
Be sure to change it to your Podcast Alley ID. Or leave it mine :-)

And thanks D for pointing out the code to me :-)

thefly
Jul 7th, 2005, 10:00 PM
Rather than try to store the e-mail addresses, you could have it send an E-mail off to a Gmail address or something like that. Then, in Gmail, you create a distribution list (I think you can do that in Gmail) to use as your e-mail list. I think.

allthewhile
Jul 7th, 2005, 10:40 PM
I'm sure it would be simple to do. I'll we'd need is a php script that would catch the email address and email it to a yahoo account and then redirect the user to the voting page with the email in there.