WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] User register and delete detection (7 posts)

  1. deiks
    Member
    Posted 1 year ago #

    Hello,

    I'm trying to connect two of softwares which one of them is WordPress.
    So both applications have different dbases but I have sync script which will move data from one to other.
    That's everything ok.

    Just I need some plugin or suggestion about source change where to put script which will sync.

    So basicly, the best option will be to have module which detects user registration (after activating) no matter is registered by user or admin, and also for deleting account in same way.

    Then module needs to do something, but would be fine to make text box for SQL query, so I just call SQL after it's detected.

    My whole project works like this:

    If user registered to WP, with this requested module, registration data will be stored to other table defined with SQL query, and then sync script which works with crontab uses data and move to other software's db.

    Best regards.

  2. deiks
    Member
    Posted 1 year ago #

    Or some suggestion. If it's easier to make just to call some function from that file.

    I have few years experience with PHP so I can make own function for storing to db. Just need hook.

  3. What's the other software?

  4. deiks
    Member
    Posted 1 year ago #

    IRC services. SQL based on.

  5. deiks
    Member
    Posted 1 year ago #

    Hi,

    I've tried to write my own plugin and I'm stuck with hook when user validate profile with email link.

    So what to use here?

    I've tried wpmu_activate_user, but it calls function on every refresh. Or I have missunderstanding of how this whole thing works.

    If I understand, hooks are like some events which listens for some "job" to react.

  6. deiks
    Member
    Posted 1 year ago #

    So what's hook for user activation?

  7. deiks
    Member
    Posted 1 year ago #

    Bump.

Topic Closed

This topic has been closed to new replies.

About this Topic