PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Could GF do this with Wishlist Member plugin?

  1. Demode
    Member

    I am thinking about buying GF for my membership website, but I'd love to know following first:
    See, I am using Wishlist Member WP Plugin. It offers possibility to hide certain part of the text in posts from unregistered/free users using codes [private_level] text goes here [/private_level].
    I'd love to use GF form so that the users may post to my blog, but the contacts of the posters that's also included in the post should be hidden and available to registered users only.

    In other words, is it possible to hide the output from certain GF form fields using Wishlist codes [private_level] and [/private_level]?

    Posted 14 years ago on Sunday October 31, 2010 | Permalink
  2. RichardBest
    Member

    This is a really interesting question because it raises the issue of whether the Wishlist shortcodes will work in the post content template function of Gravity Forms. Carl has said shortcodes do work there so, in theory, this should work. You need the GF team to confirm though.

    In any event, if that didn't work, it seems to me that you could still accomplish what you're after. You could use GF to create a beautiful form through which users could add posts and you could use custom fields to collect the contacts etc that you wish to protect. You could then amend your basic loop with some conditionals so that if a user is logged in, then custom fields A, B and C would be shown, but if the user is not logged in, they would not.

    Posted 14 years ago on Sunday October 31, 2010 | Permalink
  3. Demode
    Member

    Thanks for your answer Richard. Studying the way Wishlist Member works, I have discovered it is even more simple. All GF should do is to insert text lines: [private_level] and [/private_level] into default positions before and after certain content section.
    Do you think it is possible?

    Posted 14 years ago on Monday November 1, 2010 | Permalink
  4. RichardBest
    Member

    Hi there Demode. What you're suggesting here is what I had in mind with the first option above. I was interested to see whether this works so just did a spot of testing on a site in which I have Wishlist Member installed.

    In short, yes, what you're after can indeed be done. I've done it by using Gravity Form's post content template feature. Here's what I did:

    1. I created a test form, using "Post Fields": http://grab.by/79ZD
    2. Within the post body field, I then set up a post content template: http://grab.by/79ZG (you'll be able to see what I've protected with Wishlist Member private tags)
    3. Having assigned the test form to a page, I then headed to that page and added a post via the test form. This is what I see as a logged in user with the relevant access rights: http://grab.by/79ZI
    4. Now, this is what I see when I've logged out and am therefore accessing the site as a non-logged in user: http://grab.by/79ZJ

    So, as you can see, what you're after is indeed doable, very easily, thanks to the ability to use shortcodes in the Gravity Forms post content template feature.

    All the best.
    Richard

    Posted 14 years ago on Monday November 1, 2010 | Permalink
  5. Demode
    Member

    Dear Richard,

    Never in my life I have received this much help from stranger...
    Thanks for your unselfish support. I am sure God takes good care of You.

    And yes, I'll be buying this baby!

    Posted 14 years ago on Monday November 1, 2010 | Permalink