Changeset 616939
- Timestamp:
- 10/24/2012 05:15:56 PM (13 years ago)
- Location:
- soundcloud-sound-competition/trunk
- Files:
-
- 10 edited
-
API/Soundcloud.php (modified) (1 diff)
-
API/Soundcloud/Version.php (modified) (1 diff)
-
Classes/class-admin-remixers.php (modified) (1 diff)
-
Classes/class-admin-settings.php (modified) (1 diff)
-
Classes/class-helper-functions.php (modified) (1 diff)
-
Classes/class-installation.php (modified) (1 diff)
-
Classes/class-remixers.php (modified) (1 diff)
-
Classes/class-sc-connect.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
soundcloud-sound-competition.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
soundcloud-sound-competition/trunk/API/Soundcloud.php
r606633 r616939 272 272 273 273 /** 274 * Retrieve access token through credentials flow 275 * 276 * @param string $username Username 277 * @param string $password Password 278 * 279 * @return mixed 280 * 281 * @access public 282 */ 283 function credentialsFlow($username, $password) 284 { 285 $postData = array( 286 'client_id' => $this->_clientId, 287 'client_secret' => $this->_clientSecret, 288 'username' => $username, 289 'password' => $password, 290 'grant_type' => 'password' 291 ); 292 293 $options = array(CURLOPT_POST => true, CURLOPT_POSTFIELDS => $postData); 294 $response = json_decode( 295 $this->_request($this->getAccessTokenUrl(), $options), 296 true 297 ); 298 299 if (array_key_exists('access_token', $response)) { 300 $this->_accessToken = $response['access_token']; 301 302 return $response; 303 } else { 304 return false; 305 } 306 } 307 308 /** 274 309 * Retrieve access token 275 310 * -
soundcloud-sound-competition/trunk/API/Soundcloud/Version.php
r606633 r616939 14 14 15 15 const MAJOR = 2; 16 const MINOR = 2;17 const PATCH = 1;16 const MINOR = 3; 17 const PATCH = 0; 18 18 19 19 /** -
soundcloud-sound-competition/trunk/Classes/class-admin-remixers.php
r612376 r616939 2 2 /* 3 3 Plugin Name: SoundCloud Sound Competition 4 Plugin URI: http://webhjelpen.no/wordpress-plugin s/host-soundcloud-sound-contest-in-wordpress/4 Plugin URI: http://webhjelpen.no/wordpress-plugin/soundcloud-sound-competition/ 5 5 Description: Host your own Sound Contest integrated with SoundCloud, users connect easy with SoundCloud to choose track to add to your competition. Everything within your WordPress web site. 6 6 Author: Kenneth Berentzen 7 Author URI: http://webhjelpen.no/wordpress-plugin s/7 Author URI: http://webhjelpen.no/wordpress-plugin 8 8 License: Copyright 2012 Kenneth Berentzen (email : berentzen@gmail.com) 9 9 -
soundcloud-sound-competition/trunk/Classes/class-admin-settings.php
r612376 r616939 2 2 /* 3 3 Plugin Name: SoundCloud Sound Competition 4 Plugin URI: http://webhjelpen.no/wordpress-plugin s/host-soundcloud-sound-contest-in-wordpress/4 Plugin URI: http://webhjelpen.no/wordpress-plugin/soundcloud-sound-competition/ 5 5 Description: Host your own Sound Contest integrated with SoundCloud, users connect easy with SoundCloud to choose track to add to your competition. Everything within your WordPress web site. 6 6 Author: Kenneth Berentzen 7 Author URI: http://webhjelpen.no/wordpress-plugin s/7 Author URI: http://webhjelpen.no/wordpress-plugin 8 8 License: Copyright 2012 Kenneth Berentzen (email : berentzen@gmail.com) 9 9 -
soundcloud-sound-competition/trunk/Classes/class-helper-functions.php
r612376 r616939 2 2 /* 3 3 Plugin Name: SoundCloud Sound Competition 4 Plugin URI: http://webhjelpen.no/wordpress-plugin s/host-soundcloud-sound-contest-in-wordpress/4 Plugin URI: http://webhjelpen.no/wordpress-plugin/soundcloud-sound-competition/ 5 5 Description: Host your own Sound Contest integrated with SoundCloud, users connect easy with SoundCloud to choose track to add to your competition. Everything within your WordPress web site. 6 6 Author: Kenneth Berentzen 7 Author URI: http://webhjelpen.no/wordpress-plugin s/7 Author URI: http://webhjelpen.no/wordpress-plugin 8 8 License: Copyright 2012 Kenneth Berentzen (email : berentzen@gmail.com) 9 9 -
soundcloud-sound-competition/trunk/Classes/class-installation.php
r612376 r616939 2 2 /* 3 3 Plugin Name: SoundCloud Sound Competition 4 Plugin URI: http://webhjelpen.no/wordpress-plugin s/host-soundcloud-sound-contest-in-wordpress/4 Plugin URI: http://webhjelpen.no/wordpress-plugin/soundcloud-sound-competition/ 5 5 Description: Host your own Sound Contest integrated with SoundCloud, users connect easy with SoundCloud to choose track to add to your competition. Everything within your WordPress web site. 6 6 Author: Kenneth Berentzen 7 Author URI: http://webhjelpen.no/wordpress-plugin s/7 Author URI: http://webhjelpen.no/wordpress-plugin 8 8 License: Copyright 2012 Kenneth Berentzen (email : berentzen@gmail.com) 9 9 -
soundcloud-sound-competition/trunk/Classes/class-remixers.php
r612376 r616939 2 2 /* 3 3 Plugin Name: SoundCloud Sound Competition 4 Plugin URI: http://webhjelpen.no/wordpress-plugin s/host-soundcloud-sound-contest-in-wordpress/4 Plugin URI: http://webhjelpen.no/wordpress-plugin/soundcloud-sound-competition/ 5 5 Description: Host your own Sound Contest integrated with SoundCloud, users connect easy with SoundCloud to choose track to add to your competition. Everything within your WordPress web site. 6 6 Author: Kenneth Berentzen 7 Author URI: http://webhjelpen.no/wordpress-plugin s/7 Author URI: http://webhjelpen.no/wordpress-plugin 8 8 License: Copyright 2012 Kenneth Berentzen (email : berentzen@gmail.com) 9 9 -
soundcloud-sound-competition/trunk/Classes/class-sc-connect.php
r612376 r616939 2 2 /* 3 3 Plugin Name: SoundCloud Sound Competition 4 Plugin URI: http://webhjelpen.no/wordpress-plugin s/host-soundcloud-sound-contest-in-wordpress/4 Plugin URI: http://webhjelpen.no/wordpress-plugin/soundcloud-sound-competition/ 5 5 Description: Host your own Sound Contest integrated with SoundCloud, users connect easy with SoundCloud to choose track to add to your competition. Everything within your WordPress web site. 6 6 Author: Kenneth Berentzen 7 Author URI: http://webhjelpen.no/wordpress-plugin s/7 Author URI: http://webhjelpen.no/wordpress-plugin 8 8 License: Copyright 2012 Kenneth Berentzen (email : berentzen@gmail.com) 9 9 -
soundcloud-sound-competition/trunk/readme.txt
r612418 r616939 14 14 == Description == 15 15 16 [ Remix Competition hosted within WordPress Soundcloud Integrated ](http://webhjelpen.no/wordpress-plugin/soundcloud-sound-contest/) has been created to let you host your own remix competition without thinking about storage space, it's all integrated with SoundCloud so that all remixes are stored there.16 [SoundCloud Sound Competition ](http://webhjelpen.no/wordpress-plugin/soundcloud-sound-competition/) has been created to let you host your own remix competition without thinking about storage space, it's all integrated with SoundCloud so that all remixes are stored there. 17 17 18 18 Just make your own app in Soundcloud and add the parameters within your settings and you are good to go. You can chose a database slug when a competition has come to an end and you want to start another one, this creates a new competition. The plugin uses [OAuth2](https://api.soundcloud.com/oauth2/) so your Soundcloud account details are not stored for the 19 19 plugin to gain access. 20 20 21 Checkout the website - http://webhjelpen.no/wordpress-plugin/soundcloud-sound-co ntest/21 Checkout the website - http://webhjelpen.no/wordpress-plugin/soundcloud-sound-competition/ 22 22 23 23 … … 73 73 74 74 75 == Upgrade Notice == 76 77 Just replace the new plugin files. 78 75 79 76 80 == Frequently Asked Questions == -
soundcloud-sound-competition/trunk/soundcloud-sound-competition.php
r606633 r616939 2 2 /* 3 3 Plugin Name: SoundCloud Sound Competition 4 Plugin URI: http://webhjelpen.no/wordpress-plugin s/host-soundcloud-sound-contest-in-wordpress/4 Plugin URI: http://webhjelpen.no/wordpress-plugin/soundcloud-sound-competition/ 5 5 Description: Host your own Sound Contest integrated with SoundCloud, users connect easy with SoundCloud to choose track to add to your competition. Everything within your WordPress web site. 6 Version: 0.9 6 Version: 0.9.1 7 7 Author: Kenneth Berentzen 8 Author URI: http://webhjelpen.no/wordpress-plugin s/8 Author URI: http://webhjelpen.no/wordpress-plugin 9 9 License: Copyright 2012 Kenneth Berentzen (email : berentzen@gmail.com) 10 10 … … 22 22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 23 */ 24 25 24 26 25 27 global $wpdb;
Note: See TracChangeset
for help on using the changeset viewer.