phpBB Permissions?

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: phpBB Permissions?

Re: phpBB Permissions?

by BernieG » Thu Feb 07, 2019 9:35 pm

Excellent!

Re: phpBB Permissions?

by axew3 » Thu Feb 07, 2019 4:51 pm

Hi there! Nice!
I'm lately missing the situation here! New plugin release coming soon!

Re: phpBB Permissions?

by BernieG » Sun Feb 03, 2019 5:37 pm

Finally, proble solved!

Well, as I was cleaning my plugins, and having some problems with that, I had to disable them all, and re-add them one by one. That's how I discovered the problem was due to the Autoptimize plugin! With it disabled, the iFrame started working as it should!

And now I understand whay it was working when I was logged in: the cache was not active for me!

I am happy to have this working now, thanks!

Re: phpBB Permissions?

by BernieG » Sun Feb 03, 2019 3:16 pm

Thanks for your help.

I made sure to have the modifications made to all styles I use.

I have now a better understanding about WHEN the iFrame does not resize. It's ONLY when not logged in WordPress. If logged in Wordpress, whith ANY identity, even if logged out from phpBB itself, it display at it should. If logged out from WordPress, even if logged in phpBB, it does not resize.

To be sure it had nothing to do with my WP theme, I changed it, and it still does the same. Any idea what I could do to get the iFrame to resize properly even when not logged in WordPress? Would love to solve this!

Thanks,
Bernard

PS - You are talking about having a default style for a group. I don't see how this is done. I assigned the default style to prosilver, but it looks like this is for everybody (who would not have made a different choice)

Re: phpBB Permissions?

by axew3 » Fri Feb 01, 2019 6:05 pm

in the case it is guest the iframe not resize, may because the Guest Group not use the template where you added the overall_footer/header.html js code?
While testing, leave recompile stale templates ON and switch to OFF when finished.

To test out without a reload to the iframe mode, so access phpBB via direct url without being redirected to wp iframed page, just comment out this line on overall_header.html code:

Code: Select all

// document.location.replace(href0);
but could be done also via uid or username using phpBB template vars, it is possible to exclude only some user (may admins) to be forced to iframe, when phpBB accessed via direct url.
Just an hint.

Re: phpBB Permissions?

by BernieG » Fri Feb 01, 2019 5:46 pm

yes, it took me a while, but finally got it. There is still something with the plugin/iFrame, though.

To better understand and try, I started by commenting out the scripts in overall_footer and overall_header. I changed permissions, tested, to make it work for all groups I wanted it to.

Once that was working as expected, I un-commented the scripts back. So far, so good. Problem is that, it still does not work for "guest", that is, if I am not logged with some identity in WordPress. If I login to WordPress, everything works as expected.
Attachments
Logged in
Logged in
Working_Forum.png (63.01 KiB) Viewed 13111 times
Not Logged in
Not Logged in
NoLuck-Forums - Le Bear CNC & 3D.png (103.97 KiB) Viewed 13111 times

Top