Hello!
I have a certain solution in mind where I am able to run a membership site on Wordpress using one of many popular plugins, and also get the phpBB-board behind the paywall. I have recently been running the bbPress-plugin for WP, but it's just not cutting it. The functionality is severely limited as a community board.
My thought is the following:
1. Install Wordpress on the main domain
2. Install phpBB on subdomain forum.domain.tld
3. Install WP-plugin WP w3all phpBB to sync users and data
4. Use your plugin to display the forum as iFrame on the page domain.tld/forum/
5. domain.tld/forum/ is protected by membership status
Now the question is: how can I stop people from accessing the forum directly through forum.domain.tld, but still make it visible on domain.tld/forum/?
Some more questions:
1. About moderators: If I make some users moderators in phpBB, will they automatically become editors in Wordpress?
2. What if I only want all users to be subscribers, and only myself to me administrator in Wordpress?
3. Using a membership plugin, it is possible to add users to different user types in Wordpress depending on the type of membership they choose. Is it possible to sync these groups to user groups of my own choosing in phpBB? So different types of membership will give you different permissions in phpBB?
Thank you for this amazing plugin and support!
How to run phpBB behind payment wall in Wordpress?
-
- Posts: 1
- Joined: Tue Aug 06, 2019 7:12 am
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: How to run phpBB behind payment wall in Wordpress?
Hello! Thank for appreciations! Please report if you found any bug!
https://www.axew3.com/w3/2018/12/phpbb- ... iframe-v3/
follow instructions and after, apply the last step where:
If you want phpBB email notification links
or any phpBB direct url to be redirected to wp iframed forum page using pure javascript, follow this step:.
That is via javascript. There are also ways using some line on htaccess, but may can be reserved for more restrictive scenario where security and some more stuff need to be accomplished. I assume the js way will be sufficient.
An user is added into wordpress as editor, if moderator in phpBB, but after if you change his rules/capabilities into wp or phpBB you can' expect it is also updated/changed into wp or phpBB: you have to do this manually.
Answer is yes if they are moderators in phpBB at the time they are added while transferred via the transfer option if you use it, and/or
if they are moderators in phpBB and then will login with their account into wordpress the very first time, or when the first time, as logged into phpBB will visits the wp side, then added on fly: in this case yes, they will be added into wordpress as editors if moderators.
Substantially, the user is added in wordpress with capabilities as explained into install steps, (moderator -> editor etc), when added into wordpress the first time, but if after you update an user to another role, in phpBB or wordpress, this will not update the user to the same in wp or phpBB.
By the way, normally, after integration started, when an user register, substantially, it's assumed that he is a simple registered user and not an admin or moderator. So it will be added as subscriber into wordpress if running in iframe mode, or you force user to login via wordpress, or you apply the code to force redirect in wordpress after login (this is also explained on documentation, inline on plugin admin, and on the installation help page).
Using javascript code v3 for iframe here:how can I stop people from accessing the forum directly through forum.domain.tld, but still make it visible on domain.tld/forum/?
https://www.axew3.com/w3/2018/12/phpbb- ... iframe-v3/
follow instructions and after, apply the last step where:
If you want phpBB email notification links
or any phpBB direct url to be redirected to wp iframed forum page using pure javascript, follow this step:.
That is via javascript. There are also ways using some line on htaccess, but may can be reserved for more restrictive scenario where security and some more stuff need to be accomplished. I assume the js way will be sufficient.
The integration under this aspect has been coded intentionally without linking.About moderators: If I make some users moderators in phpBB, will they automatically become editors in Wordpress?
An user is added into wordpress as editor, if moderator in phpBB, but after if you change his rules/capabilities into wp or phpBB you can' expect it is also updated/changed into wp or phpBB: you have to do this manually.
Answer is yes if they are moderators in phpBB at the time they are added while transferred via the transfer option if you use it, and/or
if they are moderators in phpBB and then will login with their account into wordpress the very first time, or when the first time, as logged into phpBB will visits the wp side, then added on fly: in this case yes, they will be added into wordpress as editors if moderators.
Substantially, the user is added in wordpress with capabilities as explained into install steps, (moderator -> editor etc), when added into wordpress the first time, but if after you update an user to another role, in phpBB or wordpress, this will not update the user to the same in wp or phpBB.
The code can be easily modified and this could be also an easy option to add. I grab the suggestion and may will be added into 1.9.9.What if I only want all users to be subscribers, and only myself to me administrator in Wordpress?
By the way, normally, after integration started, when an user register, substantially, it's assumed that he is a simple registered user and not an admin or moderator. So it will be added as subscriber into wordpress if running in iframe mode, or you force user to login via wordpress, or you apply the code to force redirect in wordpress after login (this is also explained on documentation, inline on plugin admin, and on the installation help page).
This unfortunately, require for each plugin a different code in case, even if the part that will add into phpBB with a specified role can be always the same. May let know which plugin you think to use3. Using a membership plugin, it is possible to add users to different user types in Wordpress depending on the type of membership they choose. Is it possible to sync these groups to user groups of my own choosing in phpBB? So different types of membership will give you different permissions in phpBB?