Forum Replies Created

Viewing 15 replies - 181 through 195 (of 628 total)
  • Plugin Author Pixelbart

    (@pixelbart)

    @mohammedays

    Thank you for your feedback!

    With the just released version 4.4.35 this should be possible now. You are welcome to test it once.

    Have a nice day and enjoy the weekend!

    Plugin Author Pixelbart

    (@pixelbart)

    @chriscoyier

    This is what amazes me. I don’t see any problems here at all, so I can’t understand it. The errors in the debug.log should be fixed by now… there an output_buffering worked wonders.

    That with the options is unfortunately, as always, a WordPress plugin. WordPress is constantly expanded, but old issues simply not touched or simply set to closed.

    I keep my eyes and ears open but and try to find a solution here. Possibly the options array already solves the problem, although I doubt it a bit.

    Some also had problems with their caching, where the security mechanisms of WordPress have made problems. WordPress uses nonces and they are often swallowed by caching software.

    But as I said: All this does not have to be with you, especially if you test it locally. Does this actually only affect a web browser, or have you also tested it in another browser?

    Plugin Author Pixelbart

    (@pixelbart)

    @chriscoyier

    Thank you once again!

    Yes, Helpful has a lot of options in there. At that time I didn’t know any better. I still have to update that it is also stored in an option as an array. Is all more a hobby project.

    The database is a good hint. Helpful uses the $wpdb->prefix. Maybe it is different for you.

    You could test once, how that looks with you:

    global $wpdb;
    
    echo $wpdb->prefix . 'helpful';
    echo $wpdb->prefix . 'helpful_feedback';

    If the tables then look different than yours, Helpful can’t find the prefix. But this has nothing to do with update_option. This is a matter of wp-admin?options.php … Helpful does it all WordPress codex-style, which is why it’s so weird.

    Currently I don’t know a solution yet… I had a look if there are other people with this problem, but so far I didn’t get any agreement. Also, it doesn’t explain why you can set the option when you set the post_type but no text is passed. WordPress unfortunately doesn’t have an internal option built in there either and just always returns a url parameter ?settings-updated.

    Although I’d love to see Helpful on your site, it’s probably easier for you if you’re looking for an alternative. I don’t know how long it will take to find a solution here, and I don’t want to stop you from updating your site – just because Helpful doesn’t work.

    Kevin

    Plugin Author Pixelbart

    (@pixelbart)

    I just looked again, are you possibly using a multisite? Maybe the error is related to this. Actually WordPress should check this itself and save the option correctly. Very crazy.

    Plugin Author Pixelbart

    (@pixelbart)

    @chriscoyier

    Thank you for your help!

    The errorlogs look okay so far, so the one with the sessions is unfortunately a known problem, which I still have to solve… this is always a problem with WordPress, because here again something is output before, which must not be output, which is why then the header is already sent.

    You can look in the wp_options table if helpful_pro or helpful_contra are set. Helpful uses WordPress functions to save, which is why I’m wondering why it doesn’t work. I also explicitly omit Ajax in the options so there are no problems here.

    You could also test once if the function update_option('helpful_pro', 'My Pro Button'); or update_option('helpful_contra', 'My Contra Button'); works if you put it in functions.php. But this is not the solution to the problem. I’ll look further too.

    Thanks again!

    LG Kevin

    Plugin Author Pixelbart

    (@pixelbart)

    Hi @chriscoyier,

    super annoying. I can’t see any error unfortunately, but you could still help me by placing in the wp-config.php the following variables:

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );
    define( 'WP_DEBUG_DISPLAY', false );

    After that, save the options with your text again and then look at wp-content/debug.log to see if an error is registered there. Here it seems that update_option is manipulated somehow/somewhere. A simple text, without emoticons does not work either?

    Strangely enough, update_option works on the page where you set the post_types, which is why it could be a formatting issue – though I haven’t actually set any filters here, so users can also paste font-awesome etc as HTML.

    I can’t reproduce the error on my end to find it easily, unfortunately. So I would be very grateful for your help.

    Sorry for the inconvenience.

    LG Kevin

    Plugin Author Pixelbart

    (@pixelbart)

    The options that are affected are: helpful_pro and helpful_contra.

    Are you using any other plugins that touch these options? And do the other options work when you update the texts?

    Thanks again!

    • This reply was modified 4 years, 11 months ago by Pixelbart.
    Plugin Author Pixelbart

    (@pixelbart)

    Hi @chriscoyier

    Thank you for your feedback. This is a strange error. Helpful uses the register_setting and update_option used by WordPress. Are you using plugins that hook there somehow and possibly manipulate the options before saving?

    I can’t reproduce the error on my end. I took another look at the code just to be sure.

    Helpful doesn’t give any error messages there, because it basically only works with update_option and that usually always works. I’ll see if I can change that to make it clearer. In WordPress, unfortunately, there aren’t really debugging options as far as update_option is concerned. Either it is saved, or not saved.

    Stay healthy and have a great day!

    Kevin

    Plugin Author Pixelbart

    (@pixelbart)

    @alikit

    I forgot to mention that you can also copy the Helpful template into your WordPress theme and edit it. So you could theoretically remove the buttons.

    https://helpful-plugin.info/documentation/templates/

    Basically you have to create a folder in your WordPress theme folder:

    themes/your-theme/helpful/

    After that you can insert a helpful.php file there and then influence the HTML of Helpful.

    The default HTML skeleton, you can find here:

    https://github.com/pixelbart/helpful/blob/master/templates/helpful.php

    There you can remove the button. It is only important that the CSS classes should remain if possible. You can also use the Helpful theme (Customizer > Helpful) blank and style Helpful completely yourself with CSS.

    • This reply was modified 4 years, 11 months ago by Pixelbart.
    • This reply was modified 4 years, 11 months ago by Pixelbart.
    • This reply was modified 4 years, 11 months ago by Pixelbart.
    Plugin Author Pixelbart

    (@pixelbart)

    @alikit

    Try it once with the code below. I don’t know if I’ll put it in yet, since it’s not intended. This is an option that is not used in most cases and thus unnecessarily increases the size of the plugin.

    I think so simple rating plugins are better suited for this then.

    .helpful-controls > div:last-child {
        display: none;
    }
    
    .helpful-controls .helpful-contra {
        display: none;
    }
    
    .helpful-controls {
        text-align: center;
    }
    Plugin Author Pixelbart

    (@pixelbart)

    @alikit

    This is currently not possible without further ado. But you can remove the button with CSS:

    .helpful-controls > div:last-child {
        display: none;
    }
    
    .helpful-controls .helpful-contra {
        display: none;
    }
    Plugin Author Pixelbart

    (@pixelbart)

    @ebehar

    Thanks for your feedback!

    The hover effect varies from theme to theme. Do you have an example for me so I can help you?

    Plugin Author Pixelbart

    (@pixelbart)

    @levelzwo

    No problem! Have a look at your website: Looks great! Stay as you are!

    Plugin Author Pixelbart

    (@pixelbart)

    @levelzwo

    Thank you, with this I was able to reproduce the error and find out the cause. The error should be fixed with the latest version.

    Plugin Author Pixelbart

    (@pixelbart)

    @levelzwo

    Looks good so far. I just ran an update and fixed a bug. Maybe it works better now? Unfortunately, I can not reproduce the error.

Viewing 15 replies - 181 through 195 (of 628 total)