• Resolved ollyrouse

    (@ollyrouse)


    Hello,

    Is it possible / easy to use the plugin for this scenario?

    [USER ABC] logs into wordpress site, they can view / edit / create data on the front end of the site

    [USER DEF] logs into wordpress site, they can create their own data – without seeing the data from [USER ABC]

    The admin of the site can see the data of all, either in separated databases by users or by a search query

    Any ideas?
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wpDataTables

    (@wpdatatables)

    Hi there, thank you for your inquiry,

    It’s not possible with the Lite version of the plugin, but the full version supports it, you can find it on the plugin’s site.

    I tryed exactly what your asking with the Full Version. In my point of view it is not possible.

    Reason: All the wpdatatables code is executed with the wordpress admin user.. not with the logged in user. Therefore you can’t do anything user-specific.

    1. Adding some variables dynamically to the shortcode –> Not possible because the shortcode is executed before your user-dynamic part is executed (php)

    2. Create tables based on some dynamic json script –> Not possible. The php file which should give the user-specific json to datatables is executed with a general user, not with the logged in user. So your json-generating script will never give you any user specific answer.

    3. the same as on 2. for serialized php array

    • This reply was modified 7 years, 5 months ago by toooni.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Specific logged in users seeing unique data’ is closed to new replies.