Since this got bumped yesterday and people still seems to use this I've edited the function slightly, removed some useless variables and code. I also replaced the form with a header (votingapi.com required a form to be sent before).
Haven't tested it, let me know if it does not work...
Vote plugin for RevCMS
Features:
Automaticlly discover what url to be sent back to.
Automaticlly finds you user details in config.php
Forces the user to vote (no way out).
Recridts the user automatlicy to votingapi.com
(and returns to client when done voting)
If votingapi.com is offline it...