Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter vikasbaru

    (@vikasbaru)

    ok, I spent the whole night and figured it out. Might be helpful to someone else who is having the same problem:

    Look at the 274th line in the plugin file:
    if ($user_info->wp_capabilities[‘file_sharer’] == TRUE)

    This “wp_” in “wp_capabilities” is actually the wordpress table prefix. In my case the table prefix was “wp_ast_”. So what I did was I changed the code a bit from
    if ($user_info->wp_capabilities[‘file_sharer’] == TRUE)
    to
    if ($user_info->wp_ast_capabilities[‘file_sharer’] == TRUE)

    Now its working perfect ??

    Cheers vikasbaru, I was wondering how to do that. My only problem now is I can’t work out how to add the clients page to the menu!

    Thanks for the tip on this! This is a really great plugin – I’ve been looking for something like this for a long time.

    This worked! Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP Client File Share] User Pages NOT created!’ is closed to new replies.