Ok, so in poll.php in the poll module, I see this code:
Code:
$query = 'UPDATE #__poll_data'
. ' SET hits = hits + 1'
. ' WHERE pollid = ' . (int) $poll_id
. ' AND id = ' . (int) $option_id
;
where
I'd like to make it so that upon completion of a donation from paypal, it will advance the number of hits by whole numbers according to how much they donated.
and in
Code:AND id = ' . (int) $option_id
;
I'd like to hardcode which option it sets the votes to as each vote option will have it's own PayPal donate/vote button for each option.
Now, anyone familiar with paypal enough to see how this could be done?
-Josh