StumbleUpon Bribe Installation

 

Step One: Configuration

Using your favourite text editor (eg notepad), open up the config.php file included in this zip.

To change the number of StumbleUpon votes that the user must make across your site, replace the number 1 with the number of your choice. The number must be between 1 and 10.

The host url option must be the url of the site that the users must vote for and must NOT contain "www" or "http://".

Finally, the success url is the page that the user will be sent once they have made enough votes for your site. This url must be complete and contain "http://" and "www".

Once you have finished, save your changes and exit.

 

Step Two: Upload

Using your favourite FTP program, upload the entire sucheck folder to your website. If you prefer, you can upload the two included php files to your root folder, but the two php files must be located in the same folder for the script to run correctly.

 

Step Three: Add site code

Finally, following the example provided in sample.html, we must add the form code into your page so that users have somewhere to submit their StumbleUpon username for checking.

Copy the html below into your website, make sure you edit the "action" part of the form (in bold) to ensure that the form is pointing to the sucheck.php file where it is located on your site.

<form name="login" id="login" action="sucheck/sucheck.php" method="post">
Enter your Stumbleupon username:<br />
<input type="text" name="username" id="username" class="input" size="20" tabindex="2" />
<input type="submit" name="submit" id="submit" value="Submit &raquo;" tabindex="3" />