• Resolved kleijheeg

    (@kleijheeg)


    Hello,

    I have bought the collection plugin. I have two questions

    1. With a user other then admin I can see the course menu but not the tab of collection. Where can I add a user role?

    2. After finishing a lesson, there will be stripe through the lesson name. Is that also possible in the collection overview? After finishing a course a stripe through the course name.

    Thank you in advanced

    https://www.ads-software.com/plugins/learnpress/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Ken Nguyen

    (@kendy73)

    Hi kleijheeg,

    Collection add-on allows administrators to collect related then create a collection. The collection comes for all learner in learning system, like a place where users can choose best courses for themselves.

    So, Just an administrator can create Courses Collection and not like lessons, collections will not be marked after finishing courses.

    Thanks for your feedbacks, we will consider upgrading this add-on for more better.

    Best regards,

    Ken

    Thread Starter kleijheeg

    (@kleijheeg)

    Hi ken, thank you for your quick response.

    For point 2 I meant to stripe out a course in the collection. Not the total collection.

    For example see link.

    Plugin Contributor Ken Nguyen

    (@kendy73)

    Hi kleijheeg,

    I see. Yeah this is nice idea. Please wait for the next update of Collection add-on. I received many feedback for this one and my team is going to try to make it better.

    Ken

    Thread Starter kleijheeg

    (@kleijheeg)

    I’m looking forward to the update.

    about my first question. You add the tab to admin in this code

    /*
    * Add tab Collection into collection admin tabs
    */
    function learn_press_admin_tabs_info( $arr ) {
    	$arr[11] = array(
    		"link" => "edit.php?post_type=lpr_collection",
    		"name" => __( "Collections", "learn_press" ),
    		"id"   => "edit-lpr_collection",
    	);
    	return $arr;
    }
    
    add_filter( 'learn_press_admin_tabs_info', 'learn_press_admin_tabs_info' );
    
    /*
    * Add admin tabs into page 'edit-lpr_collection' and 'lpr_collection'
    */
    function learn_press_admin_tabs_on_pages( $arr ) {
    	array_push( $arr, 'edit-lpr_collection' );
    	array_push( $arr, 'lpr_collection' );
    	return $arr;
    }
    
    add_filter( 'learn_press_admin_tabs_on_pages', 'learn_press_admin_tabs_on_pages' );

    can i add here the author role also?

    Plugin Contributor Ken Nguyen

    (@kendy73)

    Hi,

    The capabilities was processed in other functions, and still now, it just applies for administrators (the hook learn_press_admin_tabs_info). ??

    For any further questions about premium add-ons and better support, please discuss with us in our forums at thimpress.com/forums.

    Regards,

    Ken

    Thread Starter kleijheeg

    (@kleijheeg)

    I found it in inc\lpr-core-functions.php. Merci

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Premium collection plugin’ is closed to new replies.