inherit
257802
0
Feb 21, 2019 6:28:15 GMT -8
agsteele
2
February 2019
agsteele
|
Post by agsteele on Feb 20, 2019 8:18:57 GMT -8
Forum URL: northumbriacommunity.boards.netWe have recently completed a move from a phpBB Board to Proboards and got most things working as we would want them. One function that we were able to create in phpBB using some BBCode etc was the ability to embed a small web page into a post. Each page consists of an image with some dynamic text overlaid on top of the background image. I've not managed to work out how to do this in Proboards but presume it would need a plugin. In phpBB we created a new rule which read: [rule]{SIMPLETEXT}[/rule] We then added the following text as a replacement to insert the page into a post as an iframe thus: <iframe src="https://www.cnet.org/ncomm_rule/display.html#page{SIMPLETEXT}" width="100%" height="450" border="0"></iframe> We could then type (for example): [rule]24[/rule] This would display the background image with the text for week 24 in the year inside the post. The plugin stuff on Proboards seems to be rather more sophisticated and I'm struggling to work how this could be done or, indeed, whether there is a plugin already available that would do this. If someone has already done the work then I apologise for incompetent searching but so far I've not been able to find it. Any suggestions for a beginner in Proboard plugins gratefully received. Andrew
|
|
inherit
257802
0
Feb 21, 2019 6:28:15 GMT -8
agsteele
2
February 2019
agsteele
|
Post by agsteele on Feb 21, 2019 6:28:15 GMT -8
Good news! I found a way of delivering what I needed using the BBCode Factory plugin. I copied the installed dohtml code and edited to explicitly use the URL and take the tag content. Probably not the tidiest solution but it works and I now have something to work with and tidy up.
|
|
inherit
246669
0
Jan 2, 2023 13:25:26 GMT -8
Philip
97
July 2017
phil82
|
Post by Philip on Feb 21, 2019 16:02:28 GMT -8
I'm not sure where your plugin would fall within the guidelines, as far as I can tell you should be ok, maybe clarification is needed on this.
|
|
#eb7100
33409
0
1
Nov 24, 2024 4:27:37 GMT -8
Brian
48,130
November 2004
smashmaster3
|
Post by Brian on Feb 21, 2019 16:57:24 GMT -8
I'm not sure where your plugin would fall within the guidelines, as far as I can tell you should be ok, maybe clarification is needed on this.
It's perfectly acceptable to use iframes in plugins or codes. You just can't do something like make that iframe target another page on your forum since you'd be loading two pages of the forum at once every time you visited the page containing the iframe, causing extra load on our service.
|
|
inherit
267040
0
Sept 28, 2024 11:06:02 GMT -8
jacksonvillebeaches
5
October 2022
jacksonvillebeaches
|
Post by jacksonvillebeaches on Dec 27, 2023 16:15:41 GMT -8
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Dec 28, 2023 19:02:47 GMT -8
The composition of a forum post employs BBCode which has no built-in feature to allow embedding entire websites within a post. The security implications of freely allowing such a thing would defeat the very purpose of BBCode itself which is to provide a safe subset of HTML that can be used to construct content. If you wish to provide a map for your members you can always add it to any area that accepts full HTML such as headers/footers, a custom page or theme template. This ensures that you, as the administrator, get final control over which content is placed on the forum that might be a security risk to your members. The thinking is you, as the gatekeeper, would have a vested interest in keeping your forum and its members safe as opposed to some unknown player just joining up, seeing they have the power to insert anything they want into a post and do so to infect as many people as they can. Code for areas that accept HTML |
|
<iframe allowfullscreen="true" sandbox="allow-same-origin allow-scripts" style="width:100%;min-height:400px;" src="https://viewer.mapme.com/jacksonvillebeachesinfo"></iframe> If it is indeed critical that the resource be embedded directly inside a post, then a plugin such as View in Post can help by adhering to that same security principle of giving you, the administrator, ultimate approval of the content that will be considered embeddable. Your members can use any of the domains that you have created via the plugin to embed iframes containing those resources directly into posts. Suggested settings for the plugin |
|
Host: viewer.mapme.comPath: jacksonvillebeachesinfoQuery:Permissions:- allow-same-origin
- allow-scripts
Inline Style: width:100%;min-height:400px;
|
|