• Resolved trevorNanders

    (@trevornanders)


    If a user hasn’t actually sent a message and hasn’t actually done any changes to their preferences, when they send their first message, the database field spm_message_inbox_keep will be empty. Because of this, and unless the user PHYSICALLY changes their preferences in the ‘personalize messages’ page then after a short time their messages will vanish.

    The plugin author needs to change this so that the DEFAULT on the FIRST message send and hence the entry in the usermeta table is set to:

    Meta_key = spm_message_inbox_keep
    meta_value = keep

    https://www.ads-software.com/plugins/simple-personal-message/

    For now, I have hacked line 1497 (approx) in admin/class-simple-personal-message-admin.php thus:

    // if ($inbox->meta_value != 'keep') {
                if ($inbox->meta_value == '') {

    So now nothing will auto empty and the user won’t start losing messages.

    Further; The choices in personalize messages should be set thus:

    Keep forever (default) with the default in the database set as an empty field
    Keep for 30 days
    keep for 60 days
    etc…
    Don’t keep (which they have to select)

    this will save the frustration for users of seeing their messages vanish before they realize they have to actually manually save the prefs before they send their first message. This is not good practice.

    So.
    The bug that needs to be fixed is to make sure the DEFAULT before ANY messages are sent (or upon first message sent) is NOT empty.

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Md. Shamim Shahnewaz

    (@mdshamimshahnewaz)

    Hi trevornanders,

    Thank you for your findings. I am grateful to you and ready to fix it and update it asap.

    Regards
    Shamim

    Plugin Author Md. Shamim Shahnewaz

    (@mdshamimshahnewaz)

    Good Day!

    Thanks for you nice feedback and investigation. Due to some reason I didn’t update my plugin. Today I just released version 2.0.0-alpha, please update to be a better performance. In the upcoming version I will consider your nice feedback.

    Regards
    Author

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘messages vanishing bug’ is closed to new replies.