WordPress.org

Forums

WP Client File Share
User Pages NOT created! (5 posts)

  1. vikasbaru
    Member
    Posted 2 years ago #

    Hi,

    I am sitting since morning in front of this plugin to see it working. I installed, uninstalled it a million times but the new user pages are not created once a user is registered(File Sharer Role). Anything special I need to do? Please help.

    Thanks

    http://wordpress.org/extend/plugins/wp-client-file-share/

  2. vikasbaru
    Member
    Posted 2 years ago #

    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 :)

  3. thewisebunny
    Member
    Posted 2 years ago #

    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!

  4. karks88
    Member
    Posted 2 years ago #

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

  5. vivalet
    Member
    Posted 2 years ago #

    This worked! Thank you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic