PHPBB Add User Automatically When They Sign-up on the Main Website

265 Views Asked by At

I have a website that requires login and I've installed PHPBB to a subdomain. I want users to automatically register to the PHPBB forum when they register to the main page and I need to give them access to only specific forums so I need to give them forum permissions based on their choices on the register page. How can I achieve this?

I've tried sending requests to ACP Add User Plugin using cURL but it requires tokens so after some time token expires and I can't send any more requests.

1

There are 1 best solutions below

0
Misunderstood On

When you use your Browser to get the key, go into the developer tools, network tab, select the first http request, right click and choose copy as curl.

I would NEVER install Chrome on my PC. So here is a Firefox example.

Developer Tools cop curl

Then go to Convert curl commands to PHP

And paste in the curl copied from your Browser.

So now you can go get a new token when ever you need a new one.