coming 1.9.9 improvements list

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

coming 1.9.9 improvements list

Post by axew3 » Mon Jul 22, 2019 7:23 am

1) users check between phpBB and WordPress will add more options to control easier more aspects
2) iframe integration v4
3) plugin code cleanup/improvements

suggest something more and/or bugs to fix if you discover one

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

Re: coming 1.9.9 improvements list

Post by axew3 » Tue Aug 06, 2019 11:23 pm

What if I only want all users to be subscribers, and only myself to me administrator in Wordpress?
An easy option for the transfer process (phpBB users to wordpress), and improvement of transfer processes.
Option to add phpBB users only into a specified group in wordpress, despite they are admin, moderators or something else in phpBB.

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

Re: coming 1.9.9 improvements list

Post by axew3 » Fri Sep 06, 2019 1:46 pm

v4 iframe code: as on this online example actually run, you can see the scroll fire AFTER iframe loaded. It need to be completed with some more little adjustment. An easy smooth scroll has been applied to make the iframe navigation more comfortable.

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

Re: coming 1.9.9 improvements list

Post by axew3 » Thu Sep 12, 2019 2:18 pm

Looking to fix any issue on the new v4 iframe code: the user selection/insert, used to add recipients on the message, throw javascript error

Code: Select all

SecurityError: Permission denied to access property "document" on cross-origin object forum_fn.js:264
    insertUser https://localhost/wp51/phpBB3/styles/prosilver/template/forum_fn.js?assets_version=4:264
    insert_single_user https://localhost/wp51/phpBB3/styles/prosilver/template/forum_fn.js?assets_version=4:286
    onclick Ember
SecurityError: Permission denied to access property "document" on cross-origin object forum_fn.js:264
to resolve the issue (and any other related simple_header.html inclusion) the unique possible, even if not comfortable way, is to add the following code into the simple_header.html file, may just before the closing </head> tag:

Code: Select all

<script>
document.domain = 'localhost'; // or your domain.com
</script>

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

Re: coming 1.9.9 improvements list

Post by axew3 » Thu Nov 28, 2019 11:55 pm

viewtopic.php?f=2&t=1429
and this
viewtopic.php?f=2&t=1430

1.9.9 is coming! Sorry for the delay!

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

Re: coming 1.9.9 improvements list

Post by axew3 » Sat Nov 30, 2019 3:29 pm

Over the 1.9.9 release code improvement:

i've been able to unify into one unique query all requests for all phpBB tables we need to extract data, useful to control under any aspect, any user feature we want reproduce into WordPress side.

The query is now one unique to retrieve all data for any presented session (remember me or not), and into same time, retrieve all needed data for the group that the user belong to, i mean also and not only the acl_options options phpBB table values.
I do not if this is bug in phpBB or not, but i noted last time (and also this time), when advanced phpBB mchat shortcode added into plugin, that while the group which mchat option was setup to display for, was not working, no data from acl_options table retrieved for this user's group. So i had take a look into database tables and i've see that the table, acl_groups, under auth_option_id was containing nothing about the group id (Registered Group GID2).
So i've go into ACP, and under
TAB Users and Groups -> Group permissions -> Registered users -> Advanced Permissions
I've click into Apply All Permissions.
Nothing, still the acl_groups tab empty.
Then i've try to set a casual value, for example Can attach files, and click into Apply All Permissions
OK! now the table contain all needed Group auth_option_id values for this group (Registered users GID2)
Then i've reset the value of Can attach files as i want and saved again by click into Apply All Permissions.

It seem that i will ask at phpBB.com what is wrong with the logic i apply, may there is another way to intend groups permissions.

By the way, this affect at moment only when/if mchat activated, so that to correctly display the joke, you'll may have to execute the above on ACP to correctly assign values on the database table and retrieve so, if an Users Group can view something, or chat etc.

Substantially, may all this is not important at moment, but as advanced, it depend how you plan to use the integration and if these retrieved data are or not required-
Just to mention.

Have you some feature you'll like see added?
It's the time you post here then!

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

Re: coming 1.9.9 improvements list

Post by axew3 » Mon Dec 02, 2019 8:16 pm

All is quite ready for the 1.9.9 release, it include fixes for all reported bugs until now:
1) Correctly connect to another database port if it is required in phpBB.
2) Add: display error message into plugin admin page, if (until) phpBB db connection fail, and set integration as NOT LINKED USERS in the while, to avoid configuration problems.
https://wordpress.org/support/topic/1-9-8-patches-log/

Security patch:
viewtopic.php?f=2&t=1432
add also random string length, 20 to 32 to increase security

Add shortcode w3allphpbbupm for user's forum PM: it will display a <div> element

Code: Select all

<div id="w3pm_id" class="w3pm_class"><a href="https://localhost/wp51/phpBB3/ucp.php?i=pm&amp;folder=inbox">You have 1 unread forum PM</a></div>
default shortcode attributes: target, id, class and style
see: https://www.axew3.com/w3/2019/12/shortc ... wordpress/

Add unique query into main verify_phpbb_credentials() to retrieve any phpBB user's Group permissions (become active only when mchat option active, since these kind of data are useful at moment only in this contest)

Code clean up all over ... coming very soon!

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

Re: coming 1.9.9 improvements list

Post by axew3 » Tue Dec 03, 2019 3:31 pm

Ops! We forget the new iframe v4 code for template integration.

All iframe js files updated, related page-forum code updated to latest lib requirements (that in true was just one line) and v4 code
overall_footer.html js code for the new v4 iframe integration.
FROM 1.9.9 >
https://www.axew3.com/w3/2019/12/phpbb- ... iframe-v4/

resuming, if nothing come out in the while, as soon 1.9.9 will be released with:

Code: Select all

= 1.9.9 =
*Release Date - few hours from date of this post *
* Security patch: see https://www.axew3.com/w3/forums/viewtopic.php?f=2&t=1432
* Add: Security patch -> random 20/32 string length to increase security
* Fix: Correctly connect to another database port if it is required in phpBB
* Add: display error message into plugin admin page, if (until) phpBB db connection fail, and set integration as NOT LINKED USERS in the while, to avoid configuration problems
* Add: Shortcode w3allphpbbupm for phpBB users PM notification in WordPress: https://www.axew3.com/w3/2019/12/shortcode-phpbb-pm-into-wordpress/
* Add: unique query into main verify_phpbb_credentials() to retrieve any phpBB user's Group permissions (become active only when mchat option active, since these kind of data are useful at moment only in this contest)
* Update all iframe resizer files to last version, update page-forum.php callback to last related code and iframe v4 code
* iframe code v4 procedure here: https://www.axew3.com/w3/2019/12/phpbb-wordpress-template-integration-iframe-v4/
* Minor fixes and code/inline comments cleanup

Post Reply