Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter ldblake

    (@ldblake)

    Afterthought … an option to disable the back end login dialog would also be nice.

    Thread Starter ldblake

    (@ldblake)

    Hey, just stopped by to say thanks again for the help. I finally solved the problem the easy way… I used the Asgaros Forum plugin. It’s not as modern or as nice as the Vanilla one but it worked the first time.

    I never did solve the original problem of having the iframe recognize the height of the screen.

    I guess it’s true … some days you gets the bear, some days the bear gets you.

    Thread Starter ldblake

    (@ldblake)

    Thanks guys… very much appreciated. I’ll let you know how this all turns out.

    Thread Starter ldblake

    (@ldblake)

    Thank you Xenos. I don’t know if we’re saying the same thing or not… The iframe will take the height of it’s content if it is less than the visible area of the page. Otherwise it seems to take the height of the page. WordPress manages that for us. At least in the News theme I’m experimenting with the height of a 1 line page is about 3 inches.

    In this case the height of the content could run into thousands of lines as people open pages and read through longish lists of comments… and that can change within the application itself. I don’t mind if there’s a scroll bar on the embedded page, so long as there aren’t two of them.

    Picture your typical theme… widgets on the right, with an open area that spans from the bottom of the menu to the bottom of the screen and from the left window frame to the border of the widgets area… What I need is for the embedded application to take up that entire client area.

    It wold also help if it could trigger WordPress to expand down past the bottom of the screen as it does on longer text files, in step with the application’s height. But that can change from moment to moment … For example: viewing the profile page occupies a lot less geography than viewing a list of all messages.

    I’m using the Vanilla Forums application in self-hosted mode (not the online one) and it includes a provision for embedding… all the window dressing disappears and all you see is the forum content. So no worries about it not looking like wordpress… it’s just the issue of getting it to seamlessly fit into that available page area in WordPress.

    I have done some searching for code snippets to make this work and did try a couple in the page itself. One of two things happens… either it only discovers the height of the page it’s in (usually around 3 inches) or I end up with two scroll bars.

    I’m not very familiar with PHP, JS or CSS at this point, although I’ve done some windows programming in the past.

    Thread Starter ldblake

    (@ldblake)

    Just a thought … this might be a good idea for the plugin writers… Create a dummy page the exact size of the visible page area and embed the application.

    The one you pointed me to seems to be focused on videos and probably has WP’s whitelist active when embedding. I’ll let you know how that turns out…

    Thread Starter ldblake

    (@ldblake)

    I tried making it look like wordpress (which was actually easy in this case) but then you run into navigation problems. Once you are outside of wordpress, you loose the menu bar and the application doesn’t provide a means of easily re-entering my WP site, so the user ends up stranded in the forums.

    Thank you for the tip on the plugin … I will investigate that this afternoon.

    To show you the problem take any external “full screen” application, even good old notepad, and embed it into an empty page with only the iframe line at the top.

    <iframe width=100% height=100% src="https://www.localhost/forum"></iframe>

    Will result in the application covering the correct width but it will only be about 3 inches tall… the default height of a one line page. I tried cheating and setting the height to 5000 and it worked, more or less… but then I had two scroll bars, one in the application and the other in word press.

    Thread Starter ldblake

    (@ldblake)

    I tried the iframe method. The problem is that it’s a one line page and the forum embeds at about an inch tall. I need it to cover the entire space from the side of the screen to the widgets on the other side, from the top menu to the bottom menu the way text pages do. That is… it should look like an actual part of the theme.

    I haven’t tried a custom page template, I will look into that.

    Still one might reasonably expect WordPress to provide for this kind of embedding. Back in the good old days before CMS and HTML5 we did this using a frameset with one of the frames being used for the site banner and menu bar… but they killed that. Chrome won’t even display old-school frames anymore.

Viewing 7 replies - 1 through 7 (of 7 total)