Page 1 of 1

registration in phpBB and Wordpress at same time

Posted: Mon Dec 13, 2021 2:27 am
by jmcgeever
I am trying to follow the instructions:
viewtopic.php?f=2&t=835

I don't understand what "http://192.168.1.5/wordpress". Is it:
1. http://www.domain.com
2. http://www.domain.com/wordpress
3. http://www.domain.com/forums (the url showing the forum)
4. http://www.domain.com/login
5. other?

Re: registration in phpBB and Wordpress at same time

Posted: Mon Dec 13, 2021 9:12 pm
by axew3
Hello!

Code: Select all

$wordpress_url = 'http://192.168.1.5/wordpress'
any valid url, that also can be an IP (like i was doing into my localhost tests).
You just need to put the url that point to wordpress (any it is) so

Code: Select all

http://localhost/wordpress
if wordpress is into a subfolder /wordpress on your localhost
or

Code: Select all

https://mydomain.com
if wordpress is on root at mydomain.com etc

Re: registration in phpBB and Wordpress at same time

Posted: Wed Dec 15, 2021 6:34 pm
by axew3
All the old code about this will be removed on 2.4.5.
To get the user addition into WordPress at same time, will be just required to install the
phpBB WordPress Integration Common Tasks extension:
viewtopic.php?f=2&t=1634
that will be updated to accomplish with this (at date of this post still do not contain this part) at same time when 2.4.5 released.
The code will use cUrl->post behind the scene to easily perform the task.

Re: registration in phpBB and Wordpress at same time

Posted: Thu Dec 16, 2021 11:12 pm
by jmcgeever
Excellent! Thank you. We look forward to the upgrade.
I did not understand your answer as I am not a coder. But I tried option 1 and it appears to work.