Building an Autonomous Website

454 views

Published on

Slides from my presentation at WordCamp Orange County 2016

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
454
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Building an Autonomous Website

  1. 1. AUTONOMOUS WEBSITE BUILDING AN
  2. 2. BUILD A SITE THAT RUNS BY ITSELF THE GOAL
  3. 3. EMAIL USERS A DAILY WORKOUT BASED ON THE EQUIPMENT THEY HAVE AVAILABLE AND THE MOVEMENTS THEY ARE CAPABLE OF DOING. THE PLAN:
  4. 4. THE REQUIREMENTS ▸ Have all user interaction take place on the front end of the site ▸ Update data daily automatically ▸ Send daily emails automatically ▸ Send weekly emails automatically
  5. 5. THE REQUIREMENTS ▸ Have all user interaction take place on the front end of the site ▸ Update data daily automatically ▸ Send daily emails automatically ▸ Send weekly emails automatically ▸ Build it all in 2 weeks
  6. 6. “THERE’S A PLUGIN FOR THAT, RIGHT?” Me
  7. 7. “YOU BET THERE IS!” The WP Community
  8. 8. 1) LIMIT SPAM USER SIGNUPS ▸ Any time you have a site that allows for registrations, you need a way to block user spam.
  9. 9. 1) LIMIT SPAM USER SIGNUPS PLUGIN: GRAVITY FORMS USER REGISTRATION ADD-ON
  10. 10. 2) KEEP USERS OFF THE ADMIN PAGE ▸ Main objective, control the user experience
  11. 11. 2) KEEP USERS OFF THE ADMIN PAGE PLUGIN: REMOVE DASHBOARD ACCESS
  12. 12. 3) REDIRECT USERS AT LOGIN ▸ When a user logs in, send them to the most important page. In this case, the user settings page. ▸ If an admin logs in, redirect them to the dashboard.
  13. 13. 3) REDIRECT USERS AT LOGIN PLUGIN: PETER'S LOGIN REDIRECT
  14. 14. 4) CUSTOMIZED LOGIN PAGE ▸ Again, it’s all about controlling the user experience.
  15. 15. 4) CUSTOMIZED LOGIN PAGE PLUGIN: CUSTOM LOGIN PAGE CUSTOMIZER
  16. 16. 5) CUSTOM MENUS BASED ON USER TYPE ▸ The site will have 3 types of users ▸ Site visitor / logged out users ▸ Logged in users ▸ Admins ▸ Did I mention controlling the user experience?
  17. 17. 5) CUSTOM MENUS BASED ON USER TYPE PLUGIN: NAV MENU ROLES
  18. 18. CUSTOM CODE ADD USERS
  19. 19. 5) CUSTOM MENUS BASED ON USER TYPE PLUGIN: NAV MENU ROLES Admin Logged In User Site Visitor
  20. 20. 6) LOG IN/OUT MENU ITEM ▸ Logged in users don’t need a “log in” link ▸ Visa versa for logged out users
  21. 21. 6) LOG IN/OUT MENU ITEM PLUGIN: BAW LOGIN/LOGOUT MENU
  22. 22. FULL MENU
  23. 23. 7) HIDE CONTENT PAGES FROM NON-MEMBERS ▸ If a user is not logged in, the system doesn’t know which user’s data to display. Therefore, if a visitor isn’t logged in, we hide the content and display a login link. ▸ For admins, I wanted to control that experience as well.
  24. 24. 7) HIDE CONTENT PAGES FROM NON-MEMBERS
  25. 25. 7) HIDE CONTENT PAGES FROM NON-MEMBERS
  26. 26. 7) HIDE CONTENT PAGES FROM NON-MEMBERS PLUGIN: MEMBERS
  27. 27. 8) RUN FUNCTIONS AUTOMATICALLY ▸ Send daily emails automatically each night ▸ Send weekly emails automatically each Sunday ▸ Update system data automatically each night
  28. 28. “THE SOFTWARE UTILITY CRON IS A TIME-BASED JOB SCHEDULER IN UNIX-LIKE COMPUTER OPERATING SYSTEMS. PEOPLE WHO SET UP AND MAINTAIN SOFTWARE ENVIRONMENTS USE CRON TO SCHEDULE JOBS (COMMANDS OR SHELL SCRIPTS) TO RUN PERIODICALLY AT FIXED TIMES, DATES, OR INTERVALS.” wikipedia WHAT IS A CRON JOB?
  29. 29. CUSTOM CODE DAILY FUNCTIONS
  30. 30. 8) RUN FUNCTIONS AUTOMATICALLY PLUGIN: WP-CRONTROL
  31. 31. UPTIMEROBOT.COM
  32. 32. 9) SEND EMAILS WITH HIGH DELIVERABILITY ▸ Sending emails from shared hosting has a lower chance of making it to your users ▸ Services like Mailchimp, Constant Contact, SendGrid work with providers like yahoo & gmail to ensure higher deliverability
  33. 33. 9) SEND EMAILS WITH HIGH DELIVERABILITY PLUGIN: SENDGRID
  34. 34. 9) SEND EMAILS WITH HIGH DELIVERABILITY PLUGIN: SENDGRID
  35. 35. CUSTOM CODE BUILD THE EMAIL TEMPLATE
  36. 36. 9) SEND EMAILS WITH HIGH DELIVERABILITY PLUGIN: SENDGRID
  37. 37. “WAIT, SO THAT’S ALL THERE IS TO IT?” You
  38. 38. “NOPE” Me
  39. 39. RESOURCES WE COVERED ▸ Gravity Forms User Registration Add-On
 http://www.gravityforms.com/add-ons/user-registration/ ▸ Remove Dashboard Access
 https://wordpress.org/plugins/remove-dashboard-access-for-non-admins/ ▸ Peter's Login Redirect
 https://wordpress.org/plugins/peters-login-redirect/ ▸ Custom Login Page Customizer
 https://wordpress.org/plugins/login-customizer/ ▸ Nav Menu Roles
 https://wordpress.org/plugins/nav-menu-roles/ ▸ BAW Login/Logout menu
 https://wordpress.org/plugins/baw-login-logout-menu/ ▸ Members
 https://wordpress.org/plugins/members/ ▸ WP Crontrol
 https://wordpress.org/plugins/wp-crontrol/ ▸ Sendgrid
 https://wordpress.org/plugins/sendgrid-email-delivery-simplified/
  40. 40. ADDITIONAL RESOURCES ▸ Akismet ▸ CMB2 ▸ FacetWP ▸ Google Analytics by Yoast ▸ Gravity Forms ▸ Jetpack ▸ Pretty Link Pro ▸ Yoast SEO ▸ uptimerobot.com
  41. 41. THANK YOU JOHN HAWKINS ▸ john@vegasgeek.com ▸ Blog: VegasGeek.com ▸ All the social medias: vegasgeek Director of Products
 WebDevStudios
 pluginize.com

×