Support Forum

installing iframe into simple press post…

24 Answers

New Answer

RP Robert Provencher
Robert Provencher
Member

brandon, it works! thanks….I emailed you about the options for html and regular posting and checked again and for some reason, it’s all there now..(it was stuck in html editing only…) again, thanks a million! Rob

BR Brandon
Brandon
Member

Robert Provencher said
brandon, it works! thanks….I emailed you about the options for html and regular posting and checked again and for some reason, it’s all there now..(it was stuck in html editing only…) again, thanks a million! Rob

I snuck in the HTML (TinyMCE) plugin and set it up while we were crossing emails. That’s why it was there when you looked again.

From my tests it worked pretty good adding in the iFrames as an admin. This might be something that can be looked at in the future. I know the reasons why not to allow people to post using iFrames but it would be nice if admins are allowed to.
I myself have had to backdoor an iframe here or there on my sites so I can put up a couple of special things. One of my special ones I had to create was a way for someone to watch their Slingbox from my forum.

Kinda cool allowing people to watch their TV at home from anywhere in the world from my site without them having to jump through a bunch of hoops to do so, but how to do that is a story for another day. :)

RP Robert Provencher
Robert Provencher
Member

ok…it’s back…..Unable to save
This post contains an iframe which are disallowed

 

Is there a way to prevent this? I did update wordpress…was that what caused this…? Can anyone help me fix again, and better yet, is there a way to avoid it that you know of? thanks…Rob

YS Yellow Swordfish
Yellow Swordfish
Member

Updating WordPress shouldn’t make any difference. Only if you trashed your SP theme.

I will need to get some information from Brandon as to what exactly he did before… Brandon?

BR Brandon
Brandon
Member

If I remember correctly we had to change something in WP to make it allow iframes.I’ll have to look through my archived emails/tickets and find what we did. I’ll check tonight or tomorrow and see if I can find it.

MP Mr Papa
Mr Papa
Member

change to wp???  shouldnt have to…  it was our logic that prevented a simple filter in the post validation stuff…

JI jim
jim
Member

Mr Papa said
you can try this… in your spFunctions.php of your sp theme…

For the record, that filter didn’t work for me as is. Does it require edits to the TopicView template too? Looking at the spFunctions code, it does not appear so.

It should work for any user with Admin permissions, yes? I ask because I recently changed my default WP username so it is no longer “admin”.

Reading this whole thread, it looks like issue came back for Robert, some WP core hacks had to be made, but it never got sorted out, or at least reported here.

Thumbs up for integrating this into SP Admin Permissions! (For <iframe> & <form>)

MP Mr Papa
Mr Papa
Member

No, the filter by itself isnt enogh… you need to edit the core sp code…  we have some js validation that is blocking the filter from working…  keep meaning to try to resolve that, but never seem to get to it…

JI jim
jim
Member

…you need to edit the core sp code…

That would explain things! We’ll gladly wait for this to be integrated, if it does. Not that big a priority, really.

Thanks for the update!

MP Mr Papa
Mr Papa
Member

actually opened a ticket for this time, so at least its known and discussed… ;)