• Resolved ngontayg2

    (@ngontayg2)


    `Hi, I found two small bugs when using transfer shortcode on the front page

    – The amount input field (named mycred_new_transfer[amount]) should be “number” type but you set it as type=”text”, when user accident type text or symbol there the form will hang at “Processing…” and must refresh the page to transfer again. Since all the data was sanitized then no security risk here but it pretty annoying.

    – When the admin defines the recipient by “pay_to” in the shortcode, the recipient field is disappeared on the front page, but the recipient’s ID still shows in the browser’s developer tool (mycred_new_transfer[recipient_id]), and when someone changes this value to another ID, the point will transfer to the new user, not the user is specified by admin!

    View post on imgur.com


    The mycred_new_transfer[ctype] may also have this bug, I haven’t tried it yet.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ngontayg2

    (@ngontayg2)

    Ah and I have a question, if I want to add a function to check some conditions (like check user id or timestamp) before allow user to transfer point by using transfer shortcode, how to do that?

    Hi @ngontayg2,

    Thank you for contacting us, We have forwarded the details to the QA Team we will get back to you once we heard back from them.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Two small bugs, maybe?’ is closed to new replies.