Skip to content

Commit

Permalink
Merge pull request #520 from publishpress/feature/release-2.9.0
Browse files Browse the repository at this point in the history
Feature/release 2.9.0
  • Loading branch information
olatechpro authored Apr 21, 2022
2 parents f5ab2d4 + 0f558f4 commit bb44d41
Show file tree
Hide file tree
Showing 21 changed files with 2,412 additions and 182 deletions.
4 changes: 4 additions & 0 deletions addons/publisher/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
organize-series-publisher
=========================

An ADD-ON for the PublishPress Series WordPress Plugin that enables easy bulk publishing of all posts in a series at once.
28 changes: 28 additions & 0 deletions addons/publisher/css/series_im_sort_articles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
.pp-series-publisher-wrap .tablenav.top {
display: none;
}

.pp-series-publisher-wrap .inner-sidebar #side-sortables {
width: 300px;
}

.pp-series-publisher-wrap .has-right-sidebar .inner-sidebar {
width: 301px;
}

.pp-series-publisher-wrap .has-right-sidebar #post-body-content {
max-width: 910px;
}

.pp-series-publisher-wrap table.series-parts tbody tr {
cursor: move;
}

@media screen and (max-width: 782px){

.pp-series-publisher-wrap .has-right-sidebar #post-body-content,
.pp-series-publisher-wrap .has-right-sidebar .inner-sidebar,
.pp-series-publisher-wrap .inner-sidebar #side-sortables {
width: 100%;
}
}
37 changes: 37 additions & 0 deletions addons/publisher/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"versionFile":"series_issue_manager.php",
"slug":"organize-series-publisher",
"textDomain": "organize-series-publisher",
"wpOrgSlug":"organize-series-publisher",
"wpOrgMainFileSlug": "organize-series-publisher",
"wpOrgUser": "nerrad",
"wpOrgRelease": "2.2.4",
"wpOrgPluginName": "PublishPress Series Publisher",
"wpOrgPluginUrl": "http://organizeseries.com",
"name": "PublishPress Series Publisher",
"releaseFilesRemove": [
"src/tests/**",
"src/acceptance_tests/**",
"src/docs/**",
"src/info.json",
"src/readme.txt",
"src/wp-assets/**",
"src/.travis.yml",
"src/ISSUE_TEMPLATE.md",
"src/PULL_REQUEST_TEMPLATE.md",
"src/assets/src/**"
],
"decafFilesRemove": [
"src/tests/**",
"src/acceptance_tests/**",
"src/docs/**",
"src/info.json",
"src/.travis.yml",
"src/caffeinated",
"src/wp-assets/**",
"src/ISSUE_TEMPLATE.md",
"src/PULL_REQUEST_TEMPLATE.md",
"src/assets/src/**",
"src/README.md"
]
}
19 changes: 19 additions & 0 deletions addons/publisher/js/series_im_sort_articles.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
jQuery(document).ready( function($) {
/*im_update_post_order();*/
$(".im_article_list").sortable({
axis: "y",
});

$(".pp-series-publisher-wrap table.series-parts tbody").sortable({
axis: "y",
});

function im_update_post_order() {
var im_post_IDs = new Array();
jQuery(".im_article_list tr").each( function() {
im_post_IDs.push(jQuery(this).attr('id').substring(5));
});
jQuery("#im_publish_posts").val(im_post_IDs.join(','));
}

});
110 changes: 110 additions & 0 deletions addons/publisher/lang/organize-series-publisher.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
msgid ""
msgstr ""
"Project-Id-Version: PublishPress Series Publisher\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-09-09 21:12-0500\n"
"PO-Revision-Date: 2012-09-09 21:13-0500\n"
"Last-Translator: Darren Ethier <[email protected]>\n"
"Language-Team: Darren Ethier <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-KeywordsList: _e;__;_ngettext:1;2;_x;_n\n"
"X-Poedit-Basepath: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/"
"orgseries-testing/wp-content/plugins/organize-series-publisher\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-SearchPath-0: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/"
"orgseries-testing/wp-content/plugins/organize-series-publisher\n"

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_admin_main.php:2
msgid "Manage Series to Publish"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_admin_main.php:7
msgid "Series Name"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_admin_main.php:25
#, php-format
msgid "Edit the status of %1$s"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_admin_main.php:27
msgid "Published"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_admin_main.php:28
msgid "Publish"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_admin_main.php:31
msgid "Unpublished"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_admin_main.php:32
msgid "Unpublish"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_admin_main.php:35
msgid "Ignored"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_admin_main.php:36
msgid "Ignore"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_article_list.php:26
msgid "Publishing Series:"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_article_list.php:32
#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_article_list.php:75
msgid "Publish Issue"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_article_list.php:44
msgid "Publication Date/Time:"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_article_list.php:85
msgid ""
"Drag the post names into the order you want them to be in the series, from "
"the first part to the last part. Keep in mind that any <strong>Draft</"
"strong> posts that are a part of this series will not show up in this list "
"and will not be published."
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_article_list.php:99
#, php-format
msgid "No pending posts in %1$s"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_im_article_list.php:101
#, php-format
msgid "Series %1$s does not exist"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_issue_manager.php:34
msgid ""
"PublishPress Series Publisher requires the PublishPress Series plugin to be "
"installed and activated in order to work. Plugin won't activate until this "
"condition is met."
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_issue_manager.php:40
msgid "Manage Series Issues"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_issue_manager.php:40
msgid "Publish Series"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_issue_manager.php:211
msgid "Create as unpublished:"
msgstr ""

#: /Users/drenobi/Documents/Dropbox/WebProjects/htdocs/orgseries-testing/wp-content/plugins/organize-series-publisher/series_issue_manager.php:214
msgid ""
"When checked, all posts you assign to this series will remain unpublished "
"until you publish the entire series."
msgstr ""
91 changes: 91 additions & 0 deletions addons/publisher/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
=== PublishPress Series Publisher ===
Contributors: nerrad
Donate link:https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7871313
Tags: category, series, organize, mass publish, post, taxonomy, issues, magazine
Requires at least: 3.7
Tested up to: 3.7
Stable Tag: 2.2.4
License: GPLv2 or later

An ADD-ON for the PublishPress Series Plugin that enables easy bulk publishing of all posts in a series at once.

== Description ==
**Important** PublishPress Series Publisher is an ADD-ON for the [PublishPress Series Plugin](http://wordpress.org/extend/plugins/organize-series) and thus REQUIRES PublishPress Series.

**NOTE: PublishPress Series Publisher 2.2.4 has a bug fix in it for WP3.7. In order to use PublishPress Series Publisher 2.2.4 your site MUST be running WordPress 3.7**

This plugin used to be bundled with PublishPress Series but it makes it easier for maintenance and updatings with it being on it's own.

PublishPress Series Publisher is the result of some custom work I did for Amanda Giles who graciously agreed to make this available to all PublishPress Series users. This plug-in allows you to quickly publish all posts linked to a Series. The plug-in works by adding a Status to each Series. If the status for a Series is "Unpublished", all posts tied to that Series can be individually published, but those posted will be "held" until the Series itself is published. Once the Series is "Published", all previously published posts in that series will be immediately published and visible on your site. Any posts in a Series still in the Draft status will be left as such and will not be published (until individually published). If you have a large number of articles, this saves time and provides a clean "publish" with no accidental broken links from unpublished posts.

== Installation ==

Be sure the [PublishPress Series plug-in](http://wordpress.org/extend/plugins/organize-series) is activated first, then activate the PublishPress Series Publisher plug-in. If you have any Series already created, they will default to the "Ignored" state which means all posts are left in their current post status (Draft, Published). If you want to remove all posts in a Series from your site, you can "Unpublish" the Series through the Settings > Publish Series. Likewise, if you want them to reappear on your site, you can “Publish” the series from the same screen.

== Frequently Asked Questions ==

**Why would I want to use this plugin?**
The main feature is the ability for a editor to easily publish a series of posts all at once rather than holding back a series from publishing and then having to publish each post individually when it's time to publish.

== Support ==

Here are the different options for support of this plugin:

1. Post any support questions on the WordPress Forums at [wordpress.org](http://wordpress.org/support). I will keep an eye on the forums for bug reports but will not be actively responding to usage/installation help.

1. Subscribe to the Paid Basic Support Plan I am offering for PublishPress Series and all add-ons at [organizeseries.com](http://organizeseries.com). This will give access to the private support forums that I will be active on.

== Usage ==

The following are some basic usage instructions

= Using the Plug-In for the First Time =

Be sure the PublishPress Series plug-in is activated first, then activate the PublishPress Series Publisher plug-in. If you have any Series already created, they will default to the "Ignored" state which is means all posts are left in their current post status (Draft, Published). If you want to remove all posts in a Series from your site, you can "Unpublish" the Series through the Settings > Publish Series. Likewise, if you want them to reappear on your site, you can "Publish" the series from the same screen.

= Creating a Series for Later Publishing =

With this plug-in activated, you will have an additional check box to allow creation of a Series in an "Unpublished" state. This will allow you to create posts tied to Series without the posts actually being published to your site yet. See below.

= Creating a new Series =

* Go to Posts > Manage Series
* Begin typing on left side to create a new series
* Decide whether the Series should be "Unpublished" (defaults to Ignored [unchecked])
* Click Add Series to create the Series

Note: If you create a Series on the fly via the Add New or Edit Posts screen, you will not have the option of creating an "Unpublished" series. This means your posts will appear on your website as soon as they are individually published - unless you "Unpublish" Your Series immediately (see below).

= Publish/Unpublish a Series =

A Series, unless specified as "Unpublished" starts in an "Ignored" state. This is essentially the same as "Published" as posts which are published will appear on your site normally (if the posts have been individually published). You can change the status of a Series by going to the Posts menu and selecting Publish Series. On this screen you will see all Series listed and you have the ability to Publish or Unpublish an issue by clicking on the text link to the right of the Series name.

When you "Publish" a Series, only posts already marked for publishing are now actually published and visible on the site; posts in draft status will stay as [unpublished] drafts although they still can be published at a later time. If you wish to Publish, there is an additional step. Clicking Publish will take you to the Publish Series screen which will allow you a chance to reorder the posts. Reordering posts sets the series_part custom field value which is used for sorting within some PublishPress Series template tags. You must then click "Publish Issue" on the right side of the screen to complete the process. Once you do this all posts in the Series will be published no matter what their previous status (draft, pending review, or published).

== Changelog ==

= 2.2.4 =

**NOTE: PublishPress Series Publisher 2.2.4 has a bug fix in it for WP3.7. In order to use PublishPress Series Publisher 2.2.4 your site MUST be running WordPress 3.7**


= 2.2.3 =

* ensure full compatibility with WordPress 3.4.2
* fixes some php warnings/notices
* made sure language domain is a concrete string instead of variable reference in all translated strings.

= 2.2.2 =

* ensure full compatibility with WordPress 3.2

= 2.2.1 =
bugfixes

* removed/updated deprecated functions and general cleanup.

= 2.2 =

- PublishPress Series Publisher is removed from being bundled with PublishPress Series and is released as it's own download on WordPress.org.
- modifications made to the plugin for hosting on WordPress.org.
- modifications made for working with PublishPress Series 2.2
Loading

0 comments on commit bb44d41

Please sign in to comment.