I have w3all configured to link to my phpBB. That all seems in order (e.g., I can properly run things like the w3all check Tools).
However, none of the w3all shortcodes I try to use are working? (but were previously fine...)
HAs something changed I'm not aware of?
[TITLE EDITED]
2.9.7 - Short Codes Stopped Working in "not link phpBB and WordPress users" mode
-
Kyudos
- Posts: 3
- Joined: Thu May 29, 2025 10:28 pm
-
Kyudos
- Posts: 3
- Joined: Thu May 29, 2025 10:28 pm
Re: Short Codes Stopped Working
I added a shortcode to list all my shortcodes.....none of the w3all shortcodes are registered?
-
Kyudos
- Posts: 3
- Joined: Thu May 29, 2025 10:28 pm
Re: Short Codes Stopped Working
OK...the problem stems from this setting:
This prevents the shortcodes from being added in unlinked mode.
I don't really want to link my phpBB and WordPress users, so I chose "Do not link". The "help" suggests I can still use shortcodes in this mode. However, in wp_w3all.php, line 328 we have:Link WordPress and phpBB users
In not linked users mode it is possible to use transfers options and shortcodes or widgets
Hint: in not linked users mode it is also possible to retrieve posts and topics from different domain
Do not link phpBB and WordPress users
Link phpBB and WordPress users (default)
Code: Select all
if(! defined("WPW3ALL_NOT_ULINKED")){-
axew3
- w3all User

- Posts: 3110
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Skype: axewww
Re: Short Codes Stopped Working
Hey! Thank you for the report.
Going to check and fix it within today!
It is time to github the plugin!?
Going to check and fix it within today!
It is time to github the plugin!?
-
axew3
- w3all User

- Posts: 3110
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Skype: axewww
Re: Short Codes Stopped Working
Just tested. You are right. Ok going to fix it immediately today, unfortunately i am not in place in this moment but within today it will be so fixed and new version released
I had to test this option, before to release the last version that changed a little about code files organization.
I would like to have 3.0 ready for github with a further more improved and decent code.
I had to test this option, before to release the last version that changed a little about code files organization.
I would like to have 3.0 ready for github with a further more improved and decent code.
-
axew3
- w3all User

- Posts: 3110
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Skype: axewww
Re: Short Codes Stopped Working
2.9.8 has been just released! to fix the shortcodes issue in
- Do not link phpBB and WordPress users mode
All these shortcodes as it is supposed had to be, have been moved out of the
and before the (1st) closing
ps did you know about these two news:
https://www.axew3.com/w3/2025/05/w3all- ... ts-by-ids/
and
https://www.axew3.com/w3/2025/05/phpbb- ... on-update/
Thank you again for the bug report!
- Do not link phpBB and WordPress users mode
All these shortcodes as it is supposed had to be, have been moved out of the
Code: Select all
if(! defined("WPW3ALL_NOT_ULINKED")){
Code: Select all
} // end if ( defined('W3PHPBBDBCONN')
} // END NOT IN ADMINCode: Select all
add_shortcode( 'w3allphpbbuserposts', array( 'WP_w3all_phpbb', 'w3all_phpbbuserposts' ) );
add_shortcode( 'w3allphpbbupm', array( 'WP_w3all_phpbb', 'wp_w3all_phpbb_upm_short' ) );
add_shortcode( 'w3allforumpost', array( 'WP_w3all_phpbb', 'wp_w3all_get_phpbb_post_short' ) );
add_shortcode( 'w3allastopics', array( 'WP_w3all_phpbb', 'wp_w3all_get_phpbb_lastopics_short' ) );
add_shortcode( 'w3allastopicforumsids', array( 'WP_w3all_phpbb', 'phpbb_last_topics_forums_ids_short' ) );
// the query inside the function search all latest updated topics that contains ALMOST an attach and will return only the older (so the first, time based) inserted attachment that belong to the topic
add_shortcode( 'w3allastopicswithimage', array( 'WP_w3all_phpbb', 'wp_w3all_get_phpbb_lastopics_short_wi' ) );https://www.axew3.com/w3/2025/05/w3all- ... ts-by-ids/
and
https://www.axew3.com/w3/2025/05/phpbb- ... on-update/
Thank you again for the bug report!