Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • I am not sure how the settings must be, but I am also not able to add dataset from frontpage form..

    Best regards
    Henrik

    Thread Starter rothestar

    (@rothestar)

    Hi finally I figured it out… it was a misunderstand from my part..

    User Username Grant Access Remove Access
    admin admin O
    2admin 2admin x

    my suggestion
    User Username NO Access Access
    admin admin O
    2admin 2admin O

    because of the symbol (icons) you use, it look like you have no access (the red cross), but actually that is when you have access.. confusing text and symbols..

    best regards
    Henrik

    • This reply was modified 8 years ago by rothestar.
    Thread Starter rothestar

    (@rothestar)

    my role is administrator.

    if I in the manage client manager flip the permission to OFF end back to ON, the manager client menu item appears in the Time Sheets sub menu.
    when I click on the manage client I get the mentioned error..
    and the manager client menu disappears.

    best regards
    Henrik

    • This reply was modified 8 years ago by rothestar.
    Thread Starter rothestar

    (@rothestar)

    Found the solutions:

    In the active theme add the following to the functions.php

    It is possible to disable any input field at user profile. Let’s apply it to the ’email’ and ‘role’ fields, for example:

    add_action(‘admin_init’, ‘user_profile_fields_disable’);

    function user_profile_fields_disable() {

    global $pagenow;

    // apply only to user profile or user edit pages
    if ($pagenow!==’profile.php’ && $pagenow!==’user-edit.php’) {
    return;
    }

    // do not change anything for the administrator
    if (current_user_can(‘administrator’)) {
    return;
    }

    add_action( ‘admin_footer’, ‘user_profile_fields_disable_js’ );

    }

    /**
    * Disables selected fields in WP Admin user profile (profile.php, user-edit.php)
    */
    function user_profile_fields_disable_js() {
    ?>
    <script>
    jQuery(document).ready( function($) {
    var fields_to_disable = [’email’, ‘role’];
    for(i=0; i<fields_to_disable.length; i++) {
    if ( $(‘#’+ fields_to_disable[i]).length ) {
    $(‘#’+ fields_to_disable[i]).attr(“disabled”, “disabled”);
    }
    }
    });
    </script>
    <?php
    }

    Thread Starter rothestar

    (@rothestar)

    got no idea how to do it yet, still learning… surfing the internet

    but something like putting () for on the meta title or []..

    ()=admin can edit
    []= nobody can edit, except with a new upload…

    just an idea..

    Thread Starter rothestar

    (@rothestar)

    the shortcode i use:
    [cfdb-datatable form=”filament” hide=”Submitted,Gem Data,Submitted Login,Submitted From,submit_time”]

    follow this link to se the outputhttps://ak-specialisten.synology.me/3d-blog/database/

    see the screenshot here https://ak-specialisten.synology.me/3d-blog/mine-print/

    • This reply was modified 8 years, 2 months ago by rothestar.
Viewing 6 replies - 1 through 6 (of 6 total)