• Resolved AWOL

    (@awol)


    I have looked through the support forum and the documentation but cannot find a reference or answer to a problem I am having. I have a multisite/network setup with three sites, and mycred network enabled and central logging enabled, but master template disabled. I have set up hooks on all 3 sites, but only the hooks on the main site are working. Is this correct behaviour, and if so is it possible to allow hooks to work on all subsites? If it is not correct, do you have any suggestions as to why it isn’t working properly?
    Many thanks.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi @awol,

    Thank you for contacting us, Can you please confirm that the hooks are not working or the setting of the hooks is not visible on the subsites? Also, if the hooks are not working can you please list down the hooks which are not working?

    Thread Starter AWOL

    (@awol)

    The settings for the hooks are visible on all 3 sites, and it allows me to add and configure hooks, no problem there. But any hook I add and configure on sites 2 and 3 do not work; specifically the ones I have added are daily visits, publishing content and reward for buying (this last one only on site 2). Site 1 has all hooks working, which are daily visits, publishing content, registrations, links and referrals. I assume from your answer that hooks are meant to work on subsites, so I will continue to look to see if another plugin is causing a conflict.

    Hi @awol,

    It should be working on all the sites but if it’s not working for you then we will be testing it on our staging environment and we will get back to you with the details.

    Thanks!

    Hi @awol,

    Thanks for your patience, You must have enabled the central logging option. Basically what central logging does is that it makes only one table in the database that’s why the same log is displayed on every site when central logging is disabled it makes an individual table in the database for every site.

    Once the log is created the user cannot get the point again because at first, it checks that the log is already created or not.

    Thread Starter AWOL

    (@awol)

    I understand, I think, the central logging, but I have some different hooks set up on the subsites that are not awarding points; that is what my question is about. As I understood it, if a user carried out an action on any of the three sites that has a hook set up on that site, the points are awarded and logged indicating which site they did the action, in a single log that covers all subsites, but that isn’t happening – only actions carried out on the main site are getting points and being logged. If you are telling me that central logging only allows hooks on the main site then that is a different thing, but it would be good if that was made clear in the documentation, but surely that isn’t the case?

    Hi @awol,

    At the moment the functionality you are looking for is not available but you can add the suggestion here our technical team will review it and if they approve it we will be including it in one of the upcoming updates.

    Thanks!

    Thread Starter AWOL

    (@awol)

    I have only just seen your last response, so apologies for the delay. I am still confused so can you just answer the following questions Yes or No.
    1. Are hooks set up on sub sites meant to work?
    2. If the answer to 1 is Yes, are they meant to be limited to actions taken on the particular sub site?
    3. If the answer to 1 is No, shouldn’t the capability of setting up hooks on sub sites be removed?
    4. Are hooks set up on the main site meant to work on whichever part of the network those actions are carried out? (e.g. publishing a post)

    Your answers will help me work out if the plugin is working as it should on my site, or whether I need to find a conflict causing it not to work as it should. Your documentation and answers on here are not very clear to me.

    Hi @awol,

    1. Are hooks set up on sub-sites meant to work?
    Ans: Yes.

    2. If the answer to 1 is Yes, are they meant to be limited to actions taken on the particular subsite?
    Ans: Yes, they are meant to be limited to actions on each of the particular subsites.

    3. Are hooks set up on the main site meant to work on whichever part of the network those actions are carried out? (e.g. publishing a post)`

    Ans: If you enable the master template your main site hooks will work on all of the networks otherwise each of the networks will have its own hooks working.

    Thread Starter AWOL

    (@awol)

    OK thank you, that clarifies things for me. Just one minor point, your terminology in the answer to question 3 is a little confusing; I assume you mean ‘sub sites’ when you write ‘networks’?

    Hi @awol,

    Networks mean sub-sites here.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Multisite/Network and Hooks’ is closed to new replies.