• Resolved aloysiacolas

    (@aloysiacolas)


    Hi,

    First of all thank you for reading me I really hope you can fix my problem.

    I do not manage to access any private page.

    Here is what I have done so far:

    – I installed the pluging Profile Builder.
    – I created a page with the [wppb-register] shortcode
    – I created another page with the [wppb-login] shortcode and added the redirect_url parameter like this:[wppb-login redirect_url=”http://www.yourdomain.com/private-page”%5D
    Of course I changed http://www.yourdomain.com/ with my actual domain.

    – I created the page I want to be redirected to, so this one: mydomain.com/private-page and I added to that page the [client-portal] shortcode.

    If I understood well, once I register for example “user A”, I need to create a private page for user A, and once I log in as user A, I should be redirected to mydomain.com/private-page (as I set it in [wppb-login redirect_url=”http://www.yourdomain.com/private-page”%5D) and since it contains the [client-portal] shortcode, I should arrive on the private page of the user logged in so here, user A.

    I successfully registered an account for user A.

    Afterwards, I went in my dashboard > users > client portal settings > Generate pages for existing users. It was also successful as I could now see the private page of User A. I edited it by basically just adding an image to it, and updated the page.

    I went back on my website, logged out and logged in as User A. After I logged in, I was automatically redirected to the page I set in the redirect_url parameter so mydomain.com/private-page.

    Since that page contains the [client-portal] shortcode, technically I should have been redirected to the private page of User A, but here is my problem, I am not. I only have a normal page, with default setting of my theme so a blank page with its heading and that’s it. If I were on the private page of User A, I should be able to see the image I added.

    Please, could you find where’s my error?

    Thank you so much!

    • This topic was modified 6 years, 8 months ago by aloysiacolas.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi there,

    So what about if you are logged in as user A and simply visit the page with the [client-portal] shortcode?

    Is the problem still present?

    Because if so, then it has nothing to do with Profile Builder and the other redirect.

    So, you visit the page with the [client-portal] shortcode and it stays there? What do you see in the URL? Or does it redirect to the private page URL but it looks wrong?

    Does it help if you create a new page with the the [client-portal] shortcode? Do other shortcodes work on that page?

    Best of regards,
    Gabriel

    Thread Starter aloysiacolas

    (@aloysiacolas)

    So what about if you are logged in as user A and simply visit the page with the [client-portal] shortcode?

    Whether I just visit the page, or be redirected to it, it’s the same one: a simple blank page with its title. So it’s not a problem of redirection but just my page that won’t display the shortcode.

    What do you see in the URL?

    URL is mydomain/private-page/ (“private page” is just the name of the page, not the actual private page)

    Or does it redirect to the private page URL but it looks wrong?

    It doesn’t.

    Does it help if you create a new page with the the [client-portal] shortcode? Do other shortcodes work on that page?

    I tried with another page, same thing happpening. I tried another shortcode, it works.
    What’s interesting is that when I am logged out and visit the page, I get this : “Please log in in order to access the client portal.” but once I am logged in (whether redirected or simply visiting) I get nothing, just that same blank page.

    Thank you so much for trying to help and your quick reply 🙂

    • This reply was modified 6 years, 8 months ago by aloysiacolas.
    Thread Starter aloysiacolas

    (@aloysiacolas)

    I keep trying all kinds of way, like creating one single page with first the [wppb-login] shortcode, and after the [client-portal] shortcode.

    Logged out, the [wppb-login] works, with the “email” and “password” fields, and under it I can see : “Please log in in order to access the client portal.” which means that at that moment the [client-portal] shortcode is working.
    And as usual, once I log in, the page refreshes and it shows nothing except this : “You are currently logged in as user A. Log out”

    • This reply was modified 6 years, 7 months ago by aloysiacolas.

    Hm, that’s interesting.

    Since this looks a lot like a conflict with some other code, the first/next recommended step is the conflict test:

    ​​*Briefly* disable all other plugins and enable the default Twenty Nineteen theme. If this fixes the problem, as it probably will, enable everything one by one, checking each time to see when the problem returns.

    Please let us know when you find the conflict so that we can take a look and see what we can do about it.

    Best regards,
    Gabriel

    Hello Gabriel,
    Could you please help me?
    I am facing the same issue but with mine, the private page is not even loading. I just see blank page with username.

    My log-in page short code as follows:

    [wppb-login redirect_url=”http://localhost/etcconsultancy/private-page/ru162/”%5D

    and private page

    [client-portal]

    What is preventing the client portal page from loading ?

    Hi @ru162

    What does this mean exactly?

    “the private page is not even loading. I just see blank page with username.”

    Can you please send a screenshot?

    Also, one thing to try is to re-save the WordPress permalink settings, from WordPress Dashboard -> Settings -> Permalinks.

    With best regards,
    Gabriel

    This is the URL http://localhost/etcconsultancy/private-page/ru162/
    The page just keeps loading and page flickers.
    the private page with [client-portal] short code will not load.
    Ive tried re-saving the permalinks but no help.
    you cant send screenshots as there is no attach link.
    how is the normal process of using the short codes?
    why cant you use the client portal short code on normal pages? only private pages

    Thanks Gabriel

    I also am presented with this message upon installation of user registration and user profile

    Unpacking the package…

    Installing the plugin…

    Warning: dir(C:/Users/Carl/Documents/Msc_Computer_Science_2018/Advanced_Web_Solutions_2018/Current_Project/xampp/htdocs/etcconsultancy/wp-content/upgrade/profile-builder.3.1.3/profile-builder/assets/lib/wck-api/assets/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img,C:/Users/Carl/Documents/Msc_Computer_Science_2018/Advanced_Web_Solutions_2018/Current_Project/xampp/htdocs/etcconsultancy/wp-content/upgrade/profile-builder.3.1.3/profile-builder/assets/lib/wck-api/assets/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img): The system cannot find the path specified. (code: 3) in C:\Users\Carl\Documents\Msc_Computer_Science_2018\Advanced_Web_Solutions_2018\Current_Project\xampp\htdocs\etcconsultancy\wp-admin\includes\class-wp-filesystem-direct.php on line 571

    Warning: dir(C:/Users/Carl/Documents/Msc_Computer_Science_2018/Advanced_Web_Solutions_2018/Current_Project/xampp/htdocs/etcconsultancy/wp-content/upgrade/profile-builder.3.1.3/profile-builder/assets/lib/wck-api/assets/js/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img): failed to open dir: No such file or directory in C:\Users\Carl\Documents\Msc_Computer_Science_2018\Advanced_Web_Solutions_2018\Current_Project\xampp\htdocs\etcconsultancy\wp-admin\includes\class-wp-filesystem-direct.php on line 571

    could this be an issue?

    Hi @ru162

    The normal process of using the short code is:

    You insert the [client-portal] shortcode in a normal public page.

    For logged in users, this shortcode automatically redirects them to their own private page.

    If this is not working properly, the next recommended step is the conflict test:

    ​​*Briefly* disable all other plugins and enable the default Twenty Twenty theme. Please also disable all add-ons. If this fixes the problem, as it probably will, enable everything one by one, checking each time to see when the problem returns.

    Please let us know when you find the conflict so that we can take a look and see what we can do about it.

    With best of regards,
    Gabriel

    I will also add that:

    1. I can not visit that URL because it is on your local machine.
    2. You can add screenshots by using any image upload website and giving the link here.

    Hi Gabriel, Ive sent you an support ticket message on your cosmolabs support page.
    You will see screenshots there.

    Here is a copy of the message.

    Hi
    I spoke to gabriel berzescu on the support topics of wordpress plugins site.
    I have some issues with your plugin user profile and user registration aswell as your add on, client portal.

    1. I[‘m unable to edit the log in page and when I click edit, the page automatically redirects to the private page. There is no way of editing the log in page.

    2. The short code [client-portal] does not work on a public page as I get presented with an error, invalid JSON response.

    3. When this short code is used in private page where the login redirects to, the private page does not even load, instead just flickers.

    Why am I not able to edit the log-in page?
    Why does the short code [client-portal] not work on both public and private page?
    How can I add users with different rights as in one for normal user, one for agent and one for admin with content restriction?
    How Do I redirect each user to their own private page?
    Please have a look at the screenshots and recorded screen video.

    <iframe src=”https://drive.google.com/file/d/1hOP2R6Fea5OdEuFP5EZ7TDxk6KBD0x6B/preview&#8221; width=”640″ height=”480″></iframe>

    Would truly appreciate your help,

    Thanks

    Rafique

    Hello Rafique,

    All right then, I see your ticket.

    In order to avoid duplicates, we can continue the conversation there.

    Best regards,
    Gabriel

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘[client-portal] shortcode not working’ is closed to new replies.