multisite wp in education wc philly2011
DESCRIPTION
Implementing a Wordpress Multisite as a faculty / staff / student platform within Temple University. The Challenges we faced, and the problems it solved. Presentation given at Wordcamp Philly 2011, presentation put together by Paul PaireTRANSCRIPT
![Page 1: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/1.jpg)
Multisite WP in Education
Implementing Wordpress MultiSite at Temple University through
crowdsourcing
![Page 2: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/2.jpg)
Speakers
• Paul Muller, Senior Technical Support• Paul Paire, Exec Director Special Projects• Sheri Stahler, AVP for Computer Services
![Page 3: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/3.jpg)
About Temple
39,000
9 5,000
![Page 4: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/4.jpg)
How things were
• Home grown web pages– No standards/policies– Difficult for the standard user to create/update– Static Web
• Google Sites– Not on a ‘temple.edu’ domain– Limited functionality/restricted features
![Page 5: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/5.jpg)
What we needed
• Easy to use• Policies• LDAP authentication• Moderation of comments• Target audience
– Faculty– Staff
![Page 6: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/6.jpg)
Why Crowdsourcing?
• Beyond the buzzword• Quicker with help• Play to people’s strengths• Different points of view
![Page 8: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/8.jpg)
Any problems?
wp-includes/wp-db.php• Change mysql_connect() to
mysql_pconnect()• Added a one time check to see if the
connection is established, if not try one more timeif ( !$this->dbh ) { if ( WP_DEBUG ) { $this->dbh = mysql_pconnect( $this->dbhost, $this->dbuser, $this->dbpassword, true ); } else { $this->dbh = @mysql_pconnect( $this->dbhost, $this->dbuser, $this->dbpassword, true ); }
![Page 9: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/9.jpg)
Alternate solution
HyperDB• HyperDB is an advanced database class
that supports replication, failover, load balancing, and partitioning.
![Page 10: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/10.jpg)
User Management
• LDAP Integration– Automatically add users when they login
• Site administrators add users from our LDAP, or existing users
• Read-only if not affiliated with Temple
![Page 11: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/11.jpg)
Plugins
• Not all users should have access to all plugins
• Some plugins are site specific
![Page 12: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/12.jpg)
Challenges of Control
• All comments must be moderated• Users cannot change their passwords
through profile, or standard WP process• Temple Branding on Personal Sites?• Sign up process changed significantly
![Page 13: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/13.jpg)
Customized Plugins
• More Privacy Options• Site Creation Wizard• Sidebar login• Superb Slideshow Gallery• LDAP • Custom plugin to avoid hacking core
![Page 14: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/14.jpg)
Accessibility
• Themes (i.e. Search boxes)• Plugins (i.e. Alt-Tags for images)• Wordpress core (i.e. Login forms)• User education (i.e. closed captioning for
embedded videos)
![Page 15: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/15.jpg)
Governance
• Request process for Plugins/Themes• Policies• Central Advisory Group
![Page 16: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/16.jpg)
Bonus slides
![Page 17: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/17.jpg)
Plugins available to all end users• amr events calendar or lists with ical files• Authors Widget• Blubrry PowerPress• Collapsing Categories• FD Feedburner Plugin• FeedWordPress• Galleria Galleria• Google Calendar Events• Gravity Forms• Importers (Wordpress, Blogger, etc.)• LaTex for Wordpress• Members• My Category Order• Peter’s Collaboration Emails• Sidebar Login• Sociable• WordPress SEO
![Page 18: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/18.jpg)
Plugins we use (but not the public)• Exploit Scanner• Health Check• Login Logo• More Privacy Options• Restrict MultiSite Plugins• Simple LDAP Login • Site Creation Wizard• Superb slideshow gallery• Theme Info• Plugin Stats• WP Touch• YD WPMU Bloglist Widget• Custom written plugins (to avoid hacking core)
![Page 19: Multisite wp in education wc philly2011](https://reader033.vdocuments.us/reader033/viewer/2022060109/5554aa38b4c905fd608b5138/html5/thumbnails/19.jpg)
Functions of custom written plugin• Replace Add User functions with Add LDAP User• Users cannot change password in profile• Password change requests go to our site• Hide Simple LDAP settings from site administrators• Site Admins cannot enable unmoderated or
unauthenticated comments• Encode variables being passed through wp-login.php to
wp-signup.php• Change ‘username’ to ‘AccessNet username’ on wp-
login.php• Change styling & wording for the wp-signup.php steps