2.8.3 logs

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

If you wish to attach one or more files enter the details below.

Maximum filesize per attachment: 1 MiB.

Expand view Topic review: 2.8.3 logs

Re: 2.8.3 logs

by axew3 » Tue Apr 02, 2024 9:31 pm

viewtopic.php?p=6265#p6265
will be fixed the error, especially coming out on mums installs (but not only maybe), the famous:
Fatal error: Uncaught Error: Call to a member function get_results() on string ....
viewtopic.php?p=6266#p6266

Re: 2.8.3 logs

by axew3 » Tue Apr 02, 2024 7:52 pm

Fix shortcode (and page-forum) to always return the phpBB home index link as (example):

Code: Select all

https://www.mysite.com/forums/index.php
and not

Code: Select all

https://www.mysite.com/forums/
or

Code: Select all

https://www.mysite.com/forums
It seem that on many servers the lack of index.php make it fail the iframed phpBB home and the page fall into a loop on some server (the last i've seen was today)

Re: 2.8.3 logs

by axew3 » Mon Apr 01, 2024 3:36 pm

So that into the wp_w3all_heartbeat_phpbb_lastopics widget/shortcode, you cannot expect to see a post that require a privileged Group permission and that's not accessible by a Guest, even if you are a logged user that belong to that privileged phpBB Group.
After, maybe i discovered a way (in true two, but should be explored which could be better) to get results for all groups.

Re: 2.8.3 logs

by axew3 » Sun Mar 31, 2024 10:44 pm

2.8.3 will add the new
wp_w3all_heartbeat_phpbb_lastopics shortcode
that allow to get last posts/topics from phpBB and update the content, without to have to reload the WP page.
If there are new phpBB posts (and only when/if there are news, the code will be processed) the widget/shortcode post's list will be updated without any user action.

To be very efficient as it is and to not waste server resources (it's also Dos attack safe) it as been coded to get the same content for all users as Guest.
So that into the wp_w3all_heartbeat_phpbb_lastopics widget/shortcode, you cannot expect to see a post that require a privileged Group permission and that's not accessible by a Guest, even if you are a logged user that belong to that privileged phpBB Group.

This shortcode to properly work, will require to have installed into phpBB, the new updated phpBB WordPress extension, that will be soon released patched (and also fixed about a bug), just before the 2.8.3 release.

Think would be good to get also phpBB user's notifications, that contrary to the last posts Groups permissions based on user's permissions, can instead be done quite efficiently (if i am not wrong i will check).

Re: 2.8.3 logs

by axew3 » Sun Mar 31, 2024 10:03 pm

Hello, little delay on all due to Pasqua time!

No because it will be in 2.8.3 but if you wish to update the code yourself, about avatar you can easily patch opening
/wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php
file and search for this:

Code: Select all

add_filter( 'get_avatar'
there are two resulting lines,

Code: Select all

   add_filter( 'get_avatar', array( 'WP_w3all_phpbb', 'wp_w3all_phpbb_custom_avatar' ), 10 , 5  );
edit both to be

Code: Select all

   add_filter( 'get_avatar', array( 'WP_w3all_phpbb', 'wp_w3all_phpbb_custom_avatar' ), 110000 , 5  );
About login fix it has been explained above: viewtopic.php?p=6252#p6252

2.8.3 is coming very soon, and also the Short Template integration steps guide as promised!

Re: 2.8.3 logs

by DavFar » Sun Mar 31, 2024 8:26 pm

Is it available for upgrade or not yet?

Top