Home Forums Plugin Support WP User Frontend Pro [wpuf_sub_info] shows all post types

This topic is: resolved

This topic contains 24 replies, has 5 voices, and was last updated by  Scott 4 years, 8 months ago.

Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #25366

    Scott
    Member
    Post count: 48

    Hi Tareq,

    Could you guys have the plugin not display post types that we enter 0 for. This would be a much better solution than having us add code to your plugin as our changes will be overwritten on next update.

    Thanks for your help on this!

    #25951

    Scott
    Member
    Post count: 48

    @tareq – Can we please have this functionality added to the plugin instead of us editing the plugin code which will be overwritten on update.

    The best solution would be to have the post types that have 0 entered in for them not show on the frontend.

    Please advise when we can expect this functionality to be implemented on your end.

    #26000

    Tareq Hasan
    Keymaster
    Post count: 2831

    When someone exceeds the limit and ultimately the count comes down to 0. So what you are saying, if anyone crosses his limit, it'll not show in that list. So I don't think it's ideal.

    However, I am adding a new filter so that presentation can be changed via a code snippet and will persist even the plugin is updated.

    #26007

    Scott
    Member
    Post count: 48

    That would be great. Thanks for the update.

    #27554

    Elizabeth
    Member
    Post count: 41

    Did anyone get this to work? Now it's hiding all my post types.

    I only have one post type to show. In my admin area is called Addjob Articles, but my theme names it os_addjob.

    So, I've tried both my Custom Post Type name (os_addjob) which was how it was showing originally in the sub info, but I can't get the remaining posts to show. Here are the different options I've tried.

    echo isset( $user_sub[‘os_addjob'] ) ? sprintf( ‘os_addjob: %d', $user_sub[‘os_addjob'] ) : ”;
    echo isset( $user_sub[‘os_adjob'])? sprintf( ‘Addjob Articles: %d', $user_sub[‘os_addjob']):”;
    echo isset( $user_sub[‘Addjob Articles'])? sprintf( ‘Addjob Articles: %d', $user_sub[‘Addjob Articles']):”;

    If anybody has successfully done this, can you share how you did it?

    Thanks

    #27555

    Scott
    Member
    Post count: 48

    @tareq

    When can we expect the update with this fix and the other fixes that were promised in other threads? Any ETA?

    #27559

    Tareq Hasan
    Keymaster
    Post count: 2831

    Have you tried v2.2.5?

    #27561

    Elizabeth
    Member
    Post count: 41

    I had no idea there was even an update – it doesn't say it in the Plugin admin…downloading now. Fingers crossed!

    Thank you

    P.S. Any way to be notified for future updates?

    #27564

    Elizabeth
    Member
    Post count: 41

    YAY! Good job….so, I'm gonna push luck here and ask 2 last questions:

    1.) Is it possible to change the way the name appears as to what post type is left? For example, my post type is “os_addjob” can I change the way that appears to my front end user?

    2.) I'm not sure the front end user will understand that -1 means unlimited posts. Can we change “-1” to say unlimited?

    Sorry to be a pain in the ass…I/we will make the code adjustments if you can just tell us where to do so.

    Great job btw! Thank you!

    #27588

    Scott
    Member
    Post count: 48

    Looks like all of my issues in this and other tickets were resolved with
    the latest update.

    Thanks @tareq

Viewing 10 posts - 16 through 25 (of 25 total)

The topic ‘[wpuf_sub_info] shows all post types’ is closed to new replies.