• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Add "iframe" into a topic

Betclever

Active member
#5
@Brogan

Not to miss respect to you but what can I do with this tuto?

I'm not a dev. If I ask help, it's to avoid this!
This tuto is chinese for newbie like me.

pffffff
 

Betclever

Active member
#6
@Mike

I have checked the link above but it is chinese for me.
What must I write in these cases?

I only have a Iframe code...
I understand what I can add as title and description but for html replacement and the other options are chinese for a newbie like me...

How can I put this Iframe code with the functionn BBcode?

Thanks.
 

Mike

XenForo developer
Staff member
#7
Create the BB code with whatever tag name (let's call it "espn") and title you want. Enter the HTML you want to see in the HTML replacement box. Enable the "Display HTML replacement when empty" option.

Then in the post enter:
Code:
[espn][/espn]
Your iframe should appear.
 

Mike

XenForo developer
Staff member
#9
With that regex, you probably want:
#^https?://#i

However, that may not be the issue. Can you provide a link where the BB code was used and show what you typed in the post?
 

Mike

XenForo developer
Staff member
#11
It won't show anything to users that they can't see -- you're seeing things because it's loading the page in your admin context; if another user loads the iframe, they'll see it in their context.

Unfortunately, I do really need to see it in place to confirm what's going on.