Version Description
- Released on 04/11/2022
- Fixed a bug in the network section related to application submission
- Fixed a bug related to the new PowerPress migration alert
- Added rel="captions" attribute to podcast:transcript tag
- Prevent episode numbers like 2.0 from going into the feed--ints only
- Added podcast description to onboarding
- Insert author name during Blubrry onboarding
Download this release
Release Info
Developer | benbeecroft |
Plugin | PowerPress Podcasting plugin by Blubrry |
Version | 9.0.1 |
Comparing to | |
See all releases |
Code changes from version 9.0 to 9.0.1
- css/onboarding.css +3 -0
- css/onboarding.min.css +1 -1
- powerpress.php +9 -21
- powerpressadmin.php +22 -2
- readme.txt +11 -2
- shortcodes/views/forms.php +4 -8
- views/onboarding/blubrry_signup.php +9 -3
- views/onboarding/show_basics.php +26 -5
css/onboarding.css
CHANGED
@@ -749,6 +749,9 @@ p, h5.pp_align-center {
|
|
749 |
p.pp-smaller-text {
|
750 |
font-size: 13px;
|
751 |
}
|
|
|
|
|
|
|
752 |
|
753 |
.wrap div.error {
|
754 |
border-right-width: 0;
|
749 |
p.pp-smaller-text {
|
750 |
font-size: 13px;
|
751 |
}
|
752 |
+
#podcast-description {
|
753 |
+
height: 100px;
|
754 |
+
}
|
755 |
|
756 |
.wrap div.error {
|
757 |
border-right-width: 0;
|
css/onboarding.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body,body *,input,select,textarea{font-family:Roboto,sans-serif;box-sizing:border-box}body ::after,body ::before,body::after,body::before,input::after,input::before,select::after,select::before,textarea::after,textarea::before{box-sizing:border-box}body{background-image:-webkit-linear-gradient(top,#f2f2f2,#e6e6e6)}.pp_container{position:relative;max-width:80rem;margin:2rem auto 1rem auto;background:#fff;width:100%;padding:3rem 5rem;border-radius:4px}.pp_container::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;box-shadow:0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12),0 5px 5px -3px rgba(0,0,0,.2);-webkit-transform:scale(.98);transform:scale(.98);-webkit-transition:-webkit-transform .28s ease-in-out;transition:-webkit-transform .28s ease-in-out;transition:transform .28s ease-in-out;transition:transform .28s ease-in-out,-webkit-transform .28s ease-in-out;z-index:-1}.pp_container:hover::before{-webkit-transform:scale(1);transform:scale(1)}.pp_button-container{text-align:center}.pp_flex-grid{display:flex}.pp_flex-grid .pp_col{flex:1;margin:0 25px}.pp_flex-grid-thirds{display:flex;justify-content:space-between}.pp_flex-grid-thirds .pp_col{width:32%}@media (max-width:1350px){#pp-create-episode .btn-caption-container{height:80%}}@media (max-width:1100px){#pp-create-episode .btn-caption-container{height:88%}#pp-create-episode .pp_image{height:25%}}@media (max-width:400px){.pp_.flex-grid,.pp_.flex-grid-thirds{display:block}.pp_col{width:100%;margin:0 0 10px 0}}*{box-sizing:border-box}.pp_.flex-grid{margin:0 0 20px 0}.pp_.col{background:salmon;padding:20px}h1,h2,h3,h4,h5,h6{font-weight:500;line-height:1.5;margin:0 0 .5rem 0;color:#333}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:inherit;text-decoration:none}h2{font-size:1.5rem}h3{font-size:1.35rem}h4{font-size:1.15rem}h5{font-size:.9rem}h6{font-size:.7rem}.pp_small{font-size:10px;color:#888}hr{border:0;border-bottom:solid 1px;margin:2rem 0}hr.major{margin:3rem 0}.pp_align-left{text-align:left}.pp_align-center{text-align:center}.pp_align-right{text-align:right}input,select,textarea{color:#555}a{color:#8a4680}b,strong{color:#555}blockquote{border-left-color:rgba(144,144,144,.25)}code{background:rgba(144,144,144,.075);border-color:rgba(144,144,144,.25)}hr{border-bottom-color:rgba(144,144,144,.25)}.pp_leftline{border-left:3px solid #efefef;padding-left:15px}.pp_box{height:100%;margin-bottom:2rem;background:#fff;padding:3rem;border:1px solid rgba(144,144,144,.25)}.pp_box.pp_service-container{border:1px solid #1976d2;padding:0}.pp_box.pp_service-container .pp_content{text-align:center}.pp_box.pp_service-container .pp_button{margin-top:3em}.pp_content{font-weight:700}.pp_button_alt.skip_blubrry{margin-top:3em}p{display:block}.iab_img{width:20%;margin-top:1em}.pp_box.pp_service-container .pp_image{height:5em;background-color:#1976d2;width:calc(100% + 1px)}.pp_box.pp_service-container .pp_image>img{width:auto;height:50%;transform:translateY(50%)}.pp_box.pp_service-container .pp_content{padding:3em}.pp_box header h2{margin-bottom:2rem}.pp_box header p{text-transform:uppercase;font-size:.75rem;font-weight:300;margin:0 0 .25rem 0;padding:0 0 .75rem 0;letter-spacing:.25rem}.pp_box header p:after{content:'';position:absolute;margin:auto;right:0;bottom:0;left:0;width:50%;height:1px;background-color:rgba(0,0,0,.125)}.pp_box>:last-child,.pp_box>:last-child>:last-child,.pp_box>:last-child>:last-child>:last-child{margin-bottom:0}.pp_box.alt{border:0;border-radius:0;padding:0}@media screen and (max-width:736px){.pp_box .pp_content{padding:2rem}}#wpcontent{background-image:-webkit-linear-gradient(top,#f2f2f2,#e6e6e6)}fieldset{margin:0 0 3rem}select{width:100%}.pp_input-field{position:relative;width:25%}.pp_input-field-thirds{position:relative;width:100%}input[type=password],input[type=text]{width:100%;padding-left:.75rem;transition:all .15s ease}.pp_outlined{height:38px;box-shadow:inset 0 0 0 1px #b2b2b2;border-radius:4px;background:0 0}.pp_outlined:focus{outline:0;box-shadow:inset 0 0 0 2px #ffb300}.pp_outlined+label{background:#fff;top:.8rem;position:absolute;left:.75rem;color:grey;transition:all .15s ease;padding:0;font-size:12px;pointer-events:none}.pp_outlined:focus+label,.pp_outlined:valid+label{color:#000;transform:scale(.8) translateY(-24px) translateX(-9px);padding:0 3px}.pp_form-group,.pp_form-radio{position:relative;margin-top:1.25rem;margin-bottom:2.25rem}.pp_form-inline>.pp_btn,.pp_form-inline>.pp_form-group{display:inline-block;margin-bottom:0}.pp_form-help{margin-top:.125rem;margin-left:.125rem;color:#b3b3b3;font-size:.8rem}.pp_checkbox .pp_form-help,.pp_form-group .pp_form-help,.pp_form-radio .pp_form-help{position:absolute;width:100%}.pp_checkbox .pp_form-help{position:relative;margin-bottom:1rem}.pp_form-radio .pp_form-help{padding-top:.25rem;margin-top:-1rem}.pp_checkbox label,.pp_form-radio label{position:relative;cursor:pointer;padding-left:2rem;text-align:left;color:#333;display:block}.pp_checkbox input,.pp_form-radio input{width:auto;opacity:.00000001;position:absolute;left:0}.pp_radio{margin-bottom:1rem}.pp_radio .pp_helper{position:absolute;top:-.25rem;left:-.25rem;cursor:pointer;display:block;font-size:1rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:#999}.pp_radio .pp_helper::after,.pp_radio .pp_helper::before{content:'';position:absolute;left:0;top:0;margin:.25rem;width:1rem;height:1rem;-webkit-transition:-webkit-transform .28s ease;transition:-webkit-transform .28s ease;transition:transform .28s ease;transition:transform .28s ease,-webkit-transform .28s ease;border-radius:50%;border:.125rem solid currentColor}.pp_radio .pp_helper::after{-webkit-transform:scale(0);transform:scale(0);background-color:#337ab7;border-color:#337ab7}.pp_radio label:hover .pp_helper{color:#337ab7}.pp_radio input:checked~.pp_helper::after{-webkit-transform:scale(.5);transform:scale(.5)}.pp_radio input:checked~.pp_helper::before{color:#337ab7}.pp_checkbox{margin-bottom:1rem}.pp_checkbox .pp_helper{color:#999;position:absolute;top:0;left:0;width:1rem;height:1rem;z-index:0;border:.125rem solid currentColor;border-radius:.0625rem;-webkit-transition:border-color .28s ease;transition:border-color .28s ease}.pp_checkbox .pp_helper::after,.pp_checkbox .pp_helper::before{position:absolute;height:0;width:.2rem;background-color:#337ab7;display:block;-webkit-transform-origin:left top;transform-origin:left top;border-radius:.25rem;content:'';-webkit-transition:opacity .28s ease,height 0s linear .28s;transition:opacity .28s ease,height 0s linear .28s;opacity:0}.pp_checkbox .pp_helper::before{top:.65rem;left:.38rem;-webkit-transform:rotate(-135deg);transform:rotate(-135deg);box-shadow:0 0 0 .0625rem #fff}.pp_checkbox .helper::after{top:.3rem;left:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.pp_checkbox label:hover .pp_helper{color:#337ab7}.pp_checkbox input:checked~.pp_helper{color:#337ab7}.pp_checkbox input:checked~.pp_helper::after,.pp_checkbox input:checked~.pp_helper::before{opacity:1;-webkit-transition:height .28s ease;transition:height .28s ease}.pp_checkbox input:checked~.pp_helper::after{height:.5rem}.pp_checkbox input:checked~.pp_helper::before{height:1.2rem;-webkit-transition-delay:0.28s;transition-delay:0.28s}.pp_checkbox+.pp_checkbox,.pp_radio+.pp_radio{margin-top:1rem}.pp_has-error .pp_legend.pp_legend,.pp_has-error.pp_form-group .pp_control-label.pp_control-label{color:#d9534f}.pp_has-error.pp_checkbox .pp_form-help,.pp_has-error.pp_checkbox .pp_helper,.pp_has-error.pp_form-group .pp_form-help,.pp_has-error.pp_form-group .pp_helper,.pp_has-error.pp_form-radio .pp_form-help,.pp_has-error.pp_form-radio .pp_helper,.pp_has-error.pp_radio .pp_form-help,.pp_has-error.pp_radio .pp_helper{color:#d9534f}.pp_has-error .pp_bar::before{background:#d9534f;left:0;width:100%}.pp_button{position:relative;background:currentColor;border:1px solid currentColor;font-size:1.1rem;color:#1976d2;margin:0;padding:.75rem 3rem;cursor:pointer;-webkit-transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;overflow:hidden;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.pp_button span{color:#fff;position:relative;z-index:1}.pp_button::before{content:'';position:absolute;background:#003b75;border:50vh solid #1d4567;width:30vh;height:30vh;border-radius:50%;display:block;top:50%;left:50%;z-index:0;opacity:1;-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0)}.pp_button:hover{color:#003b75;box-shadow:0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.2)}.pp_button:active::before,.pp_button:focus::before{-webkit-transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:transform 1.12s ease,opacity .28s ease 364ms;transition:transform 1.12s ease,opacity .28s ease 364ms,-webkit-transform 1.12s ease;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);opacity:0}.pp_button:focus{outline:0}.pp_button_alt{position:relative;background:#fff;border:1px solid #c4c4c4;font-size:1.1rem;color:#333;margin:0;padding:.75rem 3rem;cursor:pointer;-webkit-transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;overflow:hidden;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.pp_button_alt span{color:#333;position:relative;z-index:1}.pp_button_alt::before{content:'';position:absolute;background:#efefef;width:30vh;height:30vh;border-radius:50%;display:block;top:50%;left:50%;z-index:0;opacity:1;-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0)}.pp_button_alt:hover{color:#efefef;box-shadow:0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.2)}.pp_button_alt:active::before,.pp_button_alt:focus::before{-webkit-transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:transform 1.12s ease,opacity .28s ease 364ms;transition:transform 1.12s ease,opacity .28s ease 364ms,-webkit-transform 1.12s ease;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);opacity:0}.pp_button_alt:focus{outline:0}.pp_image{height:50%}.pp_image.pp_fit{margin:0 auto;width:100%}#blubrry-logo-onboarding{height:1.5rem;margin:0 0 .5ch 1rem;vertical-align:bottom}.pp_content{height:50%}.pp_image img{width:50%;margin:0 auto}.pp_image.center>img{display:block;margin-left:auto;margin-right:auto}.pp_button.show_button{min-width:240px;margin-top:15px}.pp_input-field-login{position:relative}.pp_file_upload{opacity:0;left:0;top:0;z-index:999;height:50px}.pp_file_upload::-webkit-file-upload-button{height:50px}.image_center{display:block;margin-left:auto;margin-right:auto;width:40%}.image_wrapper{width:100%;height:auto}#upload-artwork-button{float:right;width:auto;min-height:40px;margin:1em 0 0 1em}#filepath{float:left;width:100%;margin:3ch 0 2em 0}#artwork-spec{margin-top:6em}#filePath{width:100%}.pp_input-field-login,button[name=signin]{width:40%}h5.pp_align-center,p{font-size:16px}p.pp-smaller-text{font-size:13px}.wrap div.error{border-right-width:0;border-top-width:0;border-bottom-width:0;border-left-width:3px;color:#dc3232;box-shadow:none;margin-bottom:0}@media (max-width:1095px){#showbasics_artwork{display:block}#artwork-spec{margin-top:0}#upload-artwork-button{width:95%;text-align:center;margin-bottom:1em;margin-left:0;float:left}.pp_input-field-login,button[name=signin]{width:50%}}@media (max-width:736px){.pp_flex-grid{display:block}.pp_container{padding:3rem 1rem}.bpp_input_med{width:100%}#showbasics_artwork_upload{margin:0}.pp_button,.pp_button_alt{padding:.75rem}}@media (max-width:610px){#filePath{width:100%}}@media (max-width:475px){.pp_box{padding:1rem}.pp_input-field-login,button[name=signin]{width:90%}}
|
1 |
+
body,body *,input,select,textarea{font-family:Roboto,sans-serif;box-sizing:border-box}body ::after,body ::before,body::after,body::before,input::after,input::before,select::after,select::before,textarea::after,textarea::before{box-sizing:border-box}body{background-image:-webkit-linear-gradient(top,#f2f2f2,#e6e6e6)}.pp_container{position:relative;max-width:80rem;margin:2rem auto 1rem auto;background:#fff;width:100%;padding:3rem 5rem;border-radius:4px}.pp_container::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;box-shadow:0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12),0 5px 5px -3px rgba(0,0,0,.2);-webkit-transform:scale(.98);transform:scale(.98);-webkit-transition:-webkit-transform .28s ease-in-out;transition:-webkit-transform .28s ease-in-out;transition:transform .28s ease-in-out;transition:transform .28s ease-in-out,-webkit-transform .28s ease-in-out;z-index:-1}.pp_container:hover::before{-webkit-transform:scale(1);transform:scale(1)}.pp_button-container{text-align:center}.pp_flex-grid{display:flex}.pp_flex-grid .pp_col{flex:1;margin:0 25px}.pp_flex-grid-thirds{display:flex;justify-content:space-between}.pp_flex-grid-thirds .pp_col{width:32%}@media (max-width:1350px){#pp-create-episode .btn-caption-container{height:80%}}@media (max-width:1100px){#pp-create-episode .btn-caption-container{height:88%}#pp-create-episode .pp_image{height:25%}}@media (max-width:400px){.pp_.flex-grid,.pp_.flex-grid-thirds{display:block}.pp_col{width:100%;margin:0 0 10px 0}}*{box-sizing:border-box}.pp_.flex-grid{margin:0 0 20px 0}.pp_.col{background:salmon;padding:20px}h1,h2,h3,h4,h5,h6{font-weight:500;line-height:1.5;margin:0 0 .5rem 0;color:#333}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:inherit;text-decoration:none}h2{font-size:1.5rem}h3{font-size:1.35rem}h4{font-size:1.15rem}h5{font-size:.9rem}h6{font-size:.7rem}.pp_small{font-size:10px;color:#888}hr{border:0;border-bottom:solid 1px;margin:2rem 0}hr.major{margin:3rem 0}.pp_align-left{text-align:left}.pp_align-center{text-align:center}.pp_align-right{text-align:right}input,select,textarea{color:#555}a{color:#8a4680}b,strong{color:#555}blockquote{border-left-color:rgba(144,144,144,.25)}code{background:rgba(144,144,144,.075);border-color:rgba(144,144,144,.25)}hr{border-bottom-color:rgba(144,144,144,.25)}.pp_leftline{border-left:3px solid #efefef;padding-left:15px}.pp_box{height:100%;margin-bottom:2rem;background:#fff;padding:3rem;border:1px solid rgba(144,144,144,.25)}.pp_box.pp_service-container{border:1px solid #1976d2;padding:0}.pp_box.pp_service-container .pp_content{text-align:center}.pp_box.pp_service-container .pp_button{margin-top:3em}.pp_content{font-weight:700}.pp_button_alt.skip_blubrry{margin-top:3em}p{display:block}.iab_img{width:20%;margin-top:1em}.pp_box.pp_service-container .pp_image{height:5em;background-color:#1976d2;width:calc(100% + 1px)}.pp_box.pp_service-container .pp_image>img{width:auto;height:50%;transform:translateY(50%)}.pp_box.pp_service-container .pp_content{padding:3em}.pp_box header h2{margin-bottom:2rem}.pp_box header p{text-transform:uppercase;font-size:.75rem;font-weight:300;margin:0 0 .25rem 0;padding:0 0 .75rem 0;letter-spacing:.25rem}.pp_box header p:after{content:'';position:absolute;margin:auto;right:0;bottom:0;left:0;width:50%;height:1px;background-color:rgba(0,0,0,.125)}.pp_box>:last-child,.pp_box>:last-child>:last-child,.pp_box>:last-child>:last-child>:last-child{margin-bottom:0}.pp_box.alt{border:0;border-radius:0;padding:0}@media screen and (max-width:736px){.pp_box .pp_content{padding:2rem}}#wpcontent{background-image:-webkit-linear-gradient(top,#f2f2f2,#e6e6e6)}fieldset{margin:0 0 3rem}select{width:100%}.pp_input-field{position:relative;width:25%}.pp_input-field-thirds{position:relative;width:100%}input[type=password],input[type=text]{width:100%;padding-left:.75rem;transition:all .15s ease}.pp_outlined{height:38px;box-shadow:inset 0 0 0 1px #b2b2b2;border-radius:4px;background:0 0}.pp_outlined:focus{outline:0;box-shadow:inset 0 0 0 2px #ffb300}.pp_outlined+label{background:#fff;top:.8rem;position:absolute;left:.75rem;color:grey;transition:all .15s ease;padding:0;font-size:12px;pointer-events:none}.pp_outlined:focus+label,.pp_outlined:valid+label{color:#000;transform:scale(.8) translateY(-24px) translateX(-9px);padding:0 3px}.pp_form-group,.pp_form-radio{position:relative;margin-top:1.25rem;margin-bottom:2.25rem}.pp_form-inline>.pp_btn,.pp_form-inline>.pp_form-group{display:inline-block;margin-bottom:0}.pp_form-help{margin-top:.125rem;margin-left:.125rem;color:#b3b3b3;font-size:.8rem}.pp_checkbox .pp_form-help,.pp_form-group .pp_form-help,.pp_form-radio .pp_form-help{position:absolute;width:100%}.pp_checkbox .pp_form-help{position:relative;margin-bottom:1rem}.pp_form-radio .pp_form-help{padding-top:.25rem;margin-top:-1rem}.pp_checkbox label,.pp_form-radio label{position:relative;cursor:pointer;padding-left:2rem;text-align:left;color:#333;display:block}.pp_checkbox input,.pp_form-radio input{width:auto;opacity:.00000001;position:absolute;left:0}.pp_radio{margin-bottom:1rem}.pp_radio .pp_helper{position:absolute;top:-.25rem;left:-.25rem;cursor:pointer;display:block;font-size:1rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:#999}.pp_radio .pp_helper::after,.pp_radio .pp_helper::before{content:'';position:absolute;left:0;top:0;margin:.25rem;width:1rem;height:1rem;-webkit-transition:-webkit-transform .28s ease;transition:-webkit-transform .28s ease;transition:transform .28s ease;transition:transform .28s ease,-webkit-transform .28s ease;border-radius:50%;border:.125rem solid currentColor}.pp_radio .pp_helper::after{-webkit-transform:scale(0);transform:scale(0);background-color:#337ab7;border-color:#337ab7}.pp_radio label:hover .pp_helper{color:#337ab7}.pp_radio input:checked~.pp_helper::after{-webkit-transform:scale(.5);transform:scale(.5)}.pp_radio input:checked~.pp_helper::before{color:#337ab7}.pp_checkbox{margin-bottom:1rem}.pp_checkbox .pp_helper{color:#999;position:absolute;top:0;left:0;width:1rem;height:1rem;z-index:0;border:.125rem solid currentColor;border-radius:.0625rem;-webkit-transition:border-color .28s ease;transition:border-color .28s ease}.pp_checkbox .pp_helper::after,.pp_checkbox .pp_helper::before{position:absolute;height:0;width:.2rem;background-color:#337ab7;display:block;-webkit-transform-origin:left top;transform-origin:left top;border-radius:.25rem;content:'';-webkit-transition:opacity .28s ease,height 0s linear .28s;transition:opacity .28s ease,height 0s linear .28s;opacity:0}.pp_checkbox .pp_helper::before{top:.65rem;left:.38rem;-webkit-transform:rotate(-135deg);transform:rotate(-135deg);box-shadow:0 0 0 .0625rem #fff}.pp_checkbox .helper::after{top:.3rem;left:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.pp_checkbox label:hover .pp_helper{color:#337ab7}.pp_checkbox input:checked~.pp_helper{color:#337ab7}.pp_checkbox input:checked~.pp_helper::after,.pp_checkbox input:checked~.pp_helper::before{opacity:1;-webkit-transition:height .28s ease;transition:height .28s ease}.pp_checkbox input:checked~.pp_helper::after{height:.5rem}.pp_checkbox input:checked~.pp_helper::before{height:1.2rem;-webkit-transition-delay:0.28s;transition-delay:0.28s}.pp_checkbox+.pp_checkbox,.pp_radio+.pp_radio{margin-top:1rem}.pp_has-error .pp_legend.pp_legend,.pp_has-error.pp_form-group .pp_control-label.pp_control-label{color:#d9534f}.pp_has-error.pp_checkbox .pp_form-help,.pp_has-error.pp_checkbox .pp_helper,.pp_has-error.pp_form-group .pp_form-help,.pp_has-error.pp_form-group .pp_helper,.pp_has-error.pp_form-radio .pp_form-help,.pp_has-error.pp_form-radio .pp_helper,.pp_has-error.pp_radio .pp_form-help,.pp_has-error.pp_radio .pp_helper{color:#d9534f}.pp_has-error .pp_bar::before{background:#d9534f;left:0;width:100%}.pp_button{position:relative;background:currentColor;border:1px solid currentColor;font-size:1.1rem;color:#1976d2;margin:0;padding:.75rem 3rem;cursor:pointer;-webkit-transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;overflow:hidden;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.pp_button span{color:#fff;position:relative;z-index:1}.pp_button::before{content:'';position:absolute;background:#003b75;border:50vh solid #1d4567;width:30vh;height:30vh;border-radius:50%;display:block;top:50%;left:50%;z-index:0;opacity:1;-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0)}.pp_button:hover{color:#003b75;box-shadow:0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.2)}.pp_button:active::before,.pp_button:focus::before{-webkit-transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:transform 1.12s ease,opacity .28s ease 364ms;transition:transform 1.12s ease,opacity .28s ease 364ms,-webkit-transform 1.12s ease;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);opacity:0}.pp_button:focus{outline:0}.pp_button_alt{position:relative;background:#fff;border:1px solid #c4c4c4;font-size:1.1rem;color:#333;margin:0;padding:.75rem 3rem;cursor:pointer;-webkit-transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;transition:background-color .28s ease,color .28s ease,box-shadow .28s ease;overflow:hidden;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.pp_button_alt span{color:#333;position:relative;z-index:1}.pp_button_alt::before{content:'';position:absolute;background:#efefef;width:30vh;height:30vh;border-radius:50%;display:block;top:50%;left:50%;z-index:0;opacity:1;-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0)}.pp_button_alt:hover{color:#efefef;box-shadow:0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.2)}.pp_button_alt:active::before,.pp_button_alt:focus::before{-webkit-transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:opacity .28s ease 364ms,-webkit-transform 1.12s ease;transition:transform 1.12s ease,opacity .28s ease 364ms;transition:transform 1.12s ease,opacity .28s ease 364ms,-webkit-transform 1.12s ease;-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1);opacity:0}.pp_button_alt:focus{outline:0}.pp_image{height:50%}.pp_image.pp_fit{margin:0 auto;width:100%}#blubrry-logo-onboarding{height:1.5rem;margin:0 0 .5ch 1rem;vertical-align:bottom}.pp_content{height:50%}.pp_image img{width:50%;margin:0 auto}.pp_image.center>img{display:block;margin-left:auto;margin-right:auto}.pp_button.show_button{min-width:240px;margin-top:15px}.pp_input-field-login{position:relative}.pp_file_upload{opacity:0;left:0;top:0;z-index:999;height:50px}.pp_file_upload::-webkit-file-upload-button{height:50px}.image_center{display:block;margin-left:auto;margin-right:auto;width:40%}.image_wrapper{width:100%;height:auto}#upload-artwork-button{float:right;width:auto;min-height:40px;margin:1em 0 0 1em}#filepath{float:left;width:100%;margin:3ch 0 2em 0}#artwork-spec{margin-top:6em}#filePath{width:100%}.pp_input-field-login,button[name=signin]{width:40%}h5.pp_align-center,p{font-size:16px}p.pp-smaller-text{font-size:13px}#podcast-description{height:100px}.wrap div.error{border-right-width:0;border-top-width:0;border-bottom-width:0;border-left-width:3px;color:#dc3232;box-shadow:none;margin-bottom:0}@media (max-width:1095px){#showbasics_artwork{display:block}#artwork-spec{margin-top:0}#upload-artwork-button{width:95%;text-align:center;margin-bottom:1em;margin-left:0;float:left}.pp_input-field-login,button[name=signin]{width:50%}}@media (max-width:736px){.pp_flex-grid{display:block}.pp_container{padding:3rem 1rem}.bpp_input_med{width:100%}#showbasics_artwork_upload{margin:0}.pp_button,.pp_button_alt{padding:.75rem}}@media (max-width:610px){#filePath{width:100%}}@media (max-width:475px){.pp_box{padding:1rem}.pp_input-field-login,button[name=signin]{width:90%}}
|
powerpress.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Blubrry PowerPress
|
4 |
Plugin URI: http://create.blubrry.com/resources/powerpress/
|
5 |
Description: <a href="https://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
|
6 |
-
Version: 9.0
|
7 |
Author: Blubrry
|
8 |
Author URI: https://blubrry.com/
|
9 |
Requires at least: 3.6
|
@@ -35,7 +35,7 @@ if( !function_exists('add_action') ) {
|
|
35 |
}
|
36 |
|
37 |
// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
|
38 |
-
define('POWERPRESS_VERSION', '9.0' );
|
39 |
|
40 |
// Translation support:
|
41 |
if ( !defined('POWERPRESS_ABSPATH') )
|
@@ -1047,7 +1047,7 @@ function powerpress_rss2_item()
|
|
1047 |
}
|
1048 |
|
1049 |
if( !empty($EpisodeData['episode_no']) ) {
|
1050 |
-
echo "\t\t".'<itunes:episode>'. esc_html($EpisodeData['episode_no']) .'</itunes:episode>'.PHP_EOL;
|
1051 |
}
|
1052 |
|
1053 |
if( !empty($EpisodeData['episode_title']) ) {
|
@@ -1088,9 +1088,9 @@ function powerpress_rss2_item()
|
|
1088 |
echo "\t\t<podcast:transcript url=\"" . $EpisodeData['pci_transcript_url'] . "\"";
|
1089 |
$transcript_type = powerpress_get_contenttype($EpisodeData['pci_transcript_url']);
|
1090 |
if (!empty($transcript_type)) {
|
1091 |
-
echo " type=\"" . $transcript_type . "\" />".PHP_EOL;
|
1092 |
} else {
|
1093 |
-
echo " type=\"text/plain\" />".PHP_EOL;
|
1094 |
}
|
1095 |
}
|
1096 |
if (!empty($EpisodeData['pci_chapters']) && !empty($EpisodeData['pci_chapters_url'])) {
|
@@ -4032,9 +4032,10 @@ function powerpress_admin_migration_notice() {
|
|
4032 |
$alert_link_message = " to check the status of your migration.";
|
4033 |
}
|
4034 |
|
4035 |
-
|
4036 |
-
|
4037 |
-
|
|
|
4038 |
}
|
4039 |
/*
|
4040 |
End Helper Functions
|
@@ -4045,19 +4046,6 @@ if( is_admin() )
|
|
4045 |
{
|
4046 |
require_once(POWERPRESS_ABSPATH.'/powerpressadmin.php');
|
4047 |
register_activation_hook( __FILE__, 'powerpress_admin_activate' );
|
4048 |
-
|
4049 |
-
// check for ongoing migration, if one exisits, call the function to display
|
4050 |
-
$migrationInprogress = get_option('powerpress_migrate_queued');
|
4051 |
-
$migrationComplete = get_option('powerpress_migrate_completed');
|
4052 |
-
|
4053 |
-
if (!empty($migrationComplete)) {
|
4054 |
-
// unregister cron task if it still exists
|
4055 |
-
$timestamp = wp_next_scheduled( 'powerpress_admin_migration_hook' );
|
4056 |
-
wp_unschedule_event( $timestamp, 'powerpress_admin_migration_hook' );
|
4057 |
-
} elseif (!empty($migrationInprogress)) {
|
4058 |
-
// handles in progress, and update episode directive
|
4059 |
-
powerpress_admin_migration_notice();
|
4060 |
-
}
|
4061 |
}
|
4062 |
|
4063 |
if( defined('POWERPRESS_SUBSCRIBE') && POWERPRESS_SUBSCRIBE )
|
3 |
Plugin Name: Blubrry PowerPress
|
4 |
Plugin URI: http://create.blubrry.com/resources/powerpress/
|
5 |
Description: <a href="https://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
|
6 |
+
Version: 9.0.1
|
7 |
Author: Blubrry
|
8 |
Author URI: https://blubrry.com/
|
9 |
Requires at least: 3.6
|
35 |
}
|
36 |
|
37 |
// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
|
38 |
+
define('POWERPRESS_VERSION', '9.0.1' );
|
39 |
|
40 |
// Translation support:
|
41 |
if ( !defined('POWERPRESS_ABSPATH') )
|
1047 |
}
|
1048 |
|
1049 |
if( !empty($EpisodeData['episode_no']) ) {
|
1050 |
+
echo "\t\t".'<itunes:episode>'. esc_html(floor($EpisodeData['episode_no'])) .'</itunes:episode>'.PHP_EOL;
|
1051 |
}
|
1052 |
|
1053 |
if( !empty($EpisodeData['episode_title']) ) {
|
1088 |
echo "\t\t<podcast:transcript url=\"" . $EpisodeData['pci_transcript_url'] . "\"";
|
1089 |
$transcript_type = powerpress_get_contenttype($EpisodeData['pci_transcript_url']);
|
1090 |
if (!empty($transcript_type)) {
|
1091 |
+
echo " type=\"" . $transcript_type . "\" rel=\"captions\" />".PHP_EOL;
|
1092 |
} else {
|
1093 |
+
echo " type=\"text/plain\" rel=\"captions\" />".PHP_EOL;
|
1094 |
}
|
1095 |
}
|
1096 |
if (!empty($EpisodeData['pci_chapters']) && !empty($EpisodeData['pci_chapters_url'])) {
|
4032 |
$alert_link_message = " to check the status of your migration.";
|
4033 |
}
|
4034 |
|
4035 |
+
|
4036 |
+
$html = "<p class='alertMessage'>$alert_message<a href='$alert_link'>Click here</a>$alert_link_message</p>"
|
4037 |
+
. '<p> <a style="float:right;" href="#" class="notice-dismiss-link"></a></p>' . PHP_EOL;
|
4038 |
+
powerpress_page_message_add_notice($html, 'inline', false);
|
4039 |
}
|
4040 |
/*
|
4041 |
End Helper Functions
|
4046 |
{
|
4047 |
require_once(POWERPRESS_ABSPATH.'/powerpressadmin.php');
|
4048 |
register_activation_hook( __FILE__, 'powerpress_admin_activate' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4049 |
}
|
4050 |
|
4051 |
if( defined('POWERPRESS_SUBSCRIBE') && POWERPRESS_SUBSCRIBE )
|
powerpressadmin.php
CHANGED
@@ -1215,7 +1215,27 @@ function powerpress_admin_init()
|
|
1215 |
}; break;
|
1216 |
}
|
1217 |
}
|
1218 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1219 |
|
1220 |
// Handle edit from category page
|
1221 |
if( isset($_POST['from_categories']) )
|
@@ -1912,7 +1932,7 @@ function powerpress_edit_post($post_ID, $post)
|
|
1912 |
if( isset($Powerpress['episode_title']) && trim($Powerpress['episode_title']) != '' )
|
1913 |
$ToSerialize['episode_title'] = stripslashes($Powerpress['episode_title']);
|
1914 |
if( isset($Powerpress['episode_no']) && trim($Powerpress['episode_no']) != '' )
|
1915 |
-
$ToSerialize['episode_no'] = stripslashes($Powerpress['episode_no']);
|
1916 |
if( isset($Powerpress['season']) && trim($Powerpress['season']) != '' )
|
1917 |
$ToSerialize['season'] = stripslashes($Powerpress['season']);
|
1918 |
if( isset($Powerpress['episode_type']) && trim($Powerpress['episode_type']) != '' )
|
1215 |
}; break;
|
1216 |
}
|
1217 |
}
|
1218 |
+
|
1219 |
+
// check for ongoing migration, if one exisits, call the function to display
|
1220 |
+
$migrationInprogress = get_option('powerpress_migrate_queued');
|
1221 |
+
$migrationComplete = get_option('powerpress_migrate_completed');
|
1222 |
+
$migrationStatus = get_option('powerpress_migrate_status');
|
1223 |
+
$migrationResults = get_option('powerpress_migrate_results');
|
1224 |
+
$oneMonthAgo = strtotime('-1 month', current_time('timestamp'));
|
1225 |
+
|
1226 |
+
// disable the cron task if:
|
1227 |
+
// - have have the wp-option 'powerpress_migrate_completed', they have completed all three migration steps
|
1228 |
+
// - the migration is over a month old
|
1229 |
+
// - they do not have the migration complete option but have the results option (older migrations)
|
1230 |
+
if (!empty($migrationComplete) || (!empty($migrationStatus) && $migrationStatus['updated_timestamp'] < $oneMonthAgo) || (empty($migrationComplete) && !empty($migrationResults))) {
|
1231 |
+
// unregister cron task if it still exists
|
1232 |
+
$timestamp = wp_next_scheduled( 'powerpress_admin_migration_hook' );
|
1233 |
+
wp_unschedule_event( $timestamp, 'powerpress_admin_migration_hook' );
|
1234 |
+
} elseif (!empty($migrationInprogress)) {
|
1235 |
+
// handles in progress, and update episode directive
|
1236 |
+
powerpress_admin_migration_notice();
|
1237 |
+
}
|
1238 |
+
}
|
1239 |
|
1240 |
// Handle edit from category page
|
1241 |
if( isset($_POST['from_categories']) )
|
1932 |
if( isset($Powerpress['episode_title']) && trim($Powerpress['episode_title']) != '' )
|
1933 |
$ToSerialize['episode_title'] = stripslashes($Powerpress['episode_title']);
|
1934 |
if( isset($Powerpress['episode_no']) && trim($Powerpress['episode_no']) != '' )
|
1935 |
+
$ToSerialize['episode_no'] = stripslashes(floor($Powerpress['episode_no']));
|
1936 |
if( isset($Powerpress['season']) && trim($Powerpress['season']) != '' )
|
1937 |
$ToSerialize['season'] = stripslashes($Powerpress['season']);
|
1938 |
if( isset($Powerpress['episode_type']) && trim($Powerpress['episode_type']) != '' )
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: podcasting, podcast, podcaster, powerpress, itunes, apple, apple podcasts,
|
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 5.9
|
7 |
-
Stable tag: 9.0
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
@@ -92,7 +92,7 @@ Contact the Blubrry Support team and look through the PowerPress [documentation]
|
|
92 |
* Joel Haasnoot, [Personal Blog](http://waarisdetrein.nl/joelhaasnoot/) - Developed PodPress archive statistics.
|
93 |
* Nicolas Bouliane, [Personal Blog](http://nicolasbouliane.com/) - Contributed code for `get_the_powerpress_all_players()` function.
|
94 |
* Isiah Lloyd - Developed features in PowerPress 7.5, 7.6 and part of 8.0
|
95 |
-
* Ben Beecroft - Developed features in PowerPress 8.1
|
96 |
|
97 |
|
98 |
= Translators =
|
@@ -186,6 +186,15 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
|
|
186 |
|
187 |
== Changelog ==
|
188 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
= 9.0 =
|
190 |
* Released on 03/08/2022
|
191 |
* Updated feed import flow
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 5.9
|
7 |
+
Stable tag: 9.0.1
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
92 |
* Joel Haasnoot, [Personal Blog](http://waarisdetrein.nl/joelhaasnoot/) - Developed PodPress archive statistics.
|
93 |
* Nicolas Bouliane, [Personal Blog](http://nicolasbouliane.com/) - Contributed code for `get_the_powerpress_all_players()` function.
|
94 |
* Isiah Lloyd - Developed features in PowerPress 7.5, 7.6 and part of 8.0
|
95 |
+
* Ben Beecroft - Developed features in PowerPress 8.1+
|
96 |
|
97 |
|
98 |
= Translators =
|
186 |
|
187 |
== Changelog ==
|
188 |
|
189 |
+
= 9.0.1 =
|
190 |
+
* Released on 04/11/2022
|
191 |
+
* Fixed a bug in the network section related to application submission
|
192 |
+
* Fixed a bug related to the new PowerPress migration alert
|
193 |
+
* Added rel="captions" attribute to podcast:transcript tag
|
194 |
+
* Prevent episode numbers like 2.0 from going into the feed--ints only
|
195 |
+
* Added podcast description to onboarding
|
196 |
+
* Insert author name during Blubrry onboarding
|
197 |
+
|
198 |
= 9.0 =
|
199 |
* Released on 03/08/2022
|
200 |
* Updated feed import flow
|
shortcodes/views/forms.php
CHANGED
@@ -18,7 +18,7 @@ if (!empty($_POST)) {
|
|
18 |
$requestUrl .= '&webName=' . $results['program_keyword'];
|
19 |
$requestUrl .= '&listId=' . $_POST['list_id'];
|
20 |
|
21 |
-
$submit = $GLOBALS['ppn_object']->requestAPI($requestUrl, true, post);
|
22 |
if(isset($submit['danger'])){
|
23 |
$error = 'Application could not be submitted. If you have not already submitted an application, please contact the network administrator.';
|
24 |
} else {
|
@@ -63,12 +63,10 @@ if (!empty($_POST)) {
|
|
63 |
<fieldset class="app-form-border">
|
64 |
<div class="form-group">
|
65 |
<label for="feedUrl" class="sr-only">RSS Feed URL:</label>
|
66 |
-
<
|
67 |
-
<input id="feedUrl" name="feedUrl" class="form-control"
|
68 |
-
placeholder="www.example.com/rss/feed" required autofocus>
|
69 |
<br/>
|
|
|
70 |
<label for="list_select" class="sr-only">List: </label>
|
71 |
-
<p class="app-paragraphs">List: </p>
|
72 |
<select class="form-control" id="list_select" name="list_id">
|
73 |
<?php foreach ($props['lists'] as $pos => $info) {
|
74 |
echo '<option value="' . esc_html($info['list_id']) . '">' . esc_html(($info['list_title'])) . '</option>';
|
@@ -82,11 +80,9 @@ if (!empty($_POST)) {
|
|
82 |
conditions</a>.
|
83 |
</label>
|
84 |
<br><br>
|
85 |
-
<button class="sub-btn" type="submit">Submit
|
86 |
-
</button>
|
87 |
</div>
|
88 |
</fieldset>
|
89 |
-
|
90 |
</form>
|
91 |
</div>
|
92 |
|
18 |
$requestUrl .= '&webName=' . $results['program_keyword'];
|
19 |
$requestUrl .= '&listId=' . $_POST['list_id'];
|
20 |
|
21 |
+
$submit = $GLOBALS['ppn_object']->requestAPI($requestUrl, true, $post);
|
22 |
if(isset($submit['danger'])){
|
23 |
$error = 'Application could not be submitted. If you have not already submitted an application, please contact the network administrator.';
|
24 |
} else {
|
63 |
<fieldset class="app-form-border">
|
64 |
<div class="form-group">
|
65 |
<label for="feedUrl" class="sr-only">RSS Feed URL:</label>
|
66 |
+
<input id="feedUrl" name="feedUrl" class="form-control" placeholder="www.example.com/rss/feed" required autofocus>
|
|
|
|
|
67 |
<br/>
|
68 |
+
|
69 |
<label for="list_select" class="sr-only">List: </label>
|
|
|
70 |
<select class="form-control" id="list_select" name="list_id">
|
71 |
<?php foreach ($props['lists'] as $pos => $info) {
|
72 |
echo '<option value="' . esc_html($info['list_id']) . '">' . esc_html(($info['list_title'])) . '</option>';
|
80 |
conditions</a>.
|
81 |
</label>
|
82 |
<br><br>
|
83 |
+
<button class="sub-btn" type="submit">Submit</button>
|
|
|
84 |
</div>
|
85 |
</fieldset>
|
|
|
86 |
</form>
|
87 |
</div>
|
88 |
|
views/onboarding/blubrry_signup.php
CHANGED
@@ -8,6 +8,9 @@ if (!isset($_REQUEST['_wpnonce'])) {
|
|
8 |
exit;
|
9 |
}
|
10 |
if (wp_verify_nonce($_REQUEST['_wpnonce'], 'powerpress-link-blubrry')) {
|
|
|
|
|
|
|
11 |
// First step--send data to the onboarding_start endpoint then redirect to the returned session_url
|
12 |
if (isset($_GET['onboarding_type'])) {
|
13 |
// add vars to the post array
|
@@ -29,9 +32,6 @@ if (wp_verify_nonce($_REQUEST['_wpnonce'], 'powerpress-link-blubrry')) {
|
|
29 |
$onboarding_type = $_GET['onboarding_type'];
|
30 |
$post['onboard_type'] = $onboarding_type;
|
31 |
|
32 |
-
// show data
|
33 |
-
$FeedSettings = get_option('powerpress_feed_podcast');
|
34 |
-
|
35 |
if (isset($FeedSettings['title'])) {
|
36 |
$post['show_title'] = urlencode($FeedSettings['title']);
|
37 |
}
|
@@ -132,6 +132,12 @@ if (wp_verify_nonce($_REQUEST['_wpnonce'], 'powerpress-link-blubrry')) {
|
|
132 |
$General['blubrry_hosting'] = $result['blubrry_hosting'];
|
133 |
powerpress_save_settings($General, 'powerpress_general');
|
134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
// set the stats redirect
|
136 |
powerpress_add_blubrry_redirect($result['show_keyword']);
|
137 |
|
8 |
exit;
|
9 |
}
|
10 |
if (wp_verify_nonce($_REQUEST['_wpnonce'], 'powerpress-link-blubrry')) {
|
11 |
+
// show data
|
12 |
+
$FeedSettings = get_option('powerpress_feed_podcast');
|
13 |
+
|
14 |
// First step--send data to the onboarding_start endpoint then redirect to the returned session_url
|
15 |
if (isset($_GET['onboarding_type'])) {
|
16 |
// add vars to the post array
|
32 |
$onboarding_type = $_GET['onboarding_type'];
|
33 |
$post['onboard_type'] = $onboarding_type;
|
34 |
|
|
|
|
|
|
|
35 |
if (isset($FeedSettings['title'])) {
|
36 |
$post['show_title'] = urlencode($FeedSettings['title']);
|
37 |
}
|
132 |
$General['blubrry_hosting'] = $result['blubrry_hosting'];
|
133 |
powerpress_save_settings($General, 'powerpress_general');
|
134 |
|
135 |
+
// save the author name for the itunes:author tag
|
136 |
+
if (!empty($result['itunes_talent_name'])) {
|
137 |
+
$FeedSettings['itunes_talent_name'] = $result['itunes_talent_name'];
|
138 |
+
powerpress_save_settings($FeedSettings, 'powerpress_feed_podcast');
|
139 |
+
}
|
140 |
+
|
141 |
// set the stats redirect
|
142 |
powerpress_add_blubrry_redirect($result['show_keyword']);
|
143 |
|
views/onboarding/show_basics.php
CHANGED
@@ -23,11 +23,18 @@ if (isset($_FILES['itunes_image_file'])) {
|
|
23 |
$FeedSettings['itunes_explicit'] = intval($feed_info[$i + 1]);
|
24 |
}
|
25 |
break;
|
26 |
-
case 'EMAIL':
|
27 |
if(strlen($feed_info[$i + 1]) > 3){
|
28 |
$FeedSettings['itunes_email'] = $feed_info[$i + 1];
|
29 |
}
|
30 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
default:
|
32 |
break;
|
33 |
}
|
@@ -103,6 +110,15 @@ if (isset($_POST['pp_start']['title'])) {
|
|
103 |
</div>
|
104 |
</div>
|
105 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
<div class="pp_leftline">
|
107 |
<h4><?php echo __('Category', 'powerpress'); ?></h4>
|
108 |
<div class="pp_form-group">
|
@@ -232,14 +248,18 @@ if (isset($_POST['pp_start']['title'])) {
|
|
232 |
}
|
233 |
jQuery(document).ready(function() {
|
234 |
jQuery("#filePath").val(jQuery("#preview_image").attr('src').replace(/https?:\/\/.*\/uploads\/powerpress\//i, ''));
|
235 |
-
let title = jQuery("#input-title").val().replace(
|
236 |
let category = jQuery("#apple_cat").val();
|
237 |
let explicit = jQuery("input[type=radio]:checked").val();
|
238 |
let email = jQuery("#input-email").val();
|
239 |
-
jQuery("#
|
|
|
240 |
jQuery("#input-title").on("input", function() {
|
241 |
refreshDetails();
|
242 |
});
|
|
|
|
|
|
|
243 |
jQuery("#apple_cat").on("change", function() {
|
244 |
refreshDetails();
|
245 |
});
|
@@ -266,11 +286,12 @@ if (isset($_POST['pp_start']['title'])) {
|
|
266 |
});
|
267 |
|
268 |
function refreshDetails() {
|
269 |
-
let title = jQuery("#input-title").val().replace(
|
270 |
let category = jQuery("#apple_cat").val();
|
271 |
let explicit = jQuery("input[type=radio]:checked").val();
|
272 |
let email = jQuery("#input-email").val();
|
273 |
-
jQuery("#
|
|
|
274 |
}
|
275 |
|
276 |
document.getElementById("FileAttachment").onchange = function () {
|
23 |
$FeedSettings['itunes_explicit'] = intval($feed_info[$i + 1]);
|
24 |
}
|
25 |
break;
|
26 |
+
case 'EMAIL:':
|
27 |
if(strlen($feed_info[$i + 1]) > 3){
|
28 |
$FeedSettings['itunes_email'] = $feed_info[$i + 1];
|
29 |
}
|
30 |
break;
|
31 |
+
case 'DESCRIPTION:':
|
32 |
+
if(strlen($feed_info[$i + 1]) > 3){
|
33 |
+
$FeedSettings['itunes_summary'] = str_replace('_', ' ', $feed_info[$i + 1]);
|
34 |
+
$FeedSettings['itunes_summary'] = str_replace('{underscore.pp}', '_', $FeedSettings['itunes_summary']);
|
35 |
+
$FeedSettings['description'] = $FeedSettings['itunes_summary'];
|
36 |
+
}
|
37 |
+
break;
|
38 |
default:
|
39 |
break;
|
40 |
}
|
110 |
</div>
|
111 |
</div>
|
112 |
</div>
|
113 |
+
<div class="pp_leftline">
|
114 |
+
<h4><?php echo __('Podcast Description', 'powerpress'); ?></h4>
|
115 |
+
<div class="pp_form-group">
|
116 |
+
<div class="pp_input-field-thirds">
|
117 |
+
<textarea id="podcast-description" type="text" name="pp_start[description]" class="pp_outlined" placeholder="<?php echo __('Enter a brief description of your show.', 'powerpress'); ?>"><?php echo $FeedSettings['description']; ?></textarea>
|
118 |
+
<label for="podcast-description" id="description-label" style="display:none" oninput=""><?php echo __('Enter a brief description of your show.', 'powerpress'); ?></label>
|
119 |
+
</div>
|
120 |
+
</div>
|
121 |
+
</div>
|
122 |
<div class="pp_leftline">
|
123 |
<h4><?php echo __('Category', 'powerpress'); ?></h4>
|
124 |
<div class="pp_form-group">
|
248 |
}
|
249 |
jQuery(document).ready(function() {
|
250 |
jQuery("#filePath").val(jQuery("#preview_image").attr('src').replace(/https?:\/\/.*\/uploads\/powerpress\//i, ''));
|
251 |
+
let title = jQuery("#input-title").val().replace(new RegExp(' ', 'g'), "_");
|
252 |
let category = jQuery("#apple_cat").val();
|
253 |
let explicit = jQuery("input[type=radio]:checked").val();
|
254 |
let email = jQuery("#input-email").val();
|
255 |
+
let description = jQuery("#podcast-description").val().replace(new RegExp("_", 'g'), "{underscore.pp}").replace(new RegExp(' ', 'g'), '_');
|
256 |
+
jQuery("#basic-details").val("TITLE: " + title + " CATEGORY: " + category + " EXPLICIT: " + explicit + " EMAIL: " + email + " DESCRIPTION: " + description);
|
257 |
jQuery("#input-title").on("input", function() {
|
258 |
refreshDetails();
|
259 |
});
|
260 |
+
jQuery("#podcast-description").on("input", function() {
|
261 |
+
refreshDetails();
|
262 |
+
});
|
263 |
jQuery("#apple_cat").on("change", function() {
|
264 |
refreshDetails();
|
265 |
});
|
286 |
});
|
287 |
|
288 |
function refreshDetails() {
|
289 |
+
let title = jQuery("#input-title").val().replace(new RegExp(' ', 'g'), "_");
|
290 |
let category = jQuery("#apple_cat").val();
|
291 |
let explicit = jQuery("input[type=radio]:checked").val();
|
292 |
let email = jQuery("#input-email").val();
|
293 |
+
let description = jQuery("#podcast-description").val().replace(new RegExp("_", 'g'), "{underscore.pp}").replace(new RegExp(' ', 'g'), '_');
|
294 |
+
jQuery("#basic-details").val("TITLE: " + title + " CATEGORY: " + category + " EXPLICIT: " + explicit + " EMAIL: " + email + " DESCRIPTION: " + description);
|
295 |
}
|
296 |
|
297 |
document.getElementById("FileAttachment").onchange = function () {
|