• Resolved sharemtb

    (@sharemtb)


    Hi!
    I’ve put this on my site, but am unsure what to do to make it work.
    You say to add “[user-submitted-posts]” to any post, page or widget.
    Do I add this to a blank post, then publish it, and then what?
    This plugin sounds very interesting, but I’m just unsure how it get started working.

    The page I need help with: [log in to see the link]

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

    (@specialk)

    Yeah just copy and paste that shortcode into a published post or page, wherever you want to display the form. If you change your mind later, you can simply delete the shortcode, and all will go back to how it was before.

    Also, highly recommended that you read thru the plugin Installation instructions. That will help fill in a lot of the gaps.

    I hope that helps, let me know if I can provide any further infos, glad to do so.

    Thread Starter sharemtb

    (@sharemtb)

    Wow. Super fast response. I did read the install instructions, just wasn’t getting how it works “initially”. I added the shortcode to a new form (https://sharemtb.com/test-new-post-for-missy/), and I see that this is what the non-technical user would add to create new blog entries.

    Thanks VERY much.

    • This reply was modified 4 years, 4 months ago by sharemtb.
    Thread Starter sharemtb

    (@sharemtb)

    Ah. I found the USERS section in your settings. I think that will cover it.
    Disregard previous post.
    Thanks!

    Plugin Author Jeff Starr

    (@specialk)

    Cheers, glad you got it sorted!

    Thread Starter sharemtb

    (@sharemtb)

    Well, I thought I did. When I log out completely from WP, and go into our site:
    https://sharemtb.com/whats-news/
    I can still see the basic/skeleton post which has your shortcodes in it.
    I only want that post displayed for users. What it shows me is the sign-on screen, is there a way to not show it at all unless the AUTHOR admin user-id’s are logged into WP?
    https://sharemtb.com/test-new-post-for-missy/

    Plugin Author Jeff Starr

    (@specialk)

    As explained in the Installation instructions, you can use shortcodes to limit display of the form (or anything) to logged-in or logged-out/visitors only. For example:

    [usp_member deny=""]
    [user-submitted-posts]
    [/usp_member]

    Again, this is all explained in the Installation instructions, please take a look and let me know if any questions, glad to help however possible.

    Updated to add: to display the form only to author-level users:

    [usp_access cap="edit_published_posts" deny=""]
    [user-submitted-posts]
    [/usp_access]
    • This reply was modified 4 years, 4 months ago by Jeff Starr. Reason: adds infos
    Thread Starter sharemtb

    (@sharemtb)

    One last question. When I have an error, such as a picture being too large, it clears out all entries on the previous form fields (such as the blog TITLE and CONTENT. Is there a way to have that remain, so the user doesn’t have to re-enter it?
    Thanks again for such quick responses. πŸ™‚

    Plugin Author Jeff Starr

    (@specialk)

    By default the form should provide client-side validation for all fields except the File(s) and reCaptcha fields. Is that not happening for your site?

    Thread Starter sharemtb

    (@sharemtb)

    Sorry, I’ll read all the links in the instructions. I didn’t pick up that I could filter based on users from here:
    https://perishablepress.com/action-filter-hooks-user-submitted-posts/

    On the field validation, when my Missy user is logged in, and I’ve entered a title and content, then scroll down and select a large picture (so it’s rejected based on my 4000 pixel max size), and then press SUBMIT POST at the bottom, at that point the above title & content have been erased/cleared-out and I must re-enter them. I get the message “Error: Image width exceeds maximum (4000 pixels)”

    Plugin Author Jeff Starr

    (@specialk)

    Yeah sounds like something is interfering with normal functionality. Normally any fields that have been filled out by the user are remembered and returned if there is an error (like with file size or whatever).

    Thread Starter sharemtb

    (@sharemtb)

    LOL, glad it’s not normal. Not sure how I’ll correct it, but in the meantime, I’ll just tell the person that will be adding blog entries to use small pictures else their data will be lost.

    If I could be so bold, on this entry page:
    https://sharemtb.com/add-new-blog-entries/
    I only have the following on it:
    [usp_access cap=”edit_published_posts” deny=””] [user-submitted-posts] [/usp_access]

    That’s everything in the body. Do you have any idea why there is so much white space (blank lines) between all the fields? You probably don’t see it since you’re not Author, but there are about 7 or 8 blank lines between all entry fields.

    Plugin Author Jeff Starr

    (@specialk)

    Yeah that can happen when the shortcode(s) is/are surrounded by code or pre tags. Take a look at your page using the plain-text editor (not visual editor) and remove any code/pre tags should resolve the issue.

    Thread Starter sharemtb

    (@sharemtb)

    Yup. There was a “pre” and a “/pre” hidden before and after your plugin’s code.
    Awesome. Much cleaner. Thanks!!!!!

    • This reply was modified 4 years, 4 months ago by sharemtb.
    • This reply was modified 4 years, 4 months ago by sharemtb.
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘getting started’ is closed to new replies.