• Resolved abbigliamentodalavoro

    (@abbigliamentodalavoro)


    hello I wanted to ask if it is possible to duplicate ninjatable tables when creating a new user, or if in the future it can be implemented as a function

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Paco González Pérez

    (@pacogon)

    Hi @abbigliamentodalavoro !

    I would be more than happy to assist you today.

    This would be possible only if they were “post”.
    I mean, when you access the list of tables, if in the URL it says “?post_type=x”, this means that it is a post and the type of that post is the one that says X.
    Then only in the case that the tables are post it would be possible to do it using our other plugin, AutomatorWP.
    AutomatorWP allows to create automations, previously a series of triggers and actions are defined, in the moment in which they are fulfilled then it is executed, for example in your case the automation would be like this:
    Trigger
    – Create a user
    Action
    – Create a post
    In this link you will find more information about AutomatorWP and an explanatory video. https://automatorwp.com/docs/getting-started/what-is-automatorwp/
    Anyway if you have any questions, please let me know.

    Hope it helps!

    Thread Starter abbigliamentodalavoro

    (@abbigliamentodalavoro)

    if I already create the table (example invoices – template) and use the post function, in that case should it duplicate it? anyway i looked and they are page_type not post_type, would they work the same?

    Plugin Contributor Paco González Pérez

    (@pacogon)

    Hi @abbigliamentodalavoro !

    I just did a test creating a table with Ninja Tables and what it creates are not posts, they are tables.
    So the only way to create it with AutomatorWP would be with the action “Call custom function” and using a custom function that creates the table.

    Thread Starter abbigliamentodalavoro

    (@abbigliamentodalavoro)

    @pacogon the problem is that I don’t know how to create them through custom functions

    Plugin Contributor Paco González Pérez

    (@pacogon)

    Hi @abbigliamentodalavoro !

    In this case you will need a custom development company or freelancer to do this for you as we do not provide support for this type of customizations.

    If you don’t know of one, we recommend that you check out our list of trusted experts who can quote any type of work for you here:
    https://gamipress.com/customizations/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘duplicate ninjatable tables when creating a new user’ is closed to new replies.