Skip to Content Skip to Menu

Kunena CB forums plugin. Signature not being updated

  • koyan
  • koyan
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
8 years 8 months 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 or Create an account to join the conversation.

  • koyan
  • koyan
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
8 years 8 months ago - 8 years 8 months ago #278274 by koyan
Saw this is on nightly builds and already fixed. So, ignore previous message
Last edit: 8 years 8 months ago by koyan. Reason: Already fixed.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum