Code Monkey home page Code Monkey logo

schoolpress's Introduction

SchoolPress

Home of the Open Sourced Code for SchoolPress.me.

Description

SchoolPress is the example app referenced in the book Building Web Apps with WordPress, written by Brian Messenlehner and Jason Coleman and published by O'Reilly in 2014.

The app will allow teachers and professors to create classes where they can create assignments and discussions for their students.

Some notes about the code in this repository:

  1. All of the SchoolPress code here is released under the GPLv2 license unless otherwise noted in a plugin or theme folder.
  2. This code is for demonstration purposes only. We are not responsible for any bugs in the code or anything that happens to a site or business attempting to use this code.
  3. While this repository contains ALL OF THE CODE for the schoolpress.me site, getting a site like schoolpress.me setup using this codebase is not trivial. The Getting Started Guide will help you with this.
  4. If you find this code useful, consider contributing by doing a pull request against the code or documentation. Thanks.

Documentation

Documentation will be stored in the /docs/ folder of this repository.

schoolpress's People

Contributors

ideadude avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

schoolpress's Issues

Install breaks WP

I am running MAMP 4.4.1 and when installing WPschoolpress my Wordpress breaks completely - white screen both frontend and backend.

This is related to the production version, installed via Wordpress Plugin install page.

Apache Error log:
[notice] child pid 2692 exit signal Segmentation fault (11)

Permalink structure in Schoolpress

This is very exciting, and I will try to make a test installation on my Desktopserver.

Is there a preferred permalink structure to use with schoolpress?

Normally I would use: mydomain.com/%postname%/, but I'm in doubt with this installation.

Missing startbox theme

I'm really interested in your project, so I downloaded it and found startbox theme folder is empty, am I missing something?

Is this still being updated?

This looks like an ideal solution for our school because we are already using a self-hosted wordpress solutions. Would like to pair this with the WPLMS theme. With all the recent upgrades and patches to wordpress, bbpress and buddypress, will this code still work?

Issue with Memberships plug-in

Hi,

I am having problems with the PMPro plug-in. I cannot access any of the 'Memberships' menu. I have worked through a number of posts which claim to cure this issue by applying changes to both the PMPro plugin and my WP installation but to no avail. Searching the web there do not seem to be any recent articles so was really checking in to see if anybody else is reporting a problem like this, as much as looking for a solution.

Thanks.

Jquery error bootstrap

The child theme only has an error when selecting "Start a class" from the header. It shows a blank page, The main school theme has the following error:

Error: Bootstrap's JavaScript requires jQuery
........./bootstrap/js/bootstrap.min.js?ver=3.0
Line 6

The header text is hidden but I can still click on it to "start a class" or select "my classes".
edit: Choose non inline option

edit:

added this to functions.php and the jquery error has disappeared.
//get jquery working dke
function sp_enqueue_scripts(){
wp_enqueue_script('jquery');
}
add_action('init', 'sp_enqueue_scripts');

Still have the problem with "start a class" showing blank even with the shortcode: [sp_edit_class]

Outdated code...where's the Second Edition code repository?

The code samples in this repository do not align with the Second Edition of this book or work well with the latest version of WordPress 5.5.1.
Below are at least 3 of the errors with code in this current repository...which are easy enough for most developers to fix:

Deprecated: Non-static method SPAssignment::init() should not be called statically in \schoolpress\wp-includes\class-wp-hook.php on line 287
Deprecated: Non-static method SPClass::init() should not be called statically in \schoolpress\wp-includes\class-wp-hook.php on line 287
Deprecated: Non-static method SPSubmission::init() should not be called statically in \schoolpress\wp-includes\class-wp-hook.php on line 287

The Second Edition book also states that a "Memberlite" Theme is used but the code here uses the theme "Startbox" that doesn't work well with updated/current versions of WordPress and "Startbox" doesn't seem to be maintained anymore.

FYI, I do not have the first edition of this book to know if there were issues beforehand, So there are obvious issues with anybody that wants to use the sample code and follow along with this book.

Please seriously consider updating the code repositories for this book.

Where can I find the source code ?

I bought the book and the preface informs that I could find the source code here, however I have not found anything but README file.

Tanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.