• Am I mistaken or does TDO count the pages created for each form created (pages where the form is shown) by the admin as a post for the admin and thereby if the limit is just 1 prevents the admin from making a futher post via the TDO form?

    In any case… Can the admin be isolated from the max post count? (I understand the admin should not then post via the TDO form… is this the fix?)

Viewing 2 replies - 1 through 2 (of 2 total)
  • That took me a minute to understand. I assume you’re talking about throttling and that does the pages an admin creates (such as the pages created via the TDOMF backend to hold the forms) count towards the throttle limit?

    The short answer is no.

    Long answer: Only posts (or pages) submitted via the form will be flagged as TDOMF posts (via a custom field). The throttling rules will only check posts flagged as TDOMF posts. If the admin creates a page to hold the form (either automatically or manually), it is not flagged as a TDOMF post (unless you did this via the edit-post panel).

    How do you have it configured?

    As for having the administrator exempt from the throttling rules… thats not a bad option but roles and caps can be modified so it’d need to be more of an exempt dialog. You can do it yourself if you don’t mind hacking the code a bit. In include/tdomf-form.php in the function tdomf_check_permissions_form, you can wrap the throttling rules check with this if statement:

    if(!current_user_can('administrator')) {
    // Throttling Rules
    //
    /* etc. */
    }
    Thread Starter Pete

    (@perthmetro)

    Thanks for that… you’ve answered my question… i think the best way would be for the admin to keep clear of the tdo form and use the normal wp post feature to work around the throttling… cheers.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: TDO Mini Forms] can Admin be isolated from limited number of posts using the TDO form?’ is closed to new replies.