Up to 50 percent off

Hidden custom fields

This topic contains 10 reply and 3 voices, and was last updated by Salih 10 years, 3 months ago
Viewing 10 Posts - 1 through 10 (of 10 total)
Author Posts
July 13, 2014 at 2:41 pm 23452
Salih Hi there I have a specific set up where I allow users to post videos by choosing the category of video game. At the same time I funnel every post to a 'recent' section which requires the recent category also to be selected. Ideally this field is hidden so the user does not know that this is selected. How would I implement this? Other conditional logic I had created in gravity forms included specific background images using the custom field _bg_image based on the category the user chose. Is there any flexibility to achieve this? Finally the YouTube video does not show up in post if a rich editor is chosen. is there a work around? Thanks guys, great job with the plugin!
July 13, 2014 at 3:22 pm 23461
Sekander Badsha Sekander Badsha

Hello Salih,
Everything you asked for is possible through User Frontend Pro. Here is our getting started guide: http://docs.wedevs.com/category/plugins/wp-user-frontend-pro/getting-started/

Please read through the documents. You’ll get all of your answers and discover some more possibilities with User Frontend Pro.

July 13, 2014 at 3:52 pm 23467
Salih Salih

Excellent, thank you very much! Any way you could point me to the specific sections of the documentation that relate to my question?

I have set up the majority of the form and it works fine, these are the particular areas which are bugging me.

July 15, 2014 at 7:15 pm 23614
Salih Salih

Hi there any response to my question? I know the basic things but to set up a separate category field that is hidden and recent is always selected isn’t really easy to understand from the guide you have referred me to. I managed to do all of this in gravity forms and am looking for this plugin to replace it.

July 19, 2014 at 7:22 am 23767
Salih Salih

It’s been 5 days since I posted and asked for support. Is it possible for you to help me or do I need to request a refund on your plugin? Simply telling me that everything I need is in the documentation is not good enough. I have read through your documentation and have a specific user case that needs to be addressed. With gravity forms I got it working out of the box. I’m not sure what the issue is here and why you can’t assist me.

July 21, 2014 at 1:51 pm 23858
Sekander Badsha Sekander Badsha

Hello Salih,
We’re sorry for being late. The features you requested took us a while to test. So here I am with the solutions.
1. One Default Category and Let the user choose one: use the code below in your theme’s function.php and replace 1 by your default category’s id.

function wpufe_add_category( $postarr ) {
    if ( isset( $postarr['post_category'] ) ) {
        array_push( $postarr['post_category'], 1);
    }

    return $postarr;
}
 
add_filter( 'wpuf_add_post_args', 'wpufe_add_category' );

and to let the users to choose a category use the category taxonomy in the form.

2. Background image depending on category: This is a bit complex thing. You can hire a developer to make this feature available.

3. YouTube Video on RichText Editor: You have to use the normal editor to embed YouTube videos from links.

July 24, 2014 at 5:32 pm 24067
Salih Salih

Ok no problems. With solution number one how do I make this work for the Dashboard when user also goes to edit and update the post, because once they use that the solution does not work.

Thank you for your help here.

August 5, 2014 at 12:26 pm 24555
Sekander Badsha Sekander Badsha

I didn’t understand your last reply. Can you please elaborate more?

August 6, 2014 at 7:15 pm 24674
Salih Salih

Hi Sorry for the late response.

So the code you provided works fine in the submission form and the recent category is recorded without the user knowing. However when they go to edit their clip from their dashboard so the shortcode dashboard feature you have from the front end the ‘recent’ category is wiped. So I need to have this code applied to the dashboard area as well.

August 11, 2014 at 9:20 pm 24981
Tareq Hasan Tareq Hasan

To work the category in edit post area, add this code as well.
add_filter( 'wpuf_update_post_args', 'wpufe_add_category' );

August 16, 2014 at 6:54 pm 25275
Salih Salih

Thank you that worked perfectly!

Viewing 10 Posts - 1 through 10 (of 10 total)