• Resolved seanchen525

    (@seanchen525)


    hi,

    I’m using the plugin, it works very well. However, I want to change the label text of input. I’m a Chinese developer, I want to change the Chinese text. I tried to edit languages/usp-zh_CN, it doesn’t work.

    I want to limit the size(5M) of the pic user upload. There’s no such setting.

    Thank you.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Jeff Starr

    (@specialk)

    That is correct, with the free version you can set limits for width and height. The Pro version also provides a setting to limit uploads based on file size.

    Thread Starter seanchen525

    (@seanchen525)

    How about language? Can I redefine it by myself?

    Plugin Author Jeff Starr

    (@specialk)

    Can you redefine language by yourself? Do you mean, can you translate the plugin into another language? If so, then yes; USP Pro is fully supportive of translations.

    https://translate.ww.wp.xz.cn/projects/wp-plugins/user-submitted-posts

    Thread Starter seanchen525

    (@seanchen525)

    No, I want to redefine some label text in Chinese.

    Plugin Author Jeff Starr

    (@specialk)

    With the free version, that is possible by setting up a custom form template. With the Pro version, there are attributes for each field that may be customized directly in the form.

    Thread Starter seanchen525

    (@seanchen525)

    May I change the Language Mapping(key-value) file directly? Where is it?

    Thread Starter seanchen525

    (@seanchen525)

    Get it. Thank you!

    Thread Starter seanchen525

    (@seanchen525)

    There’s another issue about the Chinese file name. When our client upload a pic to our server, DB saves the Chinese file name. However, in the /uploads, the file has unreadable code name. The server can’t pair names when it want to retrieve the file. Would you please hold the Chinese file name(Like iconv(“gb2312″,”UTF-8”, $name)) before saving.

    Plugin Author Jeff Starr

    (@specialk)

    It sounds like a character-encoding issue, which goes beyond my level of expertise. I wish I could help! If there is something I can do, please let me know. Thank you.

    • This reply was modified 9 years, 1 month ago by Jeff Starr.
    Thread Starter seanchen525

    (@seanchen525)

    If you’d like to tell me which script file save the uploaded file, it’ll be helpful.

    Plugin Author Jeff Starr

    (@specialk)

    Check out the function usp_createPublicSubmission in the file, user-submitted-posts.php. The second part of that function handles media attachments and custom fields.

    Plugin Author Jeff Starr

    (@specialk)

    Gonna go ahead and mark this topic as resolved to keep things organized. Feel free to post again if needed, I’m glad to help however possible. Thank you.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Label Text and Image Size issues’ is closed to new replies.