[buddypress-trac] [BuddyPress Trac] #7157: UI to pick Template Packs
buddypress-trac
noreply at wordpress.org
Wed Aug 3 22:44:30 UTC 2016
#7157: UI to pick Template Packs
----------------------------+------------------
Reporter: DJPaul | Owner:
Type: defect (bug) | Status: new
Priority: strategic | Milestone: 2.7
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------
Changes (by imath):
* keywords: => has-patch
* milestone: Future Release => 2.7
Comment:
7157.patch contains my suggestions for the UI to switch template packs.
It's actually doing a bit more.. So i'll explain with screenshots:
[[Image(https://cldup.com/iv1BIt_MHL.png)]]
This is how the UI will look by default. As we only have one template pack
in core. So i thought to "ease" BP Nouveau testing we could let users
upload new template pack. When you click on the upload button, you get a
form to upload and install a zip archive of a Template Pack.
[[Image(https://cldup.com/jBcSgAPgZl.png)]]
I've discovered that Using the file system in WordPress requires the same
credentials wherever you want to unzip a file. I thought it was not
requesting any credentials in `uploads` for instance, and it's actually
the same than unzipping into `/wp-content/bp-templates`.
I wasn't able to test completely the "credential" form WordPress is
outputting when FTP username and password are required. So i choose to
display an error message to inform the user he needs to use FTP. If you
can directly upload new plugins, then it should work for Template Packs.
Once installed, you get:
[[Image(https://cldup.com/D6hgBOUJip.png)]]
From there, you can delete the uploaded template packs, activate the one
of your choice and even preview a Template Pack before activating it.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7157#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list