• Resolved multidimentional

    (@multidimentional)


    First I would like to thank you for this lovely plugin. Solves a lot of trouble.

    I have a few questions as well packed under one topic if that is ok.

    1. How do you remove this line: Please log in to see the client portal? You can just tell me in which file it is located (log in shortcode) and I will be able to erase it from the code.

    2. After login, on a private page there are two links (breadcrumbs? ) in the upper left corner – one shows the full name and other shows date. Links are not linked to any page. Can it be removed or linked maybe?

    3. How can I style login and register forms? Would it be possible to change font and font color using css?

    Thank you in advance for your assistance.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 22 total)
  • Hi there,

    Thanks for the appreciation — it’s what drives us forward.

    Questions are surely welcomed, and here are the answers:

    1. The text Please log in to see the client portal can be changed from Dash -> Users -> Client Portal Settings. You can’t have it completely empty, but you may put a space character there.

    2. The user name and date is coming from your single.php template file inside your theme folder. If you want to have a custom template for client portal pages, duplicate that file and name it single-private-page.php

    3. Styling the Profile Builder forms is possible either from your theme’s style.css or with a visual style editor such as this one.

    Cheers,
    Gabriel

    Thread Starter multidimentional

    (@multidimentional)

    Thank you.
    Solution for 1 and 3 works just fine. Really appreciate it.

    I have, however, a small problem with a custom template. Renaming single.php as well as page.php to single-private-page did not really work. Could it be because of the theme itself I am using?

    Hi there,

    First of all, sorry for the long delay. I was away from the office and apparently there was great load on the support team, so that nobody could take this over.

    Thanks for letting us know about 1 and 3.

    Regarding 2, please make sure to duplicate and then rename, don’t rename the original theme template, because this way you will break your theme.

    If you did that and it’s still not working properly, then I don’t know. It might be the theme. Maybe it’s doing some weird thing ignoring the template. Could you please try this on the default Twenty Nineteen theme?

    Best regards,
    Gabriel

    Thread Starter multidimentional

    (@multidimentional)

    Ok. Thank you for getting back to me.

    So it looks like I have found solution to replacing classic editor with beloved Gutenberg. Am I allow to share the changes to the code here? It is actually a one line that needs to be added to index.php file in plugin’s folder. But I am not sure if it is allowed to share it here.

    Regards

    Hi there,

    Yes, I think that it is allowed to share it here.

    Thanks!
    Gabriel

    Thread Starter multidimentional

    (@multidimentional)

    Apologies for late reply.

    So what I did was I added this line of code:

    ‘show_in_rest’ => true,

    in plugin’s index file in array section of this function:

    function cp_create_post_type() {

    (in my case line 141). This I think is what connects (allows) Gutenberg. It works for me without renaming any templates.

    Hope this will help. And thank you for your assistance.

    All right then.

    Thanks for sharing, we greatly appreciate it.

    Cheers,
    Gabriel

    Hello Gabriel,

    I just saw your email. Thank you for referring me to this post.

    The client portal plugin has so much potential, however, I think it is still under development or maybe it is still in the early stages of development. Consequently, I think this thread should remain open to allow other users to propose their suggestions, which will prove useful to the development team. Furthermore, this is by far the only plugin I found online that automatically generates space for private users. Good job guys and thank you!

    What @multidimentional proposed works very well and solved a lot of problems for me. However, I think It would be great to have other features automatically generated inside the private pages such as multiple tabs(maybe widgets) that once clicked they automatically redirect the user to another private page specific to the client that will be filled by the admin with specific content(An example would be student university portal). This allows for better organization and avoids the cluttering of information.

    Right now, I’m thinking about a small solution for this. I’m gonna try to create a widget using the WP functions, then copy its code and include it the Client portal PHP file then see what happens. If I get some working I’ll update here.

    Thank you again.

    Hello @gabrielberzescu and @multidimentional,

    A quick follow up. I implemented the solution proposed @multidimentional, now Gutenberg shows instead of the classic editor. A couple of problems:

    1- When I post the shortcode [client-portal] in a page, the page won’t publish but the code kinda sticks there, therefore the page works. Furthermore, when I revert to the classic editor it kinda saves but directs right away to the private pages. At this point, the page won’t open in the editor and it keeps redirecting once it is clicked.

    2-Applying @multidimentional solution solved the issue of displaying Gutenberg along with other plugins but now the automatic redirection toward the private page does not work. It kinda gets stuck in the middle.

    This is the webpage I’m trying to implement this for https://www.strongandathletic.com

    Any help or directions would be greatly appreciated.

    Kind regards.

    Hi @strongandathletic,

    Yes, the [client-portal] shorcode should automatically redirect logged in users to their private page.

    If @multidimentional’s solution prevents this from happening, then I’m afraid that I am all out of suggestions. I have added on the development list a request for the Gutenberg editor, and this is about all that I can do.

    Best regards,
    Gabriel

    Thread Starter multidimentional

    (@multidimentional)

    @strongandathletic

    None of it happens on my website. Redirection works just fine and Gutenberg is still there ??

    Just do not understand why would you switch back to classic editor if it is Gutenberg you want to use.

    Ara you sure your shortcode is in the right place? Another possibility is that other plugins can interfere with it.

    It is hard to help without actually knowing what is in your backend.

    Thread Starter multidimentional

    (@multidimentional)

    @strongandathletic

    I let myself to register on your website and after log-in I was not redirected to the client’s page. Just like you said. Do you have two shortcodes added to your login page: [client-portal] and [wppb-login] ?

    @multidimentional sorry about the trouble I just saw that you registered. I was trying a few tricks and that’s why you did not get a redirect. I’m gonna put back Gutenberg so you can see. I’ll do it in few minutes.

    Also, I’m putting the shortcode [client-portal] by itself in one page called MyPortal, which is accessible via the drop down from the Member Area tab. You can see it once you log in.

    @multidimentional What other plugins might interfere with it?

    Here are some of the other plugins I used to build this login interface:
    -Profile builder
    -Members plugin to control content access
    -Nav Menu plugin to control the visibility of the options in the tab menu

    I have a couple of security plugins installed. These are Ninja Firewall and Cloud Flare.

    Thank you for your help.

    Thread Starter multidimentional

    (@multidimentional)

    @strongandathletic , can you make sure your classic editor is gone and you have login and client shortcode added to the login page? I will log in again in a few minutes.

    You would have to disable them all and check one by one. But for now let us just focus on shortcodes.

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Few questions’ is closed to new replies.