2.8.5 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.5 logs

Re: 2.8.5 logs

by axew3 » Wed Jun 12, 2024 12:40 pm

Template integration
Time to switch to the NEW! v5 iframe resizer lib for the template integration

https://iframe-resizer.com/

assuming to not want to broke things for those who installed the old version of the template integration,
it remain to make it very easy to switch to, but activating a specific temporary option that will be so removed, on some plugin future version.

The phpBB wordpress, phpBB extension, will provide an option on ACP so to get phpBB iframe integrated, without having to edit any phpBB file.
It will work into any phpBB template.
phpBB-Wp-templateIntegration.jpg
phpBB-Wp-templateIntegration.jpg (36.78 KiB) Viewed 87 times

Re: 2.8.5 logs

by axew3 » Sun Jun 02, 2024 9:12 pm

Clean up private static function phpBB_user_session_set($wp_user_data){
on file /wp-content/plugins/wp-w3all-phpbb-integration/class.wp.w3all-phpbb.php

Re: 2.8.5 logs

by axew3 » Tue May 21, 2024 9:56 am

fix
/wp-content/plugins/wp-w3all-phpbb-integration/views/wp_w3all_phpbb_iframe_short.php
to correctly load the phpBB page at the right address when accessed from an external request.

Re: 2.8.5 logs

by axew3 » Tue May 14, 2024 8:36 pm

Block widget last topics:
add default (and same) classes, like it is for the default native Gutenberg WordPress Last posts block widget, into files
/views/phpbb_last_topics_output_shortcode.php
and
/views/phpbb_last_topics.php
so the default become

Code: Select all

$w3all_lastopics_style_ul_class = 'w3all_ul_widgetLastTopics wp-block-latest-posts__list has-dates has-author wp-block-latest-posts';
and related html divs elements for the post time and author,
so the get the same exact rendered result on blocks widgets built with Gutenberg.

Re: 2.8.5 logs

by axew3 » Tue May 07, 2024 8:11 am

Front end plugins login pages:
private static function phpBB_user_session_set($wp_user_data){
code

Code: Select all

   if ( !defined( 'WP_ADMIN' ) && class_exists( 'UM' ) ){
    header("Refresh:0"); exit;
   }
become

Code: Select all

   if ( !defined( 'WP_ADMIN' ) ){
    header("Refresh:0"); exit;
   }
that will refresh the page anyway when the session has been released, but the presented page, still could be a login page where the user appear to be not logged (but in true it is).

2.8.5 logs

by axew3 » Sat Apr 27, 2024 1:28 pm

Fix wp_w3all.php function wp_w3all_phpbb_iframe_shortif()
and
public static function w3all_ck_if_onpage($pages='',$shortIndex='') on file class.wp.w3all-phpbb.php
to correctly detect if we are on the homepage, so to run shortcodes, when on urls requests like

Code: Select all

https://mysite/mywp/?fbclid=IwZXh0bgNhZW0CMTEAAR3
that come out for example, when the request is from an external site that append some var (facebook in this example).

Top