This forum is for general questions about USP Pro. This includes but is not limited to installation, configuration, and basic implementation. For advanced questions, check out the Advanced Topics.
Browse support forums for USP Pro »
This forum is for general questions about USP Pro. This includes but is not limited to installation, configuration, and basic implementation. For advanced questions, check out the Advanced Topics.
Browse support forums for USP Pro »
Please log in to post a new topic or reply.
High-quality WordPress plugins.
© 2014–2024 Plugin Planet • Subscribe • Sitemap • Privacy • Built with shapeSpace by Monzilla Media • John 3:16
Forum : General Topics
There are 271 posts in this forum.
Hi. I have added custom fields to my form. Once a user has submitted the form, where can one view this info?
In the WordPress Admin Area, you can view the attached custom fields by visiting Edit Post, and then enabling display of the “Custom Fields” meta box. On the front-end, you can use the free Helper Plugin to display any custom fields along with any necessary markup.
When users post their own content it is stored as plain text without any formatting. No line breaks, no headlines…nothing. How to solve that?
PS: rich text editor is enabled
You can enable Post Formatting, as explained in this tutorial.
Hi, I like the USP Pro and I am considering to install it. However, it is not clear to me if an user can edit their posts after submitting?
Glad to help. Posts submitted via USP are treated by WordPress just like regular posts that you create via the Admin Area. So users will be able to do the same things for submitted posts that they can do for regular posts. For example:
Also check out more info on User Roles.
Hi. I am getting the following error when trying to submit my form:
“ERROR: Important! Please fix the following issues: Incorrect form type. Please notify the administrator.”
Hi. That error means that you have specified an incorrect form type for the plugin feature, “Extra Form Security”. The quick solution is to disable that feature by unchecking the “Enable this feature” box (under the USP General tab). Then, here is a tutorial that explains how to configure it properly.
I purchased the pro version and created a form that includes a category dropdown. the dropdown does not work – if i click it, nothing happens. i also tried to change it to checkboxes but it doesn’t change the look (it stays a dropdown). can you please give me an answer what to do or which setting i need to use in order to make it work.
Glad to help. It sounds like maybe no categories have been selected for the field. There are several ways to specify which categories are included/displayed. There are two ways of doing this:
Globally, via the plugin settings:
Or, locally, per form, via the category shortcode:
For example, something like this:
[usp_category include="all_include_empty"]
When you use
all_include_empty
for theinclude
attribute, the category field will display all categories, even they do not contain any posts. More info about the category shortcode. More info about adding categories.I want the submitted post to have no Post Content. Can I add a
[usp_content]
field in my post, set theplaceholder=""
and then hide the field? It seems that even if I don’t includepost_content
that the body of my post stills says “Post Content” when submitted.Instead of all that, just omit the
[usp_content]
field and set the option “Default Post Content” to be empty. Under the Advanced tab. That’s where the “Post Content” text is coming from.That worked. Thanks!
Just a heads up. The tutorial for that says to go to “More Settings” instead of “Advanced” so I had trouble finding that.
Can you share the link so I can fix, thank you.
Here is the link: https://plugin-planet.com/usp-pro-default-post-title-content/
Fixed, thanks again Martin.
No problem. Much appreciated!
I noticed that you can set a few parameters for [usp_pro_display_posts]., as per https://plugin-planet.com/usp-pro-display-list-submitted-posts/.
Is there a way to display posts by “post category?” That would be amazing!
That is a great idea, will add it to the list for the next plugin update. Thanks for the feedback!
Right on. That would be a really important feature I think.
hi
i was searching for the same
I’ll be adding a “cat” attribute, and others, in the next version of USP Pro.
After a User(member) has completed the form, the form is no longer displayed to the user. So if the user comes back to the page with the form, the form is not displayed to the user anymore.
is that possible?
There is a setting under the plugin Advanced tab that controls whether or not the form is displayed after successful submit. It’s one of the first few options, named “Display Form on Success”.
thx for your help. but thats not what i am looking for. after the user has successful submit the form, i want the form hide from the user. if he coms back to the page it should not possible for him to see it or fill it out again.
Sorry i know my english is not the best.
Yeah, that’s exactly what the setting, “Display Form on Success”, controls. Uncheck/disable the setting, and the form will not be displayed after successful submission. Unless I am not understanding what you are trying to do.
yes. but if the user comes back to the page withe the form, the form is not hidden anymore. after submit the user should never see the form again.
Ah, so you want to display the form only once per user, correct? If so, that is not a feature of the current version, but something similar will be available as a paid extension (i.e., limit the number of posts per user).
yes. but i dont know if limit the number of posts per user will do the job. because i want 6 different forms per user and every form should display only once per user.
it is realy importent for my project. Is this not possible in any way?
I understand. It’s not a current feature of the plugin, however it would be possible for a developer to build a plugin that would enable such complex functionality.
Hi Jeff,
Whats the simplest way to execute additional PHP code on form submit? I want to add a role to a user when after they submit a certain form. So want to run this
Glad to help. The best hook for this would be:
usp_get_field_val_before
Located in
get_field_val()
, @ line 2090 in/inc/usp-process.php
Context:
So in your hook function, you can grab the
$_POST
variable and verify, for example:Hi Jeff,
I’m new to WP and USP Pro – but I’ll try to explain my challenge…
I’m using “custom custom fields” to add some hidden information to the post – but I want the value to contain quotes (like
a:1:{i:0;s:3:"198";}
), which I can’t make work. Can I achieve it in any way?Glad to help. So what is happening is that the custom field values (e.g.,
a:1:{i:0;s:3:"198";}
) are HTML-encoded for security. That means that the values are in the database with any special characters (like quotes) encoded to their entity equivalents.So to get/use the un-encoded values, you can do something like this when accessing the custom field:
Also for more information, check out the “note about special characters” in this tutorial (about halfway down the page).
Hello, just bought the USP Pro plugin and am excited to get going but for some reason, my form builder page is not displaying any quicktag buttons to add to my form. I know there are other ways to do it but I’m fairly new and would want to start with a basic quicktag built form. Did I miss something in my configuration , a box that needs checking somewhere in settings maybe? I’ve looked and couldn’t find the solution amongst the many setting options. Could you please help? Thanks and sorry if this is a dumb question!
Glad to help. That can happen when the plugin JavaScript isn’t loaded correctly. Can usually be fixed by one or more of the following:
One of those should do the trick, let me know how it goes.
Thank you, yes, it was a simple as toggling between the visual and text tabs. The one time I don’t try fiddling around! Really appreciate the quick response and easy fix. Looking forward to setting up my forms!
My submit form is displaying with a lot of space between fields. Any suggestions?
Do you have a link where I can take a look? If private, please contact using the form at the bottom of this page, thank you!
hi, please explain where to enter the pro license key, i cannot find it under WordPress 5.0.3
It is located under the Plugins menu in the WP Admin Area. Here are complete steps to activate/deactivate your plugin license. Let me know if any questions!
iv’e sent you a support email. cant find it still…
I just triple-checked and do not see any email from your registered address. Feel free to try again via the contact form at the bottom of the page, or if you want to post publicly here in the forums that’s fine too.
emailed you again, i want to send a screenshot but cant upload here
I have sent several emails in reply to your messages. Please check your spam folder and make sure to mark our email as “not spam” to ensure future correspondence.
Hello, the lightbox for thumbnails does not work. when I use the free version, a lightbox is displayed when I click in the thumbnails, but as soon as I activate the purchased version, the link returns to the URL of the image.
Hi Pierre, I’ve been trying to contact you via email. Have sent several replies via different email addresses, but none of them seem to be making it through. Please check your spam folder and mark any messages from us as “not spam” to help ensure future email delivery. Will do whatever is necessary to provide help and make this right. Thank you!
Hey, for whatever reason when I try and create a new form I do not see the shortcode buttons for fields across the top of the editor, like in the videos (USP: Content etc). Am I missing something to get these showing? I have disabled all plugins in case it was a conflict but that has not remedied the issue. Cheers
Try clicking on the “Text” tab that is next to the “Visual” tab (just above the content field on the Edit Form screen). Toggle between the two tabs a few times. Sometimes that wakes up WordPress to load the required scripts and display the new Quicktag buttons. May also try clearing cache/cookies and refreshing the page.
Articles submitted by USP Pro do not keep paragraphs or breaks, I have tried to enable formatting, i have tried with richtext on and off to no avail.
By default all tags and breaks, newlines and so forth are filtered from the submitted content. To allow tags/new lines, returns etc., you can enable Post Formatting. Here is a guide that explains it.
My website was built by a 3rd party, who never gave us ownership of USP Pro Plugin and I can no longer update. I purchased a new license and want to manually update. By doing so, will it delete/remove any of the custom forms, settings, etc. already created with the previous license? thanks!
No. If you upgrade manually via (S)FTP or similar, the plugin options will not be modified. Likewise with all forms and submitted post data; none of it will be affected by a manual upgrade of the plugin files. Here is a plugin upgrade guide, just fyi.
Hello:
I just got the pro version of this and I’m not sure how to disable the placeholder text in the form fields. I wan to avoid this as it’s an accessibility issue. I’ve tried empty string values and removing the attributes from the shortcodes but neither seems to stop it from displaying the default.
Suggestions? Thanks
Ok, well I figured out that it can’t be a null value. You have to actually put a space in as the value. Not the best, IMHO
Um no, you just use “null” as the value to disable placeholder text.
Can’t seem to reply to your reply @Jeff Star. Thanks for the doc link. I guess RTFM applies here.
I’m not a developer, but from a user/implementor perspective, I just find it weird that I’d need to actually put “null” as a value. Intuitively, I made the assumption that an empty value (
placeholder=""
) would basically be interpreted as null. Anyhoo. All sorted. Thanks for a great product. The Helper plugin is genius.Sorry if it was confusing for you, hopefully the docs are clear. Let me know if any questions, glad to help.
I’ve created a page, and am just starting with the classic form. I log out, then try filling out the form at the link above. I’m needing a new user to be created whenever someone new submits something, but it’s not happening. No new users. I don’t see anything in the settings that might be influencing this. The posts are being created and images added, but no email notification is being sent so the submissions can be approved.
The Classic Form demo is a replica of the free version of USP. So it only submits posts. Here is a tutorial that explains how to make a form that does both, register users and submit posts.
Thanks, that’s what I needed. I’m still not getting notifications from this forum, just the other one. I’ve been hunting around for somewhere there might be a setting I need to tick, but nothing. I wanted to tell you, a little UI feedback. I would have found it useful if there was a prominent link on the Pro version for “Help” that would have taken me straight to here. Also, earlier this morning I saw a long list of video tutorials for this plugin hat I wanted to go through, and now I can’t find my way back there.
No problem, here is a link to the Video Tutorials. Also thanks for your feedback about the forum. Will definitely add more links pointing to the forum for the next design update.
Also just fyi, you can search for stuff directly on the site by visiting any page with a sidebar, such as the Tutorials page. There you will find a “Search” box in the sidebar.
Hi!
After trying the free version, everything goes well and work properly, I decided to purchase the Pro.
After that, I proceed to install and activate the plugin following your video tutorials and every time I try to preview a form, directly from the USP Forms/Preview or paste the shortcode, from a published form, into a Page or Post the URL just show a blank page with scroll where the header, footer, content, everything is missing.
Could you help me, please?
Thanks in advance.
Ps. Another question just in case you can help me to fix the previous issue.
I was wondering if there is a way to show only the login and forgot password form? It should not be possible for people to sign up, only to log in.
Thanks!
Hi Jose,
To do that, first make sure that you have disabled the “Membership”/”Anyone can register” setting (under the WP General settings). That will ensure that visitors cannot register with the site. Then to hide the “Register” tab on the login form, you can add the following CSS:
Here is a guide that explains how to add CSS.
Hi Jose,
As for the form showing empty/blank content, the only thing I can think of is that the form might not be published. By default WP does not display any posts (or form, etc) that is still in Draft or Pending status. So try publishing a form and then it should display properly by adding its shortcode on any post or page.
I’ve noticed that if I go to the ‘submit your work’ page and select ‘logout’ I’m taken back to the home page. Is there a way to direct it so that it stays on the page?
By default the Login shortcode,
[usp_login_form]
redirects back to the current page after login or logout. If that is not happening, there could be interference from some other plugin, or maybe even something your theme is doing. Best advice would be to do some quick troubleshooting to identify the culprit.I’m also getting flagged with errors when I hit submit
Incorrect form type. Please notify the administrator.
I’m also frequently seeing an error that my reCaptcha input didn’t work, though I’m using Version 3 that doesn’t require input and doesn’t show anywhere to input anything, anyway.
I’d like these error messages to be more visible. They’re appearing under the title of the page. If I didn’t know to look for them, I wouldn’t notice them. What does it take to get them to appear next to the relevant field?
I’m getting this error with all other plugins turned off and the theme set to default Twenty Twenty.
That error happens when the Extra Form Security setting is configured incorrectly. Best advice there is to disable the setting, and then read thru the documentation to better understand how it works. Basically you need to make the form slug/names match correctly.
I’m not sure about the placement of error messages what’s going on there, but if you have a link where I can take a look, I would be glad to see if anything weird is happening, etc.
I’ve got it stripped down without the login for now.
For now, I just want to determine what the “incorrect form” means.
Although I am also stumped on why the text is so tiny. In Chrome’s “Inspect” it shows as 1rem, as I set it, but it looks like about half that. As I said, no other plugins are installed, and the theme is a child of Twenty Twenty with just a few lines of CSS to customize. No change if I revert back to Twenty Twenty when it comes to this issue.
I searched the page at that URL but do find anything that says “incorrect form”. But as I’ve already explained, in general the “incorrect form type” error happens when the “Extra Form Security” setting is misconfigured. Best advice there is to disable the setting will resolve the error. Then when you have some time, read thru the documentation to better understand how it works, so you can re-enable using the correct values. Basically you need to make the form slug/names match correctly. Here is more information:
https://plugin-planet.com/usp-pro-enable-extra-form-security/
Not sure about the font-size thing. USP Pro does not apply any of its own font-size styles. Inspecting the source, it shows the current font-size is set on line 92 in your theme’s main stylesheet,
style.css
.Making good progress, but still more to work out. When I submit a URL, it does not show in the post. If I upload an image, it will save in my Media library, but it doesn’t show in the post. All that’s showing in the new submitted post is what I entered in the content area. The MEDIA button doesn’t work in the rich content area. It’s shows, but nothing happens when you click it.
Also, is there a way to get rid of the gravatar submission option? (Site owner got lost trying to figure it out. )
“When I submit a URL, it does not show in the post.”
To display custom fields like URL, Email, and so forth, you can use the free Helper addon, as explained here. And here is a video that shows how to use the Helper plugin.
“The MEDIA button doesn’t work in the rich content area. It’s shows, but nothing happens when you click it.”
Not sure, it could be a bug or conflict with some plugin. Best advice would be to do some basic troubleshooting. I would be glad to provide a free troubleshooting guide if it would be useful for you.
“is there a way to get rid of the gravatar submission option”
I’m not sure what this is in regards to, but can tell you that the plugin does not provide any Gravatar type functionality. So most likely it is coming somewhere from your theme or maybe another plugin is doing it.
The gravatar is asked for in the registration form that this plugin generates using the login shortcode. I haven’t seen since I can’t seem to get rid of the cookie that’s letting the plugin see that I already have a login. My site owner saw it when he was taken to the user registration form.
I need that troubleshooting guide, the only plugin turned on is this one. And the problem persists when I’ve switched to a default theme, Twenty Twenty
The shortcode that displays the Login/Register form,
[usp_login_form]
does not include any Gravatar functionality. You can verify this by examining the plugin file,/inc/usp-login.php
. So if you are seeing any sort of Gravatar stuff on the login form provided by[usp_login_form]
, it is not coming from the plugin. Most likely another plugin or maybe even your theme is adding it in there (which is possible to do using filter hooks, etc.). Here is a free guide that explains how to troubleshoot WordPress. Specifically for this sort of issue, check out the sections on testing “Plugins” and “Themes” should be the most useful for you.I’ve been screwing around with what to enter into the Helper fields. Currently, it’s
[usp_custom_field form="144" id="1"]
with brackets and all. Tried without brackets. Neither way works.
That’s weird about the gravatar. The Ghost Gravatar taking over where he’s not coded. As I’ve said, the only other plugin active is an advanced Gutenberg block plugin my page needs.
A couple other issues, it is requiring me to fill in a field ,
[usp_files label="Upload File" required="false]
even though it’s not set as required, and when it hangs on that, everything I’ve entered disappears. I have to re-enter everything. Anyone else using it would have no clue that the problem is with that last image upload not being done . They’d be pissed that all their entries had been lost. Also, when there’s a successful upload, the form remains visible when people are expecting it to be gone.The Add Media button mysteriously worked, then didn’t on the next input.
Glad to help:
1) This:
[usp_custom_field form="144" id="1"]
is used only to add a custom field to the USP Form. What you want is the name of the custom field that is attached to the post. I recommend re-reading thru the tutorial and/or re-watching the video to get the correct syntax, placement, and more useful infos. It works as shown in the video once you get the correct field names.2) About the Gravatar, the form does display the User’s avatar if one exists. My response was regarding your initial question, “The gravatar is asked for in the registration form”. The form does not “ask” for any avatar infos. It only displays the user avatar if it exists at Gravatar.com.
3) About the
[usp_files]
shortcode/field, I’m not sure what might be misconfigured or whatever, but there are several things to check:All of that and more is explained in this guide on troubleshooting file upload issues.
I checked my error log, and I’m seeing this apparently happening every time I submit:
Don’t know what to make of it.
That is a PHP warning. It is not from USP Pro. If you examine the path you will find it is coming from a plugin called “category-feature” that you have installed. You will need to contact the providers of that plugin for help.
If I set file and size limits under ‘Uploads” tab to zero, does that mean unlimited?
No. Use something like 99999999 or similar to go unlimited.
Okay, that’s improved, but the “Success” message comes at the top without the form clearing underneath it
Not sure why that would happen, but you could add some CSS to clear it. For example something like this should work:
Here is a guide on how to add CSS and JavaScript.
That must be from another domain on this hosting account. I don’t have any other plugins active for this site. I was looking for something in the error logs that might help me figure out why I MUST upload an image. Any suggestions on what I should look for?
The “clear” command in CSS is just in reference to floats, as in clearing all floats. That won’t help us here. We could use the “Display: none” command, but then the form won’t display when we want it to either. There’s no changes in available classes. Perhaps there’s a way to add one.
I just experimented with using a completely untouched demo USP form, the “Starter.” I filled it out. I got a Success message and the form still showed, just like with the one I wrote. So, does that suggest any path to pursue? Have you tried this form on the latest update of WordPress, using Twenty Twenty theme? Does it work fine for you? I’ll ask my host. They often go above and beyond in figuring things like this out. The kind of issues other hosts will say “That’s your problem.”
We’re going to have a lot of older people using this form. It can’t be wonky. It will throw them completely.
Hi again Linda,
Let me try to answer all of your questions:
1) “why I MUST upload an image. Any suggestions on what I should look for?”
This is what is known to work to make image uploads optional on default WP installation:
0
required
attribute, like this[usp_files multiple="true" required="false"]
2) About the clearing of forms. By default, the form is a block-level element. So is the div that contains the success and error messages. The plugin does not add any float styles. So that means, by default, the form always will clear the success error message. The only way that would not happen is if your theme or some other plugin is adding float styles, and/or adding other styles that are having an effect. You can see how the forms clear normally by trying one of the demo forms with the default WP theme.
I just ran the classic demo with the WordPress default theme, Twenty Twenty, and encountered exactly the same problems. It would not accept the submission without adding a file to the upload, and once successful, the form remained in view.
Just ran the classic demo again using Twenty Seventeen and experienced the same issues.
Hi again Linda,
Glad to help some more. Can you let me know the following information:
The classic demo shortcode is just:
[usp_files]
I didn’t touch anything on that form.
The error message is:
Important! Please fix the following issues:
File(s) required. Please check any required file(s) and try again.
Yeah that would explain it. Try adding
required="false"
should resolve the issue. See my previous comment for more information about this.