2.5.5 released, and coming 2.5.6 logs

User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

2.5.5 released, and coming 2.5.6 logs

Post by axew3 »

Code: Select all

== Changelog ==

= 2.5.5 =
*Release Date - 9 Feb, 2022*

* Fix: correctly remove all db options (famous 5/6 rows) when plugin uninstalled
* Fix: clean up function wp_w3all_phpbb_delete_user_signup() from not necessary code
* Add: no_avatars="1" param into shortcodes 'w3allastopics' and 'w3allastopicforumsids'. If the paramater is set and is set to 1, avatars will not display into the used shortcode, even if into the plugin admin, avatars settings have been set as active. Note that to update to this if using custom shortcodes files you have to substitute these files or this shortcode option will not affect
* Fix: 'w3allforumpost' shortcode to correctly display or not the attachment panel into rendered posts
* Add: option delete users in phpBB when deleted in WordPress. It require the 'phpBB WordPress integration common tasks extension' installed in phpBB to work as expected. It do not require to activate any option into the extension
* Note about delete users option: by default users deleted in WP are deactivated in phpBB, and it will continue to be the default behavior if option not active (and even if active: so that if the cURL will fail, and users not deleted in phpBB, users will be by the way deactivated in phpBB)
* See logs: https://www.axew3.com/w3/forums/viewtopic.php?p=5511#p5511
* phpBB extension: download and follow instructions if you wish to update to 1.0.2 (that only add the above mentioned feature about users deletion) here: https://www.axew3.com/w3/forums/viewtopic.php?f=2&t=1670
* Note: the phpBB extension will not anymore provided within the plugin. To make it more comfortable to be updated all will be ever into one single place: https://www.axew3.com/w3/forums/viewtopic.php?p=5509#p5509
* Note: the phpBB extension main page link has been added into plugin admin page
* Fix: more hints simplified (to be more clear, like about bruteforce behavior) into phpBB admin
* New: help install simplified, shortened and improved has been linked into plugin admin and the old marked as obsolete: https://www.axew3.com/w3/wordpress-phpbb-integration-install/
* More minor fixes and clean up
User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.5.5 released, and coming 2.5.6 logs

Post by axew3 »

fix page-forum.php: remove use of get_option('w3all_url_to_cms') on it, since it could not exist on new installations since 2.5.0

the page forum has been already updated/patched to fix this:
https://plugins.trac.wordpress.org/expo ... -forum.php

PS
the page-forum will be completely cleaned up on next 2.5.6.
All old obsolete code about widgets passed urls rewrite (which have been switched to be only direct and real phpBB URLs) and related vars removed.
The old page forum if not updated, will follow to work fine.
openroadsite
User w
User w
Posts: 14
Joined: Wed Sep 23, 2020 1:53 pm

Re: 2.5.5 released, and coming 2.5.6 logs

Post by openroadsite »

Thank you for supporting and updating this plugin!

I do have an issue with one of the most recent updates. Not sure if it is this one or the one before but I'm using WooCommerce and receiving a message of "syntaxerror: unexpected token < in json at position 0 woocommerce"

My last WooCommerce transaction took place back on 1/5 but with the plugin enabled I get the error above. When I deactivate it then the transactions go through without a problem.

What information can I provide to help with troubleshooting?
User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.5.5 released, and coming 2.5.6 logs

Post by axew3 »

Hello, if possible and you can see in the error stack from what of the files it come out.

And which of the options of this integration plugin do you activated?


p,s there is a problem with SSL certificate on server here how the server manage redirects.
The error that come out about certificate is something that will be soon fixed, in the while beware that also if you insert a post or something else here, and you get error, the operation has been anyway executed (post inserted).
Going to pout some htaccess line to check if it can fix the problem without waiting for solution from hosting that seem to only say:
we have found a problem ... we need more info on how to reproduce :)
may it is time to change it
User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.5.5 released, and coming 2.5.6 logs

Post by axew3 »

All about errors on SSL certificate here at axew3.com has been resolved so that the examples code now perfectly works.

Presenting
The (awesome) iframe template integration using shortcode

Notes: applied here at axew3.com, you'll see that actually, opening examples both into home or board pages examples
https://www.axew3.com/w3/board/
you'll see that by clicking into forum's links the browser's address bar loads forum and not board.
This because, the js code applied into phpBB overall_header and overall_footer points to wp page forum and not board: so the url rewrite this way.
When you'll click into an iframe link the url on browser being rewrite so if you'll refresh the browser you'll be on /forum page.
I will check for the trick to make it work without changing nothing, and so to let answer the js code in the right way.

About space gaps, each shortcode can apply his own.

So to have a correct iframed phpBB that will return same urls on address bar when iframe links clicked, you have to set phpBB js added code, pointing to the page where the shortcode applied
(so https://www.axew3.com/w3/board in the case of board wp page where this shortcode reside).
(Pierre, i sent you a pm and linked the files, but you didn't seen (i assume due to server's problems the site had). It have been now removed, but as you'll be in touch, files will be re-added into this post: viewtopic.php?f=22&t=1697

iframe-phpbb-shortcode-option.png
iframe-phpbb-shortcode-option.png (56.49 KiB) Viewed 1016 times
User avatar
axew3
w3all User
w3all User
Posts: 2689
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: 2.5.5 released, and coming 2.5.6 logs

Post by axew3 »

the rewrite URL switch problem for each shortcode that can be used in several pages/post
has been resolved adding a param wp_page_name

This will be the shortcode home page
https://www.axew3.com/w3/2022/02/the-aw ... shortcode/

check https://www.axew3.com/w3/board/ that now correctly rewrite/push page url into address bar
Locked