Giter Club home page Giter Club logo

mangapress's Introduction

Manga+Press Comic Manager

Manga+Press is a webcomic management system for WordPress.

Description

Manga+Press is a webcomic management system for WordPress. Manga+Press uses WordPress' posts, pages and categories to help you keep track of your comic posts. Manga+Press also includes its own custom template tags to help make creating themes easier.

Changelog

3.2 — Development Version

3.2.0 — Planned

  • Add file autoloading (non PSR-4).
  • Add support for block themes and full site editing.
  • Add Page indicators to Page screen in Admin.
  • Add JSON-LD for Comic post-type?
  • Add unit tests?
  • Bring over features from cancelled 4.0/4.1 release.
    • Comic bookmarking (#24)
    • Lightbox (#79)
    • Social media integration (#78)

3.1 — Stable

3.1.0

  • Refactoring and code cleanup
  • Deprecation of functions in favor of WordPress Core functions
  • Added better block theme support
  • Removed Group By parent option due to code complexity and ease of maintenance
  • Added WordPress REST api support

3.0

3.0.2

  • Change PHP requirement to 7.4
  • Updated code to be PHP 8-compliant

3.0.1

  • Fixed issue where templates for Latest Comic page and Comic Archive page weren't loading correctly
  • Corrected CSS positioning for comic navigation wrapper
  • Added support for WordPress 5.5.1

3.0.0

  • Removed child themes
  • Added sorting options for Comic Archive Page
  • Added comic archive calendar template
  • Added comic archive gallery template
  • Removed insert navigation option

2.9

2.9.3

  • Spanish language updates to embedded themes.

2.9.2

  • Added support for Jetpack Publicize feature.

2.9.1

  • Corrects an issue where Comic posts were not getting assigned to a default Series taxonomy on save.
  • Corrects Comic post 404 error/Missing Comic post issue.
  • Corrects appearance of comic navigation on Latest Comic page

2.9.0

  • Updated navigation CSS
  • Removed "Order By" Option. Now defaults to date.
  • Removed "Use Theme Template" options. Now defaults to using theme templates.
  • Added contextual help tabs
  • Added Calendar template tag for comics
  • Added filter for changing Comic post-type front slug (defaults to comic)
  • Fixed missing "No comics" message for Latest Comic page.
  • Corrected issue with Comic Post terms getting updated on post-save.
  • Updated Spanish Language files.
  • Updated child-themes to handle styling for Comic Calendar widget
  • Corrected issues in comic navigation when Group Comics/Group By Parent options are used.
  • Added Manga+Press-specific version of WordPress calendar widget
  • Updated Comic date permalink structure
  • Updated and fixed loading of Spanish Language files
  • Adjusted template hierarchy for Latest Comic and Comic Archive pages to use WordPress' defaults (page-{slug-name}.php and {custom-page-template}.php)
  • Brought default Single Comic template in line with default Latest Comic and Comic Archive template handling
    • Incidently corrects an issue where a Single Comic post might not display correctly due to markup being incompatible with a user's selected theme.

2.8

2.8.3

  • Correcting blank issue when "Use Theme Template" is selected when used with third-party themes

2.8.2

  • Correcting Latest Comic template error when Latest Comic is used as front page.

2.8.1.1

  • Correcting problem with undefined function error appearing when Latest Comic template in TwentyFourteen theme is used

2.8.1

  • Corrected E_STRICT notice on plugin activation
  • Updated font icons

2.8

  • Added bundled child-themes for TwentyEleven, TwentyTwelve, TwentyThirteen, and TwentyFourteen
  • Updated admin interface to fit WordPress 3.8
  • Corrected 404 issues for custom post-type after activation
  • Adjusted template stack for single comics
  • Added new Media Library popup (eliminating legacy ThickBox dependency)
  • Code review and cleanup
  • Removed legacy options (Comic Banner)

2.7

2.7.5

  • Fixed 404 when visiting comic pages after update (ported from upcoming 2.8 release)
  • Fixed undefined index errors caused by checkboxes when settings page is updated
  • Tested works with WordPress 3.8

2.7.4

  • Fixed SQL bugs relating to "Group By Category" option

2.7.3

  • Added "Group By Category" parent option

2.7.2

  • Added Spanish Language support.
  • Fixed issues with comic navigation.
  • Addressing query-usage on Latest Comic page.

2.7.1

  • Fixed undefined index notices (WP_DEBUG turned on)

2.7 RC 1

  • Moved partial templates to sub-directory inside templates.
  • Corrected issues in comic-specific conditional functions.
  • Changed Ajax hooks to be admin-specific.

2.7 Beta 3

  • Updates processing for templates.

2.7 Beta 2

  • Fixes a problem with the Manga+Press Options page. A path issue in the framework may prevent option fields from displaying properly.

Installation

  1. Unpack the .zip file onto your hard drive.

  2. Upload the mangapress folder to the /wp-content/plugins/ directory.

  3. Activate the plugin through the 'Plugins' menu in WordPress

  4. Create two new pages; these pages will be your latest comic and comic archives pages. Label them something like 'Latest Comic' and 'Past Comics' or whatever, as long as it makes sense to you.

  5. Click on the Manga+Press Options tab under Settings and go to Basic Manga+Press Options, and set Latest Comic Page, and Comic Archive Page to your two newly created pages.

Credits

(c) 2008-2020 Jess C. Green

Found a bug? Or did you find a bug and figure out a fix? Visit Manga+Press Support @ WordPress.org, or my GitHub page to make a bug report, or email me at [email protected]. Please include screenshots, WordPress version, a list of any other plugins you might have installed, or code (if you figured out a fix) and webserver configuration info. Be as detailed as possible.

For updates and development progress, visit http://www.manga-press.com/

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

mangapress's People

Contributors

ardathksheyna avatar jesgs avatar

Stargazers

 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

mangapress's Issues

Add warnings on plugin activation

If plugin is being activated for the first time, it should have warnings to do the following:

  • Create and assign new pages for Latest Comic and Archive
  • Create new series terms for comics (if none currently exist)

Manga+Press throws 'Illegal string offset' warnings when used in WPMS environment

If Manga+Press is activated network-wide (clicking Network Activate), then the plugin will throw an 'Illegal string offset' warning when updating Manga+Press' options.

This only happens when Manga+Press is active network-wide.

It does not happen when Manga+Press is activated on a per-blog basis.

Workaround is not to "Network Activate" Manga+Press; instead, activate on a per-blog basis.

Versions effected: v2.8 and v2.9?

Create Calendar for Comics

Create a calendar for the comic archives. Can take the form of:

  • A template tag for pulling individual month calendars or a range of months
  • A calendar widget for the sidebar
  • A theme-able calendar template

The addition of a Comic-specific calendar ties into ticket #4. The comic post-type will need to be extended to allow date-specific archives.

404 Error

What steps will reproduce the problem?

  1. Create Comic
  2. Go to Comic Page
  3. Get 404 Error

What is the expected output? What do you see instead?
I expect to see my comic on a page, instead I get a 404 error.

What version of the product are you using? On what operating system?
Newest Version of Plugin & Newest Wordpress

Re-work Archive/Latest Post pages.

Enhancement. Change the functionality of Archive/Latest Post so a static page isn't required. This enhancement would use a custom permalink structure to define "virtual" pages, which would use WordPress' template functions to load a specified page template for these pages.

Ideas for this enhancement include:

  • Allow users to specify a permalink structure. This would work hand-in-hand with enhancement #4, essentially giving users the power to create a "sub-site" for their comic.
  • Have a "Select Template" drop-down for users to choose a theme template for the Archive/Latest Post pages.

Change Archives and Latest Comic template parsing order

Currently, Manga+Press does not use theme templates unless specified on the Manga+Press options page (Latest Comic > Use Template or Archives > Use Template). This should be changed to be default behavior instead of optional. Instead, if Manga+Press does not find a template (currently comics/latest-comic.php or comics/comic-archive.php), it uses the "override page content method" of creating the Latest Comic and Archives pages.

See #6 for additional tasks.

Remove Bundled Themes

Bundled child-themes should be removed from the main plugin and moved to separate Github repositories.

Create a custom theme repository for these themes to notify users of updates.

Create "Chapters" taxonomy

In conjunction with ticket #19, a new taxonomy needs to be created to determine navigation between parent Chapters.

Taxonomy needs to be linked to existing Series. Can be accomplished using existing WordPress API functionality.
Table: {prefix}_mangapress_seriesmeta (Schema)

CREATE TABLE `{prefix}_mangapress_seriesmeta` (
  `meta_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `mangapress_series_id` bigint(20) unsigned NOT NULL DEFAULT '0',
  `meta_key` varchar(255) DEFAULT NULL,
  `meta_value` longtext,
  PRIMARY KEY (`meta_id`),
  KEY `post_id` (`mangapress_series_id`),
  KEY `meta_key` (`meta_key`)
) AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;

Manga+Press bonks out with an error when the Latest Comic page is assigned as the Front Page

Error

If a user assigns the Latest Comic page as the Front Page in Settings > Reading, then visits the home page of the site, they will receive a PHP error: Fatal error: Call to a member function have_posts() on a non-object in /home/jess/Sites/mangapress-site/core/wp-includes/query.php on line 751
Note: this occurs on WordPress Multisite installations, not single-site installations.

Expected Behavior

User is able to assign Latest Comic page as Front Page.

Series terms not getting assigned on post-save

Version: 2.9.0-rc.1

Issue

When Series terms are assigned to a post during the creation process, terms are not staying assigned on post-save.

Expected functionality

WordPress default — terms are saved when post is saved/created.

Comics Permalink Structure

Define a permalink structure for Comics custom post-type.

Should have:

  • Root/Archive slug
  • Support date-based permalinks (for Calendar, see #25)
  • Slug should be user-customizable
  • Should keep a variable name of 'mangapress_comic' for backend code.

Manga+Press: Gallery Edition Plugin

Manga+Press: Gallery Edition Plugin

This plugin will be an add-on to Manga+Press — using Manga+Press' functionality but changing the Comic post admin to a gallery layout instead of the default single comic image admin screen.

Features

  • Navigation between comic posts (default Manga+Press)
  • Navigation between gallery images in a single post
  • Featured image used as Gallery cover image

Wireframes

manga-press-gallery_page_1
manga-press-gallery_page_2
manga-press-gallery_page_3

"Use As Comic" option missing from Media Library popup

  1. Click on Set Comic Image
  2. Select "From Computer" tab
  3. Upload image.

Observe that "Use As Comic" is not available once the image has finished uploading. User must go back to the Media Library tab to add image.

Expected:
"Use As Comic" is available after upload.

Simplify comic navigation CSS

Current comic navigation CSS is old and over-specific. Should be simplified to something similar to:

.comic-nav > li {
   float: left;
}

Deprecate mpp_get_adjacent_comic and mpp_get_boundary_comic

These two functions are no longer needed since WordPress Trac #17807 was fixed in WordPress 3.8. One issue remaining with deprecating these two functions is that they've been customized slightly to allow for grouping comics according to parent categories. Ties into issue #5.

v2.8.2 - Blank screen when "Use Theme Template" option is selected

If the "Use Theme Template" option is selected in the Manga+Press admin, the user will see a blank screen when attempting to view the page.

This issue seems to occur with themes other than the default WordPress themes.

Themes tested:

  • Customizr
  • TwentyFourteen Manga+Press child-theme
  • TwentyThirteen Manga+Press child-theme
  • TwentyTwelve Manga+Press child-theme

UI Changes for Series Taxonomy

Current implementation of Series taxonomy using default WordPress UI is confusing considering what the Series taxonomy is supposed to do: support ordering of comics according to issues and chapters. One way to achieve this goal is to redefine how the Series taxonomy is being displayed.

Functionality

Eliminate default WordPress meta-boxes for taxonomy and the default WordPress UI for Series taxonomy (can be done on taxonomy registration).

New Meta-boxes

The default taxonomy meta-box would be replaced by two meta-boxes labeled Series > Chapter and Series > Chapter > Issue. These will be split into three taxonomies: Series, Issue, and Chapter, to make the navigation easier to deal with. Two options (Group By, and Group By Parent) in Manga+Press will need to be changed to reflect this update.

New Taxonomy Management Page

This page will replace the default WordPress UI for managing taxonomies. This will only affect the Series taxonomy. Currently, work will need to be done to determine a proper workflow for this page. The goal behind this page should be to:

  • Create a meaningful management system specific to comics
  • Eliminate the possibility of adding "grandchildren" categories as this could cause navigation issues.
  • Additionally, add new features such as Issue or Chapter "Cover" posts.
  • Cross-linking with a cast listing of Characters (proposed Character Management plugin).

To Dos

  • Wire-frames
  • Use-cases

Change single-comic template stack

Add single-comic.php to template stack. Manga+Press currently looks for comics/single-comic.php. Should have single-comic.php as the last template in the stack. See ticket #14.

Archive pages behind left side bar

If I'm watching a single comic of a series, the left menu disappears, but it's black background stays. The comic content (title, picture, comment block) start behind it on the left window border instead of floating right of it.

Using the default Twenty Fourteen Theme.

Create Contextual Help tabs

Add additional help information by creating Contextual Help tabs for Manga+Press.

Each help tab should list the options on their respective options tabs and should include a description of what the option does and if possible, a real-world example.

Adjust template hierarchy for Latest Comic and Comic Archive

Template hierarchy for the Latest Comic and Comic Archive pages needs to take into account the default WordPress templates, ie: page-{latest-comic}.php and {custom-page-template}.php. If these templates are found, then templates inside the comics directory should be ignored.

Comic bookmarking system

Allow users to bookmark their place in a particular series.

Features:

  • Button (location to be determined) that allows a user to bookmark their location.
  • Include a shortcode and template tag for theme authors and site admins to use in order to control location.
  • Use Local Storage API, which means only modern browsers are supported.
  • Optional: allow theme authors, plugin developers, and site admins a means of overriding.

Embedded Manga+Press Themes are not available in WordPress Multisite

Currently, the child-themes included with Manga+Press are not available to sites on a WordPress network unless they're copied into the theme directory. Investigate if this only happens when Manga+Press is activated on a per-site basis, or if it occurs when Manga+Press is enabled network-wide.

Investigate possible workarounds, if there are any.

Push Notification for Facebook and Twitter

Create an automatic notification system for Facebook and Twitter accounts associated with a comic series.

  • Should push to a pre-determined Facebook page or Twitter account
  • Need valid Facebook and Twitter app keys
  • Twitter account username
  • Facebook page ID(?)

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.