Kunena CB forums plugin. Signature not being updated

8 years 1 month ago #278271 by koyan
Hi there,

Since the last CB update, the signatures of kunena stopped being updated when a user is updating their CB profile.
The fields are set correctly in the CB Forums plugin (as it was before the update).

I did a little investigation (which of course may be completely mistaken), and I found the following:

1) The code responsible for updating the kunena tables are in the CB plugin named "CB Forums".
2) In the CB forums plugin, the code is in the file kunena20.php
3) In there, it registers a call to the function syncUser, to happen when the user is saved (on trigger of onAfterUserUpdate )
4) In the CB lib, in the file libraries/CBLib/CB/Database/Table/UserTable.php the trigger onAfterUserUpdate is triggered

But then, when I inserted log calls there, I saw that the registering of the plugin happens AFTER the triggering.
Without have a lot of extended knowledge of how triggers work, it seems to me that the registering should happen before the trigger itself.

Any ideas on how to fix this?

Please Log in to join the conversation.

8 years 1 month ago - 8 years 1 month ago #278274 by koyan
Saw this is on nightly builds and already fixed. So, ignore previous message

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.631 seconds

Facebook Twitter LinkedIn