• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Guide on FOG API hookevent

Scheduled Pinned Locked Moved
General
2
2
238
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W
    WT_101
    last edited by Mar 22, 2022, 4:32 AM

    Hi,

    I trying understand how to use the hookevent API. I do saw there is a ‘PLUGIN_DATA’ in hookeven table but not sure how it works?

    Just wondering is it possible to trigger API to activate & install / uninstall plugin.

    I’m trying to understand from the below but still no idea how to use it actually.
    82dac233-ce1b-4036-ba96-54786e0d1cf8-image.png

    Can anyone guide or explain to me on this?

    Thank You
    Best Regards
    WT

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Mar 22, 2022, 11:22 AM

      @WT_101 Hook events are called by the FOG code. Don’t think this is what can help you with activating plugins. Did you look into directly updating the database tables as mentioned in your other topic yet?

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      1 / 1
      • First post
        2/2
        Last post

      202

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project