No announcement yet.

Action right after database update

  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Action right after database update


    I want to update a particular file with information right after an insert, update, delete, move etc. in short after any database action. Is there a hook (or more) available so that code can be injected right after the database action or do I have to change the database class?

    I have marked this Forum but it applies to every aspect of the forum.

    Thank you.

  • #2
    Apologies for the shameless bump but does anyone know how to do this?


    • #3
      So basically anytime the database is changed, you want to add something to a file? I don't believe there is one particular hook for this. You would have to find every action you are interested in and put your code there via a code change or plugin, if possible.

      Please don't PM or VM me for support - I only help out in the threads.
      vBulletin Manual & vBulletin 4.0 Code Documentation (API)
      Want help modifying your vbulletin forum? Head on over to
      If I post CSS and you don't know where it goes, throw it into the additional.css template.

      W3Schools <- awesome site for html/css help


      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.