by axew3 » Fri Mar 29, 2024 10:19 am
Little delay, sorry i had to finish with the phpBB updates into WP without to reload the WP page.
I will log opening a new topic, this new(?) way to integrate things, and future coming features.
It is amazing to see that if a new post/topic has been inserted by someone into phpBB (i test it doing a post into another tab) it is after seconds updated also into the WP last topics wordpress widget, onto the other tab, without to have to reload the page.
It works using cookies/js/php (and the WP heartbeat hook, which could be also be easily not used), and a little trick to not waste resources, so that the call to get updates into phpBB that happen in the background, is done only and if, there are new posts/topics, and not if there are not.
I will explain the automation of the process and how it has been coded asap.
While the fast procedure to be up and running with the iframe by shortcode template integration is coming!
Little delay, sorry i had to finish with the phpBB updates into WP without to reload the WP page.
I will log opening a new topic, this new(?) way to integrate things, and future coming features.
It is amazing to see that if a new post/topic has been inserted by someone into phpBB (i test it doing a post into another tab) it is after seconds updated also into the WP last topics wordpress widget, onto the other tab, without to have to reload the page.
It works using cookies/js/php (and the WP heartbeat hook, which could be also be easily not used), and a little trick to not waste resources, so that the call to get updates into phpBB that happen in the background, is done only and if, there are new posts/topics, and not if there are not.
I will explain the automation of the process and how it has been coded asap.
While the fast procedure to be up and running with the iframe by shortcode template integration is coming!