Forum does not appear in the iframe

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: Forum does not appear in the iframe

Re: Forum does not appear in the iframe

by mikotoiii » Wed Nov 09, 2016 1:49 pm

For the pop up, I'm sure it can be done, probably by modifying the cssmodal stuff. I personally don't turn it off.

For the redirect in the file wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php
On line 57 to 61 change

Code: Select all

wp_logout();
	
	unset($_REQUEST,$_POST,$_GET);
  
  wp_redirect( home_url() ); exit;
to

Code: Select all

wp_logout();
  $currentPage = $_SERVER['REQUEST_URI'];
	unset($_REQUEST,$_POST,$_GET);

	wp_redirect( $currentPage );
  exit;
This will cache the current page and then redirect you back to it after the logout.

Re: Forum does not appear in the iframe

by Birte » Tue Nov 08, 2016 8:29 pm

Thanks a lot!!! I changed something in the code yesterday after I posted on here for testing, that was why the link was empty so that wasn't the problem. But - I forgot the "http://" in the URL in WP Admin - completely stupid me! Now everything displays fine. :)

Now I have another question: Is there any way to disable the registration popup which appears when logging in via phpbb? I just want my users to log in via the usual phpbb login without the popup. It would also be great if after logging in or out the users would not be thrown to the WP start page but just stay on the forum page. Any way to achieve that?

I just use WP as a frame to put the forum in, so users do not really use the blog, all the action happens on the forum.

Best and thanks a lot again!
Birte

Re: Forum does not appear in the iframe

by axew3 » Mon Nov 07, 2016 10:48 pm

hello, your source code say this:

Code: Select all

<iframe style="width:100%;border:0 !important;" src=""></iframe>
there is no url to phpBB for the iframe, so nothing will be loaded into the iframe,

have you setup the URL to your phpBB, into WP Admin -> WP_w3all config page, right below path config setting?

put into the URL to your phpBB without final slash:
http://www.wikiabt3.uni-hamburg.de/phpbb
save.

p.s WP_w3all 1.5.4 has been just released to resolve (hope definitively) all avatars bugs.

Forum does not appear in the iframe

by Birte » Mon Nov 07, 2016 9:37 pm

Hey there,
I am having a problem with the iframe mode. I followed all the instructions given here: https://www.axew3.com/w3/cms-plugins-scr ... tegration/ and here: https://www.axew3.com/w3/2016/02/embed-p ... esponsive/ but still my forum won't display in the iframe. Instead there's the WP header duplicated in the iframe. You guys on here can have a look at that here: http://www.wikiabt3.uni-hamburg.de/forum/

I am pretty sure my paths are correct in the plugin - I set them to
/srv/www/htdocs/wikiabt3/phpbb (the path I use with FileZIlla to get to my files) and
www.wikiabt3.uni-hamburg.de/phpbb
... but if I am missing something here, please tell me :)

I also changed the code in my overall_header.html to point to the exact (absolute) location of iframeResizer.contentWindow.min.js (http://www.wikiabt3.uni-hamburg.de/phpb ... dow.min.js). That didn't help - I didn't really expect it to though, since that only should affect resizing, not displaying the forum.

So any ideas on wat I am doing wrong? If you need more information to diagnose the problem, please ask, I'll be glad to provide it.

Best and thanks,
Birte

Top