Wordcamp 2010 I'm A Scientist Get me Out of Here - Mike Little

1 month ago

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Do you like this presentation?

1 comment

Comments 1 - 1 of 1 comment previous next Post a comment

  • mikelittle Mike Little 1 month ago
    See ’Notes on slide x’ tab or transcript below for speaker notes.
    Mike
Login or Signup to post a comment
Login to SlideShare
Login to Twitter
Edit your comment Cancel

Notes on slide 1

History, I'm a Councillor 7 years, IAS trial on old software, Need for updated software, More features, Up-to-date

Zone area, Login or register, Questions, News and announcements Parent / root site

Scientists gallery Loged in user's brief profile Recent questions, etc

My first thoughts on addressing each of the requirements.

Plugins interfering with each other, BP too much functionality, Spent too much time turning things off. WPMU registration nightmare – not enough hooks, to much hard-coded

Details of what was required over and above 'normal' registration.

Cimy Didn't support per role fields, but handled with naming convention Slightly hacked – just two lines added Theme my profile – heavily hacked to add more functionality Plenty of custom validation and custom display code No / duplicate emails! Registration code / with pre-sets (role, zone) More profile questions Not enough hooks == Modify core!

Email not required for students, school not required for scientists. Can only prompt for the superset of required fields Handle what's really required after ascertaining role through sign up code.

Example scientist profile Brief view for less able/ less interested students. Not overwhelmed.

Scientist can add rich content

Scientist overview, pulls in specific profile info Live question/comment data

Student profile Avatar from fixed choice! Achievements for participating in the event – asking questions, voting in each round – good motivation Current voting status

Mods need to change categories, duplicates, mark as interesting, then approve Approved but unanswered questions not public – only scientists can see their unanswered questions Stages are : submitted -> approved -> answered (implemented as draft -> pending -> published) scientists cannot see others answers while they are answering. Many duplicates Email to scientist – new questions Email to student – your question answered Email on duplication – student look here for your answer

Proposed solution – wasn't ready enough in 2.9

Simple form no distractions Easy to choose scientists Can't ask evicted scientist ('all' handles that too) Form submit creates draft post in question category Text box -> post_content Question text is copied to post title (possibly with truncation)

Nice visuals! Scientists names link to profiles. Standard wordpress category listing with extra plugin for nice paging Standard hook to modify comment count used throughout – don't count answers as comments.

Single question – visually separate answers from comments Avatar/profile pic – maintains relationship/ownership Supports replies/nesting maintains conversation

Short urls done almost completely in .htaccess! Missed screen shot of extra url it's a special for scientists only (my unanswered questions)

Library and FAQ – Zone specific but both will show root site content if none or not-enough zone content Global lists use post-indexer and comment-indexer premium plugins, otherwise query across zones is impossible/expensive Need to do my own later because need more info stored to do more – including search.

History, Change votes, Evictions, 3, 4, or 5 rounds for 4, 5, or 6 sci's Backend interface to show counts per round. Future functionality, stats, graphs

Cannot be more simple way to vote Students can vote again any time (Maybe need to make that explicit) Only current vote this round counts.

Feedback on voting Perhaps needs to be more exciting!

First solution – problems/ugly/slow/didn't always work cost money but hosted externally == light load. P2 tried but just too hard to make work –not geared for real time. Pierre's wordspew – revamped shoutbox clone Old school ajax Poor code – both PHP and JavaScript, Heavy load on server Hacked, hacked, and hacked – sometimes in real time on live server! Added Banning students, Added deleting messages – (increased load because delete has to propagate to all screens)

Simple but seemed to work OK. Right side for Scientists. Left for everyone else. Moderators get a delete link on each message, Click Avatar to ban user Needed debugging/tweaking in real time during chats to diagnose problems. Very carefully!

After chat session there was a problem: If the students didn't click to another page or refresh they could continue to chat. Maintained high load on server, but more importantly: unmoderated. Unsupervised chat – publicly visible! Bad, bad, bad Back end solution – turn off chat engine per zone. Force refresh of page to kill chat. Happy client! tweet

Info about email is stuck in one table (as an event) Who to email stuck in another table with link

Different queues per event type WP cron jobs mean mailouts can be staggered Scientists' “new question to answer” high priority – runs more often, grabs more per pass. More also equals better concat Email message constructed from event type template + event info + user info at send time. Quite heavy processing so out of request processing with WP cron is good.

Not enough screen width! Mods needed to make changes en masse to cope with sheer volume Mass action = un/approve/un/interesting/delete Very expensive/slow screen to generate! These Qs are unapproved and highlighted

These Qs are answered Options are different, “”interesting” now individual checkbox Cannot mark a Q as duplicate now as it has been answered. High post numbers indicates sheer volume of questions/duplicates – though versions, etc included.

Admin/moderator summery dashboard Very, very, very expensive to accumulate data – cached for 10 minutes. Very popular with client giving a feel of progress / success of interaction. This was implemented within hours of the request Happy client again! Tweets

Couldn't have done it without all the framework WordPress gives.

1 Favorite

Wordcamp 2010 I’m A Scientist Get me Out of Here - Mike Little - Presentation Transcript

  1.  
  2. Mike Little
    • Long term software developer
    • Open source enthusiast
    • Co-founded WordPress
    • Blog: http://zed1.com/journalized
    • Company: zed1.com
    • Contact: mike@zed1.com
  3. I'm a Scientist Get me Out of Here I’m a Scientist is like school science lessons meet the X Factor! School students choose which scientist gets a prize of £500 to communicate their work.
  4. The Team Gallomanor Dot design Communis zed1.com Sponsors – Wellcome Trust
  5. What is I'm a Scientist? Scientists and students talk on this website. They both break down barriers, have fun and learn. But only the students get to vote. 20 zones! five scientists in each zone, talking to 20 classes of students. So that’s 100 scientists and 5,000 students .
  6. Root Site
  7. Zone home page
  8. Interaction The kids ask questions of the scientists The scientists answer the questions Everyone (registered) gets to comment Real time chat sessions The students vote for their favourite scientist Scientist profiles. Student profiles.
  9. Original Plan / Requirements Multiple zones – WPMU Custom profiles – Buddypress Questions & Answers – Custom post types Registration – specific restrictions Privacy / Child protection – Custom Roles Easy interaction Administration / Moderation
  10. What Worked WPMU – of course Buddypress – Too much Custom post types – To little Custom registration – Too hard Data / Child protection – Half a plugin
  11. Custom Profiles Extra fields on registration Password on registration Registration with role – Student/Teacher/Scientist, Sign up code – URN Duplicate or no email! Avatar for students/Profile pics for scientists
  12. BuddyPress Problems Too much functionality More effort turning things off Conflict with 'profile' plugins Abandoned!
  13. Custom Profiles
    • Students, Scientists
    • Cimy User Extra Fields
    • Theme my profile
    • Custom code
    • Custom validation
  14. Registration
  15. Scientist Profile Brief details Expanded Interview
  16. Expanded Scientist Profile
  17. Scientist Page
  18. Student Profile
    • Avatar
    • Achievements
    • Current Vote
  19. Questions & Answers
    • Students ask questions
    • Moderator approves questions
    • Scientists answer questions
    • Duplicate questions
    • Question categories
    • Notifications
  20. Custom Types
    • Not enough support in 2.9
    • UI non-existent
    • No feed
    • No good!
  21. Questions & Answers Posts in 'question' category Custom taxonomy / permalinks Answers are comments with meta data Comments are comments Asked by whom – Author + meta data Asked to whom – meta data
  22. Ask a Question
  23. Questions Page
  24. A Question
    • Answers styled
    • Comments
    • Avatars
  25. Custom URLs
    • Questions
    • Question categories
    • To scientist
    • Short URLs
    • Extra URL
  26. Other features Library – hierarchy of pages FAQ – hierarchy of pages Wall (now dropped) – page with comments Global questions on root Global comments on root
  27. Voting Positive voting – who do you want to win? Per round – multiple rounds Change your mind at any time
  28. Vote Page
  29. Voted
  30. Chat Real time chat, Two 'rooms' side by side – Scientists / everyone else Moderated Previous solution – Java applet/ugly/cost, Pierre's Wordspew
  31. Chat
  32. Chat Backend
  33. Tweet!
    • Turn off chat engine in back end
    • Plus force refresh of browser page
    • Equals very happy client
  34. Email When scientist is asked a Question, When question is answered, When question is marked as duplicate When news items are posted, e.g. eviction
  35. Email Pooling
    • Pool emails to control flow
    • Concatenate multiple ones
    • WordPress' cron jobs
    • Auto generated posts/emails - eviction
  36. Administration and Moderation Zone Configuration Questions Email URN generation Votes/ Eviction Chat control User import
  37. Question Moderation
  38. Question Moderation 2
  39. Dashboard
  40. Tweets
    • Implementing major feature within hours of request == happy client again!
  41. Future More features Next year International I'm a councillor I'm a footballer? I'm a celebrity!
  42. Plugins Pierre's Wordspew – Heavily hacked for two room chat and lighter load (looks like some of my issues have been addressed recently). http://bit.ly/9Xpvps Theme my profile – great starting point for profile pages and profile editing – heavily added to. http://bit.ly/boYEEj Post indexer (premium) – for global questions list. http://bit.ly/duZhhS Comment indexer (premium) – for global comment list. http://bit.ly/cb2UqB Capability Manager – (used to create roles) http://bit.ly/bdkN3i CIMY User Extra Fields – http://bit.ly/aYDfR7
  43. Links The site: http://imascientist.org.uk/ Gallomanor: http://www.gallomanor.com/ The Wellcome Trust: http://www.wellcome.ac.uk Dot Design http://dot-design.co.uk/ Communis: http://communis.co.uk/ Scientist Mark Fogg's ( http://ias.im/u.1479 ) 4am Eureka moment inspired by student question: http://bit.ly/bmEith zed1.com: http://zed1.com/
  44. Questions

Mike LittleMike Little + Follow

827 views, 1 fav, 0 embeds more

About this presentation

Usage Rights

CC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs LicenseCC Attribution-NonCommercial-NoDerivs License

Stats

  • 1 Favorites
  • 1 Comments
  • 6 Downloads
  • 827 Views on
    SlideShare
  • 0 Views on
    Embeds
  • 827 Total Views

Accessibility

Additional Details

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint

Follow SlideShare