Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted February 21Feb 21 I need to edit the HTML of posts at times, regularly.I cannot find where to turn this on in the ACP.Under Customization --> Editor, there is no longer the option to add / remove buttons. At least I don't see it.Thanks
February 21Feb 21 All of that is gone. You can't edit anymore the HTML source directly nor you can set group/area permissions for each single editor button in v5.As for editing the HTML, you can use this modification as a workaround: https://invisiondevs.com/files/file/76-edit-html-of-posts/
February 21Feb 21 2 hours ago, teraßyte said:All of that is gone. You can't edit anymore the HTML source directly nor you can set group/area permissions for each single editor button in v5.As for editing the HTML, you can use this modification as a workaround: https://invisiondevs.com/files/file/76-edit-html-of-posts/Link no work here !
February 21Feb 21 Author 9 hours ago, teraßyte said:All of that is gone. You can't edit anymore the HTML source directly nor you can set group/area permissions for each single editor button in v5.Thanks, this is very disappointing. I'll need to access the database a lot more now. Some of the posts will be a huge pain to edit.One thing I liked it for, every now and then I post an iframe embed, now I can't. I'll have to create the post, edit the database, and then it will show.IPS, please add this back.
February 21Feb 21 10 minutes ago, Square Wheels said:Thanks, this is very disappointing. I'll need to access the database a lot more now. Some of the posts will be a huge pain to edit.One thing I liked it for, every now and then I post an iframe embed, now I can't. I'll have to create the post, edit the database, and then it will show.IPS, please add this back.I would absolutely not recommend ever editing the database to make these changes. Not only can you break your site, but you will also likely lose them every time you edit the post. The first question you should always ask yourself with these kinds of things is "What is the correct way to do this?" rather than immediately jumping to edit the database, assuming that is the only method. If you take a look at 'System->Settings->Posting & Editor->embeds', you will see 'Allow links to be converted to iframes?'. See, if you can achieve what you need to achieve there.
February 21Feb 21 Author Just now, Marc said:I would absolutely not recommend ever editing the database to make these changes. Not only can you break your site, but you will also likely lose them every time you edit the post.The first question you should always ask yourself with these kinds of things is "What is the correct way to do this?" rather than immediately jumping to edit the database, assuming that is the only method.If you take a look at 'System->Settings->Posting & Editor->embeds', you will see 'Allow links to be converted to iframes?'. See, if you can achieve what you need to achieve there.Thank you, that will be helpful for iframes.What about when someone copies and pastes something with lots of background color and is unreadable? One of my sites is for lab workers. Some of them are older and not comfortable with computers. They'll past items that I need to clean up the background colors on (just an example).Here's an example. I searched for what is HTML, I'd prefer the part in green is not highlighted, can I edit that?ThanksAI OverviewLearn moreHypertext Markup Language (HTML) is a code that defines the structure and meaning of content on a web page. It's a fundamental building block of the web. How does HTML work?HTML uses markup to structure content like paragraphs, lists, images, and tables Markup is inserted into a file using special codes, or elements, between the characters < and > Elements can come in pairs to indicate when to start and stop a display effect HTML also includes anchor tags that allow users to link pages together Who created HTML? Physicist Tim Berners-Lee proposed and prototyped a system for CERN researchers to share documents in 1980In 1989, Berners-Lee wrote a memo proposing an Internet-based hypertext systemBerners-Lee and Robert Cailliau collaborated on a joint request for funding in 1990HTML versionsEarly versions of HTML were static, while newer versions are more dynamic HTML5 is the latest version of the HTML specification Other web technologiesOther technologies, like CSS and JavaScript, are used to describe a web page's appearance and functionality.
February 21Feb 21 7 hours ago, Marco Junior said:Link no work here !The link still works for me. You might have some kind of block for that site/IP. 🙄34 minutes ago, Square Wheels said:Thanks, this is very disappointing. I'll need to access the database a lot more now. Some of the posts will be a huge pain to edit.One thing I liked it for, every now and then I post an iframe embed, now I can't. I'll have to create the post, edit the database, and then it will show.IPS, please add this back.Iframe embeds can still be added. This was actually part of the feedback in the initial alpha testing. 😋1 minute ago, Square Wheels said:What about when someone copies and pastes something with lots of background color and is unreadable? One of my sites is for lab workers. Some of them are older and not comfortable with computers. They'll past items that I need to clean up the background colors on (just an example).Here's an example. I searched for what is HTML, I'd prefer the part in green is not highlighted, can I edit that?You can select the text and use the Clear Formatting button in the editor. I just quoted your text and used it in the quote below so you can see the result.1 minute ago, Square Wheels said:Hypertext Markup Language (HTML) is a code that defines the structure and meaning of content on a web page. It's a fundamental building block of the web.
February 21Feb 21 Author OK, I tested an iframe embed, I suspect I'm doing it wrong.When I first pasted the text, the editor disappeared. I refreshed the page, the editor came back, the text I pasted was there, but when I submitted it, it did not insert the iframe.https://www.awesomescreenshot.com/video/36869252?key=f0772f40cc60b22056cf47de09509cbd
February 21Feb 21 Could I confirm how you are adding it? You should be using the link button to do this. Check out the video herehttps://invisioncommunity.com/news/invision-community/invision-community-5-editor-permissions-and-custom-embeds-r1303/
February 21Feb 21 Author 56 minutes ago, Marc said:Could I confirm how you are adding it? You should be using the link button to do this. Check out the video herehttps://invisioncommunity.com/news/invision-community/invision-community-5-editor-permissions-and-custom-embeds-r1303/I believe the settings I have are correct.I white-listed https://www.w3schools.comI tried both this: <iframe src="https://www.w3schools.com" title="W3Schools Free Online Web Tutorials"></iframe>and this https://www.w3schools.com.Neither time did I see the little Globe icon like in the video.
February 21Feb 21 You need to add the iframe allowance in the area mentioned, but then you also need to give yourself permissions on the next tab, as mentioned in the description of that item. Once that is then do, you would add it by adding th link using the link icon, and would then see the globe to embed it. You wont see the globe unless it both fits what you have added as an allowed embed, and you have permissions to embed
February 21Feb 21 Author 5 minutes ago, Marc said:You need to add the iframe allowance in the area mentioned, but then you also need to give yourself permissions on the next tab, as mentioned in the description of that item. Once that is then do, you would add it by adding th link using the link icon, and would then see the globe to embed it. You wont see the globe unless it both fits what you have added as an allowed embed, and you have permissions to embedHere are my editor permissionsHere is what Embeds looks likeHere are the permissionsI'm sure it's user error, please offer more pointers. :)
February 21Feb 21 53 minutes ago, Square Wheels said:Here are my editor permissionsHere is what Embeds looks likeHere are the permissionsI'm sure it's user error, please offer more pointers. :)That looks correct except you don't need the https:// as that's the protocol and only secure URLs for custom iframes are supported. www.w3schools.com should work fine
February 21Feb 21 Author Thanks.Adding just the url did not show the globe.adding the text and url just embed the link.still not sure how to embed an iframe.
February 21Feb 21 Ah, sorry, you need https:// in the link panel, I meant you don't need it in the AdminCP Domain Whitelist
February 21Feb 21 Author 3 minutes ago, Matt Finger said:Ah, sorry, you need https:// in the link panel, I meant you don't need it in the AdminCP Domain WhitelistGetting closer, I can get the globe now, but it doesn't embed.https://www.awesomescreenshot.com/video/36876202?key=1902f689fa376c3eaf03e81d4642ee39
February 21Feb 21 1 minute ago, Square Wheels said:Getting closer, I can get the globe now, but it doesn't embed.https://www.awesomescreenshot.com/video/36876202?key=1902f689fa376c3eaf03e81d4642ee39Hmm, ok. I can reproduce the issue in your recording there, but it works if there's an actual link... e.g. if you add text to the text fieldScreen Recording 2025-02-21 at 11.29.19 AM.mp4
February 21Feb 21 Author 3 hours ago, Matt Finger said:Hmm, ok. I can reproduce the issue in your recording there, but it works if there's an actual link... e.g. if you add text to the text field <span class="ipsAttachLink_box"><span class="ipsAttachLink_title">Screen Recording 2025-02-21 at 11.29.19 AM.mp4</span><span class="ipsAttachLink_metaInfo"> <span>4.06 MB</span> <span>·</span> <span>0 downloads</span></span></span>Closer, but it shows up as a white box, not a webpage.
February 21Feb 21 Well, in the case of W3 Schools, it looks like it cannot be embedded due to the frame ancestors policy they set.Have you tried using a domain and URL that you have embedded as an iframe elsewhere?
February 21Feb 21 Author 6 minutes ago, Matt Finger said:Well, in the case of W3 Schools, it looks like it cannot be embedded due to the frame ancestors policy they set.Have you tried using a domain and URL that you have embedded as an iframe elsewhere?I don't know of one off the top of my head.Here's a typical post I might embed, it's from facebook.<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fjeff.sharrock%2Fposts%2Fpfbid02uidh7PvHb6Etqve15NLeGJLSd5AEysMHJB7oqLjn5E8k24xDAwqnKVJrPDR7uAWcl&show_text=true&width=500" width="500" height="686" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe>If I edit the actual HTML, it posts. If I type in the whole link above, I do not get the globe.6 minutes ago, Matt Finger said:Well, in the case of W3 Schools, it looks like it cannot be embedded due to the frame ancestors policy they set.Have you tried using a domain and URL that you have embedded as an iframe elsewhere?I don't know of one off the top of my head.Here's a typical post I might embed, it's from facebook.<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fjeff.sharrock%2Fposts%2Fpfbid02uidh7PvHb6Etqve15NLeGJLSd5AEysMHJB7oqLjn5E8k24xDAwqnKVJrPDR7uAWcl&show_text=true&width=500" width="500" height="686" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe>If I edit the actual HTML, it posts. If I type in the whole link above, I do not get the globe.
February 21Feb 21 1 minute ago, Square Wheels said:If I edit the actual HTML, it posts. If I type in the whole link above, I do not get the globe.4 hours ago, Square Wheels said:Here is what Embeds looks likeThat would be because facebook.com is not whitelisted in the AdminCP "Allowed Domain Patterns" setting. While you're testing and getting used to it, you can just add a domain pattern that is just * to allow any secure URL to become an iframe, however we'd generally recommend people don't for security
February 21Feb 21 Author I added the *, I tried one of my sites, https://www.pathlabtalk.com/forum/, still a white box.I think I need to give up for a while. The site runs, it's just not anywhere near what it used to be.v5 has been very frustrating. Many things moved for no apparent reason, many things were removed, also for no apparent reason. Apps for v4 won't work, understandably, but now it's really hard trying to find the prior authors to see if they are going to update their apps, some tell me they can't because it's no longer possible, or too hard, in v5.This has not been a positive experience.
February 25Feb 25 Can someone explains with an example how Embed works ? Even with all settings on , I cannot get it to work
February 26Feb 26 10 hours ago, ntxpla said:Can someone explains with an example how Embed works ? Even with all settings on , I cannot get it to workCould you show me what you have added? I can then use that example for you