This is a re-make of the pligg External Vote Button. Includes configurable multiple target urls, and automatic voting for logged in users. Demo here. Instructions are included in the attachment, and below:
INSTALLATION:
1.) Transfer the "upload" directory to your pligg root folder. Delete the default evb directory first.
2.) Open up button.php and configure the variables $server, $url_mod - each variable is commented
3.) Open up url.php and configure the variables $web1, $web2, $db_table, $server - each variable is commented
USAGE:
(a) Standard Method - display one instance of the button on a single web page:
Code:
<script type="text/javascript" src="http://domain.com/evb/button.php"></script>
Code:
<script type="text/javascript">submit_url = 'http://www.targeturl.com';</script> <script type="text/javascript" src="http://domain.com/evb/button.php"></script>
If using Wordpress, you will need to add the javascript directly to the template files through FTP, and not just use the admin template editor, which seems to strip out javascript.
If you want to change what the button does, simply open up url.php and edit the html that makes up the button display, at the bottom of the file.













Linear Mode



