Forum Replies Created

Viewing 15 replies - 16 through 30 (of 128 total)
  • @buddyboss

    I don’t want to enable the “Groups” component in BuddyPress because I don’t need to use that; it’s not part of my site setup and it didn’t used to be required.

    Why is the BuddyPress for LearnDash add-on forcing us to activate groups when it didn’t before?

    Hey Diana,

    Sure, I’m currently using User Role Editor to add new Roles and assign capabilities/permissions. ??

    I’m bumping this topic. Has this been looked into?

    I’m creating a custom user role with specific capabilities and I’m not seeing a way to remove access to Custom CSS & JS in the capabilities list.

    Thread Starter Syrehn

    (@syrehn)

    Just realized if we go to the category specifically and then click the “events in” box to set the date it displays the URL based on cat/date. ??

    Marking as resolved.

    Syrehn

    (@syrehn)

    I’m just going to jump in on this.

    How would we handle this if we wanted to use a snippet that adds something to the theme vs. taking it away, or would it be a similar process. For example, I’m testing out some of the default Beaver Builder theme actions like this:

    function my_before_header() {
        echo '<div> I am right before the header div. </div>'; 
    } 
    add_action( 'fl_before_header', 'my_before_header' );

    Those don’t work in Code Snippets but do work in functions.php. What would be the best way to get these to work?

    Thread Starter Syrehn

    (@syrehn)

    Oops. Sorry, my bad!

    I was in rush and didn’t read the latest sticky; even though it’s in capitals. @_@

    Marking as resolved and using the plugin’s official support venue.

    After updating to the latest version of BuddyPress for Learndash I’m getting the error “BuddyPress for Learndash requires User Groups component to be enabled.” as well.

    Any resolution? Was working fine prior to v. 1.2.0

    This was almost exactly what I was looking for.

    The only issue is that wp_redirect, from my understanding, can’t open the link in a new tab. Is there a way to get around this?

    The GIST comments refer to a plugin that apparently isnt’ working any longer; and it’d be nice not to have to install yet another extension.

    Looking for this as well. Tried using the PDF Invoices plugin straight from WooCommerce but the template is ugly as sin and it doesn’t honour my Sequential Order Numbers plugin like this one does.

    However, I need my invoice number to match my order number which means that the minute and order is “Pending Payment” it needs to create a PDF Invoice and I currently don’t see a way to do this. There is an option for “Processing” but that’s not soon enough and it could cause a mess.

    Does the pro version of this plugin allow us to assign PDF creation to order statuses by chance? It’s the only thing holding me back atm from fulling implementing this plugin (and going pro).

    @felmantbuntog

    Thanks so much for posting that snippet, it was just what I was looking for.

    Any suggestions for displaying and saving the State/Province on the registration page?

    Apparently their could potentially be an issue with the above solution and capabilities… blargh.

    Alternatively we should be able to use the following snippet for categories as well. It uses the register_taxonomy_args filter that was introduced in register_taxonomy() in 4.4 (based on this post):

    add_filter( 'register_taxonomy_args', function ( $args, $taxonomy, $object_type )
    {
        // Only target the build in taxonomy 'kbe_taxonomy' aka 'knowledgebase_category'
        if ( 'kbe_taxonomy' !== $taxonomy )
            return $args;
    
        // Change the slug to our value
        $args["rewrite"]["slug"] = 'collections';
    
        return $args;
    }, 10, 3);

    If you use this method you still want to re-save your permalinks.

    Actually, after thinking about this a bit more, we should be able to change the category structure without modifying core code using something like the following (put in your functions.php):

    function kb_modify_category_taxonomy() {
        // get the arguments of the already-registered taxonomy
        $kb_category_args = get_taxonomy( 'kbe_taxonomy' ); // returns an object
    
        // make changes to the args
        $kb_category_args->show_admin_column = true;
        $kb_category_args->rewrite['slug'] = 'collections'; //change this to your category structure
        $kb_category_args->rewrite['with_front'] = true;
    
        // re-register the taxonomy
        register_taxonomy( 'kbe_taxonomy', 'kbe_knowledgebase', (array) $kb_category_args );
    }
    // hook it up to 11 so that it overrides the original register_taxonomy function
    add_action( 'init', 'kb_modify_category_taxonomy', 11 );

    The above example will change the category structure from:

    mysite.com/knowledgebase_category/general
    to
    mysite.com/collections/general

    Likewise, if you wanted to change the tag structure:

    function kb_modify_tag_taxonomy() {
        // get the arguments of the already-registered taxonomy
        $kb_tag_args = get_taxonomy( 'kbe_tags' ); // returns an object
    
        // make changes to the args
        $kb_tag_args->show_admin_column = true;
        $kb_tag_args->rewrite['slug'] = 'kb-topics'; // change to your tag structure of choice
        $kb_tag_args->rewrite['with_front'] = true;
    
        // re-register the taxonomy
        register_taxonomy( 'kbe_tags', 'kbe_knowledgebase', (array) $kb_tag_args );
    }
    // hook it up to 11 so that it overrides the original register_taxonomy function
    add_action( 'init', 'kb_modify_tag_taxonomy', 11 );

    The above example will change the tag structure from:

    mysite.com/knowledgebase_tags/general
    to
    mysite.com/kb-topics/general

    *Important: Make sure to re-save your permalink structure after adding the snippet(s).

    +1 for this request as well. I like beautiful, customizable slugs and this one throws me off. :/

    I’d also prefer to not have to mess with core plugin files to get this functionality. Maybe we can get some sort of filter or something to change it in the future?

    I was looking for this exact feature as well.

    I’m in a toss up between this plugin or the PDF Invoices plugin directly from WooThemes.

    This plugin feels a bit more polished, it plays nicely with Sequential Order Numbers right off the bat, saves a copy of the invoice to external sources, and has a better PDF layout.

    Neither has the ability to assign a PDF to a custom order status; however we can attach it to Pending/On Hold in the version from WooCommerce.

    Would this be functionality that you might consider adding to your plugin at some point in the future?

    Looks like this has been about 2-3 weeks since it was reported. Any updates to this?

    We just installed/activated the plugin and are seeing that PDF Invoices are not created automatically.

Viewing 15 replies - 16 through 30 (of 128 total)