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.

body not posting content

  1. Johanne
    Member

    Hello I am using gravity forms now instead of tdo and I find gravity much better.
    But the last few days I have noticed a problem and do not know how to fix the problem with my site members can upload a video embed or iframe into the body and then the post will show the video. This for myself and the other creator of the site works perfectly but the problem arises when a new member signs up then tries to upload it shows up on the gravity forms entries on the back end but if I go to post the post is blank if anyone but myself or the other creator uploads with our login.
    I thought the problem could be the roll of the member so I made a test member an admin and the problem is still there. I have looked at all the ways around this I can think of and I still can’t solve it.
    I would be very grateful if anyone could help solve this problem as it is causing much frustration.
    Thanks
    Ben
    link to site
    http://bexbase.com/anime

    Posted 12 years ago on Monday July 18, 2011 | Permalink
  2. In order to look into this it will be easier if we can access the site to look at your form setup and submit some test forms. Please send us a WordPress admin login for the site via our Contact Us form and we can take a look. Be sure to let us know which form it is and reference this forum post when contacting us so we know you posted on the forum.

    Posted 12 years ago on Monday July 18, 2011 | Permalink
  3. Johanne
    Member

    ok thank you what email should i send the details to ?
    Ben

    Posted 12 years ago on Monday July 18, 2011 | Permalink
  4. You would send it via our Contact Us form. There is a link to it in the right navigation on the right hand side of this site.

    Posted 12 years ago on Monday July 18, 2011 | Permalink
  5. Johanne
    Member

    have been sent
    thanks
    Ben

    Posted 12 years ago on Monday July 18, 2011 | Permalink
  6. Thanks, we'll take a look and get back with you. It's after hours right now so we may not have a resolution on it until tomorrow.

    Posted 12 years ago on Monday July 18, 2011 | Permalink
  7. Johanne
    Member

    ok thats fine
    Thanks
    Ben

    Posted 12 years ago on Monday July 18, 2011 | Permalink
  8. Johanne
    Member

    Hello Carl
    Did you mange to find out the problem ?
    Thanks
    Ben

    Posted 12 years ago on Tuesday July 19, 2011 | Permalink
  9. I'm unable to recreate a problem. I've tested using two scenarios:

    Scenario 1
    Logged into the site using the username carl and password that you provided me. I submitted a form while logged in with that account, the post was created and everything worked as intended. The body of the post was populated.

    Sceenshot of the Entry: http://i.imgur.com/Bmf8k.png
    Screenshot of the Post: http://i.imgur.com/2NdeQ.png

    Scenario 2
    Opened a different browser and went to the site without logging in. As an anonymous user. I submitted a form while not logged in, the post was created and everything worked as intended. The body of the post was populated.

    Screenshot of the Entry: http://i.imgur.com/oIECy.png
    Screenshot of the Post: http://i.imgur.com/ZlHEY.png

    I had no problems both using the login you created for me, or submitting the form while not logged in.

    Posted 12 years ago on Tuesday July 19, 2011 | Permalink
  10. Johanne
    Member

    Hmm ok thanks you
    the poroblem arises when a iframe is submitted it comes up in the entries in the back end but the embed or iframe will not show in the post.
    Thanks
    Ben

    Posted 12 years ago on Tuesday July 19, 2011 | Permalink
  11. Do me a favor, use http://pastie.org/ to copy-n-paste the exact contents of the field that doesn't work when you try and use it. Then reply back here with the pastie.org link to that code. I can then test with exactly the same Embed content you are trying to use to see what happens.

    Posted 12 years ago on Tuesday July 19, 2011 | Permalink
  12. Johanne
    Member

    ok i used htp://pastie.org/ and uploaded a iframe http://pastie.org/2239302 this is a iframe my site will not show in the post
    Thanks
    Ben

    Posted 12 years ago on Tuesday July 19, 2011 | Permalink
  13. Johanne, it looks like you are using multi-site. With WMPU and multi-site, administrators and editors do NOT have the ability to post unfiltered HTML. I think that's why your HTML iframe is being stripped. Here is an explanation:
    http://codex.wordpress.org/Roles_and_Capabilities#Editor (go to: unfiltered_html (not with Multisite. See Unfiltered MU))

    Here is a plugin solution if you are indeed using multi-site.
    http://wordpress.org/extend/plugins/unfiltered-mu/

    On another note, the reason iframes and some other HTML is stripped out is due to security. Be sure to read the comments on the plugin that explains this situation better than I can.

    Is there a reason you can't just accept the URL of the YouTube video and then use the built in oEmbed to show it in your template (rather than just allow someone to submit an iframe URL to your site)? If not relying on oEmbed, you could also just accept the URL of the video, then in your post content template you could code the iframe tag.

    Hope that helps. Please post back if you are indeed using multisite and if that plugin helps.

    Posted 12 years ago on Thursday July 21, 2011 | Permalink