by axew3 » Fri May 27, 2022 8:23 am
1) Optimize/remove some line of redundant and repetitive code in some function
2) Fix (again) the online widget query, to retrieve the correct number of users online
3) Fix the fact, that if the resulting array of online users is empty, (no guests and no registered) the related widget do not display at all, due to this line of code, into
/wp-w3all-phpbb-integration/class.wp.w3all.widgets-phpbb.php:
Code: Select all
if(empty($phpbb_online_udata)){ return; }
that has been removed
report bugs if you find any!
ps:
not tested but 2.6.3 should be (as it was the code before 2.6<) compatible from Php 5.6, until last Php 8>
1) Optimize/remove some line of redundant and repetitive code in some function
2) Fix (again) the online widget query, to retrieve the correct number of users online
3) Fix the fact, that if the resulting array of online users is empty, (no guests and no registered) the related widget do not display at all, due to this line of code, into [i]/wp-w3all-phpbb-integration/class.wp.w3all.widgets-phpbb.php[/i]:
[code]if(empty($phpbb_online_udata)){ return; }[/code]
that has been removed
report bugs if you find any!
ps: [b][size=120]not tested but 2.6.3 should be (as it was the code before 2.6<) compatible from Php 5.6, until last Php 8>[/size][/b]