Okay
  Public Ticket #3653732
Shorten course registration
Closed

Comments

  •  1
    Bruno started the conversation

    Hello everything is fine?

    I used wplms to create a platform for courses that are sold online, but take place in person. 

    I need to shorten the course registration process by removing some steps. The only fields used to create the course will be Course name, Description, price, certificate and start date.

    It is possible?

    Attached files:  Screenshot at May 23 13-23-52.png

  • [deleted] replied

    hi this is possible with custom course nav plugin but this applies only for instructors on the site not admin : https://wplms.io/downloads/wplms-custom-course-nav/

    https://wplms.io/support/knowledge-base/wplms-course-custom-nav-plugin/

  •  1
    Bruno replied

    Perfect. I tested it here and it worked for instructors.

    I really need this to work for the admin profile. It is possible?

  • [deleted] replied

    we have to modify the code of custom course nav for this . 

    Please share your site url and admin, ftp  creds in private reply


  •  1
    Bruno replied

    I don't have access to FTP, but I can give you the admin credentials and URL to access the panel.

  • [deleted] replied

    ok if we can edit code of plugins from wp-admin then please share them.

  •   Bruno replied privately
  • [deleted] replied

    hi  i made the changes but somehow those changes are not applying on the front end . 

    is there some kind of caching on the site ? 


  •  1
    Bruno replied

    We have never had any problems with the site's cache. We use AWS servers and everything seems to be fine there.

    I checked here and after your changes the individual course page is no longer working

    Attached files:  Screenshot at May 29 10-08-23.png

  • [deleted] replied

    How to add code in wplms customizer pluginhi i tried this again but somehow the code is not working at all .


    add this code in your wplms-customizer.php file in wplms customizer plugin : 


    add_filter('wplms_course_creation_tabs','course_creation_wplms_course_creation_tabs',99999,3);
    function course_creation_wplms_course_creation_tabs($settings,$course_id=null,$user_id=null){
        $new = [];
        foreach ($settings as $key => $value) {
            if($key === 'course_components' || $key === 'course_curriculum'){
                $settings[$key]['hide'] = 1;
            }else{
                $new[$key] = $value;
            }
        
        }
        return $new;
    }



  •  1
    Bruno replied

    Alex, the code worked in the WPLMS Customizer Plugin.

    However, the individual course page still does not work. Can you say what happened?

    Attached files:  Screenshot at May 29 10-08-23.png

  • [deleted] replied

    there is some php error appearing on the course page and its edit page as well . 

    please share ftp or cpanel credentials in private reply to check this up .

  •   Bruno replied privately
  • [deleted] replied

    yes i know but we need ftp or cpanel (server ) credentials : https://help.vaultpress.com/ftp/#:~:text=What%20are%20FTP%20credentials%3F,Port%20number

  •  1
    Bruno replied

    We don't have FTP credentials, so I gave you admin access so you could edit the php code of any plugin.

    Isn't it possible to do it this way?

  • [deleted] replied

    well we need them coz from wp-admin we are not able to edit files to enable wp debug to find out what exactly causing error there on course page : 

    5426945100.png

    if you do not have ftp then share cpanel , or any way we can access your site files .

  •  1
    Bruno replied

    We use AWS servers with a .pem key for ftp access. I'll create another instance and upload a backup so you can access it. Then I release the private key for FTP access

  •   Bruno replied privately
  • [deleted] replied

    hi i  cannot connect to ftp  

    4625443903.png


  •  1
    Bruno replied

    Can you record the process you are doing to access FTP? I just tried it here and it's working for me.

    https://go.screenpal.com/watch/cZ1qqHVNRf3

  •  1
    Bruno replied

    If you are doing this process using the Windows operating system, let me know, as the key type changes to .PPK instead of .PEM

  • [deleted] replied

    hi this is how im loggin in : https://somup.com/cZ1r2RE06i

    i guess yes we need ppk file intead of pem 

  •  1
    Bruno replied

    The key file is inside the zip I sent. From what I could see in the video you recorded you are uploading the zip file.

    You must unzip the file. Inside will be the key to access.

  •   Bruno replied privately
  •  1
    Bruno replied

    Greetings, Alex.

    I verified that you are using the apple operating system. For SFTP access to work you must use the .pem key.

    Only use the .ppk key on Windows systems

  • [deleted] replied

    well that is not the case its software dependant i use filezilla . 

    https://somup.com/cZ1ODqEvIf


    maybe the issue is appearing due to ip or country block you have on ftp access .

  •  1
    Bruno replied

    I'm also using FileZilla.

    I really don't know what's going on. As far as I know there is no IP blocking or anything like that.

    Is there any other alternative? Suddenly download a .wpress backup and run local? Use a VPN?

    Any suggestion?

    If you wish, I can enable Wordpress Debug mode for you. Would it help you?

  • [deleted] replied

    hi the solution might be easy we just ned to check the php error logs , can you share them ? 

    there is some php error appearing somehow on the edit page of course layout you are using there which is causing the issue on the course page as well . 


  •  1
    Bruno replied

    Yes, I can share the log.

    Could you tell me where I can get this log?

    Detail: all these problems started after you recommended me to install wplms-course-custom-nav.

  • [deleted] replied

    update course page is loading now : 

    5360701888.png

    STILL we need your server PHP ERROR LOG

  •  1
    Bruno replied

    Wow! It's actually now loading.
    What was done?

  • [deleted] replied

    members page was not selected in wp-admin -> vibebp-> settings -> buddypress .

    please also try to add this code as well in wplms customizer plugin : 


    define('BP_REGISTER_SLUG','register');
    define('BP_ACTIVITY_SLUG','activity');
    define('BP_MESSAGES_SLUG','messages');
    define('BP_MEMBERS_SLUG','members');
    define('BP_XPROFILE_SLUG','profile');
    define('BP_SETTINGS_SLUG','settings');
    define('BP_NOTIFICATIONS_SLUG','notifications');
    


  •  1
    Bruno replied

    The code has been added.
    Question: what does it do?

    Attached files:  Captura de Tela 2024-06-28 às 13.08.05.png

  •  1
    Bruno replied

    Attached is the php log file

    Attached files:  debug.log

  • [deleted] replied

    I thourouhgly checked your error log but could not find any hint why the course layout edit is not working in your site .

    can you check if it works fine now?

  •  1
    Bruno replied

    Alex, I needed to restore a backup here, because after moving so much, wp-admin was no longer accessible.

    I am facing some problems:
    - Unable to edit course in wp-admin
    - Unable to delete a course in wp-admin
    - It is not possible to edit any page in Elementor.

    For all these actions, a critical error is returned on the website.

    Everything works again if I disable the wplms custom course nav plugin.

    Maybe it's some incompatibility between the plugin and the PHP version or something like that.

  • [deleted] replied

    yes i do confirm that im getting the same issue and this is due to some php  error . one thing you can do is to increase the php memory limit to 368MB using wp-config.php file : https://blog.hubspot.com/website/wordpress-php-memory-limit

  •  1
    Bruno replied

    I'm already working with 512MB for PHP's memory limit.

    Maybe that's not the real problem.

    Attached files:  Screenshot_1.png

  • [deleted] replied

    that is the problem maybe . you can vitually write memory_limit into 1000s of GB but there is an upper limits on servers . 

    please set it to 368 MB .