standing on the shoulders of giants
DESCRIPTION
This is the talk i gave at Wordcamp India which explains how we used Wordpress to build RadioVeRVe(http://radioverve.com)TRANSCRIPT
![Page 1: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/1.jpg)
Building a radio site on wordpress
![Page 2: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/2.jpg)
Building a radio site on wordpress
![Page 3: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/3.jpg)
Standing on the shoulders of Giantshttp://blogs.gnome.org/shres/2009/01/05/shoulder-of-
giants/
![Page 4: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/4.jpg)
![Page 5: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/5.jpg)
![Page 6: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/6.jpg)
In the beginning...
![Page 7: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/7.jpg)
![Page 8: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/8.jpg)
Textpattern
![Page 9: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/9.jpg)
We moved because...
![Page 10: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/10.jpg)
Extensibility
![Page 11: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/11.jpg)
Well known CMS
![Page 12: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/12.jpg)
PluginsFrom scratch butt to land on moon
![Page 13: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/13.jpg)
That lovely community
![Page 14: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/14.jpg)
After about 6 months of work...
![Page 15: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/15.jpg)
![Page 16: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/16.jpg)
![Page 17: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/17.jpg)
Design 3
![Page 18: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/18.jpg)
![Page 19: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/19.jpg)
Learnt some important lessons
![Page 20: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/20.jpg)
Deal with multiple databases
![Page 21: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/21.jpg)
define('IC_DB_NAME', 'phqueue');define('IC_DB_USER', 'phqueue');define('IC_DB_PASSWORD', 'blahblah');define('IC_DB_HOST', 'localhost');
if( !function_exists('switch_to_icecast_db') ) { function switch_to_icecast_db() { $connect = mysql_connect(IC_DB_HOST, IC_DB_USER, IC_DB_PASSWORD); mysql_select_db(IC_DB_NAME} }}
![Page 22: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/22.jpg)
Ze plugins are Fscked in wp_head
![Page 23: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/23.jpg)
Programmatic Pages
![Page 24: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/24.jpg)
$my_post = array();$my_post['post_title'] = $artist_name;$my_post['post_type']='page';$my_post['post_author']=$user_id;$my_post['post_status'] = 'publish';$my_post['post_parent']='32';$postid=wp_insert_post( $my_post );
if($postid){ $sql="insert into {$wpdb->prefix}postmeta (post_id,meta_key,meta_value) VALUES('$postid','_wp_page_templat\e','artistinfo.php')"; $wpdb->query($sql);}
![Page 25: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/25.jpg)
Ninja foo
![Page 26: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/26.jpg)
add_action('load-profile.php', 'rv_update_profile', 98);
![Page 27: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/27.jpg)
Ninja Bar
![Page 28: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/28.jpg)
$user = wp_authenticate($username, $password); if(!is_wp_error($user)){ wp_signon(array('user_login'=>$username, 'user_password'=>$password,'remember'=>'true')); echo "1"; }else
![Page 29: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/29.jpg)
wp_enqueue
![Page 30: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/30.jpg)
huge thanks to everyone who makes
wp happen!
![Page 31: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/31.jpg)
One can see further standing on
shoulders of giants!
![Page 32: Standing on the shoulders of Giants](https://reader034.vdocuments.mx/reader034/viewer/2022051412/54bda0c74a79596a118b4599/html5/thumbnails/32.jpg)
Thanks