Adjust ComicPressMediaHandling to handle WPMU files path #42

Open
opened 2010-01-06 12:02:01 +00:00 by Frumph · 6 comments
Frumph commented 2010-01-06 12:02:01 +00:00 (Migrated from github.com)

using maybe?
if (function_exists('cpm_wpmu_modify_path')) {
}

modify the document root path to handle locating the files in WPMU

adding the mu-plugins php file to the repository under the wpmu directory, which should also be removed from the compiling of the zip file

using maybe? if (function_exists('cpm_wpmu_modify_path')) { } modify the document root path to handle locating the files in WPMU adding the mu-plugins php file to the repository under the wpmu directory, which should also be removed from the compiling of the zip file
johnbintz commented 2010-01-06 12:29:24 +00:00 (Migrated from github.com)

I'd rather add a filter that adds a new available %parameter%, %wordpress-mu%. That way, other %parameters% can be added that way in the future.

I'd rather add a filter that adds a new available %parameter%, %wordpress-mu%. That way, other %parameters% can be added that way in the future.
Frumph commented 2010-01-06 12:37:35 +00:00 (Migrated from github.com)

Sure, i'm just going with what I know, and you know me, I rely on you on how to do things properly every time.

Sure, i'm just going with what I know, and you know me, I rely on you on how to do things properly every time.
Frumph commented 2010-01-06 12:38:12 +00:00 (Migrated from github.com)

Thats why I added the wpmu plugin to the repository too so that we can stay uniformative with that as well in the dev package ya

Thats why I added the wpmu plugin to the repository too so that we can stay uniformative with that as well in the dev package ya
johnbintz commented 2010-01-20 12:52:31 +00:00 (Migrated from github.com)

This build of the 2.9-release branch:

http://www.coswellproductions.com/comicpress/builds/comicpress-2.9-release-20100120-074640-9a3dba75.zip

has support for WPMU path names when following the standard in the plugin. The default filter needs to be modified to the following:

%wordpress%/%upload-path%/%type-folder%/%date-Y-m-d%.

Filters can be modified on the Configuration tab under ComicPress options.

This build of the 2.9-release branch: http://www.coswellproductions.com/comicpress/builds/comicpress-2.9-release-20100120-074640-9a3dba75.zip has support for WPMU path names when following the standard in the plugin. The default filter needs to be modified to the following: %wordpress%/%upload-path%/%type-folder%/%date-Y-m-d%_._ Filters can be modified on the Configuration tab under ComicPress options.
Frumph commented 2010-01-23 18:20:15 +00:00 (Migrated from github.com)

Okay, so the filters been changed on the wpmu site and now the broken link for the comic doesn't show, .. is there more to this then this? Is there a reason why it's not done automatically for wpmu ?

Okay, so the filters been changed on the wpmu site and now the broken link for the comic doesn't show, .. is there more to this then this? Is there a reason why it's not done automatically for wpmu ?
Frumph commented 2010-01-25 01:21:27 +00:00 (Migrated from github.com)

%wordpress%/%upload-path%/%type-folder%/%date-Y-m-d%.
returns:string(79) "wp-content/blogs.dir/2/files/wp-content/blogs.dir/2/files/wp-admin/2009-12-19."

the dir is \ . dir

%wordpress%/%upload-path%/%type-folder%/%date-Y-m-d%. returns:string(79) "wp-content/blogs.dir/2/files/wp-content/blogs.dir/2/files/wp-admin/2009-12-19." the dir is \ . dir
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: github-migration/comicpress-2.8#42
No description provided.