• For those wishing to capture a logged in user with CFDB and the latest CF7 the fix is extremely simple….

    Add a hidden field to the form where you wish to capture the user id like this:

    [hidden LoggedUser default:user_login]

    You can change the LoggedUser part to whatever you wish. Save the form, clear the cache if you use one and voila! The the logged in users name will be added under its own column in the database.

    • This topic was modified 7 years, 5 months ago by fonefixer.
    • This topic was modified 7 years, 5 months ago by fonefixer.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter fonefixer

    (@fonefixer)

    For the sake of clarity, the information needed can be seen here and here

    This will add a field LoggedUser with the logged in user to the database but will not replace the “Submitted Login” field to which, at least for me, several other applications are keyed. What this would require is re coding other applications to look for another field as a uid. Which, could be done but not so simple. I would rather find a solution to the loss of the “Submitted Login” field. It is likely a simple thing too.

    Also, “Submitted Login” has a field order of 9999 which is also keyed to queries. So, not a fix for me.

    Thread Starter fonefixer

    (@fonefixer)

    Sorry about that, do you have any other suggestions as to how this can be overcome?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to capture Logged In User with Contact Form 7 4.8 & CFDB – Fix Inside’ is closed to new replies.