Ich nutze Wordpress und als Externes Forum Phpbb, ich möchte nun bei Wordpress ein Iframe des Forums einbauen.
Beispiel:
Ich habe ein Button "Registrieren" die Seite öffnet sich bei Wordpress und der Iframe des Forums öffnet sich für die Registrierung. Soweit so gut!!!

Es soll aber wärend des Registriervorgangs der header und fooder von phpbb Forum nicht im Iframe angezeigt werden... Das bekomm ich leider nicht hin

hier mein Code in der Wordpress Seite:
Code: Alles auswählen
<iframe name='iframe1' id="iframe1" src="https://MEINEHOMEPAGE/Forum/ucp.php?mode=register"
width="100%" height="1000" frameborder="no" scrolling="yes"
onload='javascript:resizeIframe(this);>
if( window.location !== window.parent.location )
{
document.getElementById('phpbb-footer').style.display = 'none';
document.getElementById('phpbb-header').style.display = 'none';
}
</script>
</iframe>
gruß VBHunter