• Resolved APF1985

    (@apf1985)


    Hi Guys,

    Plugin looks promising, but there are a few issues that currently render it unusable in my case:

    1 – In Safari, both API input fields & Apple login fields are being autofilled by my browser (Safari, latest). This means any time I go in to the plugin settings to change an option, when I hit save, its overwriting these credentials. I know this is a tough one to fix, but might want to look at input names & labels and avoid words like “Email,” etc.

    2 – This is the big one. I already rely on S3/CloudFront for a large portion of my infrastructure – why create a brand new bucket just for the generated files? Ideally I could select by bucket from a list, and maybe even specify a key/folder to place the MP3’s in.

    Just a few thoughts. If you you guys can look at these items, would take the plugin from barely usable to 100% perfect – at least in my use case.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor tstachlewski

    (@tstachlewski)

    Thanks!
    We will look into those points!

    Plugin Contributor tstachlewski

    (@tstachlewski)

    Hi @apf1985,
    Just wanted to let you know, that we have just released version 1.0.6 of the plugin, which includes changes which you asked for:
    1) There is a new filter ‘amazon_polly_s3_bucket_name’ which you can use to define your own S3 bucket. In the documentation you will find more information about it.
    2) The problem with autofilling is a bit more complicated, we have added autocomplete-off parameter to those fields, so in theory it should fix your problem.

    Cheers,
    Tomasz

    Thread Starter APF1985

    (@apf1985)

    Thanks Tomasz!

    Im running into an issue – for clarity, where should I be placing the filter “amazon_polly_s3_bucket_name” ?

    Specific file? Can you provide an example of the code I need to insert?

    Thank you!

    Plugin Contributor tstachlewski

    (@tstachlewski)

    Hi,
    Filters are standard functionality thanks to which developers and WP administrators can modify, adjust behavior of different WordPress components, for example plugins. There is a couple of different ways how you can use them, here is a link to an article which can be quite useful for you: https://code.tutsplus.com/tutorials/adding-custom-hooks-in-wordpress-custom-filters–cms-26508 (paragraph “Working With Filters”).

    In my example, what I did (not the best practise), is I just opened admin console, and in ‘Appearance’->”Editor” I have selected “functions.php” file and I have added following script:

    
    add_filter( 'amazon_polly_s3_bucket_name', 'custom_amazon_polly_s3_bucket_name');
    
    function custom_amazon_polly_s3_bucket_name() {
        return 'THIS_IS_MY_OWN_BUCKET_NAME';
    }
    
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘A Few Suggestions’ is closed to new replies.