This topic contains 14 reply and 4 voices, and was last updated by sophie 4 years, 11 months ago
Viewing 14 Posts - 1 through 14 (of 14 total)
Author Posts
November 5, 2014 at 7:04 am 29730
sophie The template part of subscription plugin don't load. the probleme is on the dokan/classe/template-shortcode.php. you don't have rules for the subscription plugin. I add this line on number 90 : if ( isset( $wp->query_vars['subscription'] ) ) { return apply_filters( 'dokan_dashboard_template_render', dokan_get_template_part( 'dashboard' ) ); }
November 5, 2014 at 3:56 pm 29762
towhid towhid

Hello Sophie,

Please remove your code and go to dashboard->permalink->Save Changes. Hope that will solve your problem.

If feel any difficulties please let me know.

Thank You.

November 6, 2014 at 12:27 am 29795
sophie sophie

Nop sorry, the problem is already on

November 7, 2014 at 9:58 am 29902
towhid towhid

Hello Sophie,

Please provide your login details by using this form – http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

Thank you 🙂

November 7, 2014 at 8:45 pm 29952
stephane stephane

Hello towhid,
same probleme for me !!!
i saved the change on permalinks but still page not found result
i provide you my login details on form -http://wedevs.com/provide-login-details/
thanks for reply

November 9, 2014 at 3:21 pm 30045
towhid towhid

Hello Sophie,

Please open wp-content/plugins/wedevs-dokan-subscription/dokan-product-subscription.php file and find add_action( 'dokan_get_template_part', array( $this, 'load_template_from_plugin'), 10, 3 ); this line and replace with add_action( 'dokan_load_custom_template', array( $this, 'load_template_from_plugin'), 10 ); also find this function

function load_template_from_plugin( $template, $slug, $name ) {
        global $wp;

        if ( isset( $wp->query_vars['subscription'] ) ) {
            //var_dump( dokan_get_template_part( 'product_subscription_plugin' ) );
            $template = dirname(__FILE__).'/templates/product_subscription_plugin.php';
        }

        return $template;
    }

replace with

function load_template_from_plugin( $query_vars ) {

    if ( isset( $query_vars['subscription'] ) ) {
        $template = dirname(__FILE__).'/templates/product_subscription_plugin.php';
    }

    require_once $template;
}

and also, go to dashboard->permalink->Save Changes. Hope that will solve your problem.

Hope this will solve your problem. If feel any difficulties please let me know.

Thank You. 🙂

November 10, 2014 at 9:24 pm 30133
Tomas Tomas

It is working for me now. Thank you.

November 11, 2014 at 10:59 am 30174
towhid towhid

Hello Stephane,

The solutions I provided for @sophie also applicable for you.

Please let me know if you feel any complexity.

Thank You. 🙂

November 11, 2014 at 11:04 am 30175
towhid towhid

Hello Thomas,

Very glad to know that the solution works for you.

Thank You. 🙂

November 11, 2014 at 3:54 pm 30199
stephane stephane

Hello towhid,
the solutions your provided don’t work for me !
in dokan-product-subscription.php changed add_action in line 97 and also function in line 309
and go to dashboard->permalink->Save Changes
but still have a page not found issue !

thanks

November 11, 2014 at 5:06 pm 30205
towhid towhid

Hello Stephane,

Can you please upload the ‘dokan-product-subscription.php’ anywhere in the web and give me a download link then I can check the file.

Thank you 🙂

November 11, 2014 at 5:17 pm 30207
stephane stephane This reply has been marked as private.
November 11, 2014 at 6:07 pm 30213
towhid towhid

Hello Stephane,

Yes, I need ftp login. Before give me ftp login detials please check you first.

Also please provide your login details by using this form – http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

All of our developer team are busy at this moment. So its need time. Please have patience.

Thank you 🙂

November 11, 2014 at 6:23 pm 30215
stephane stephane This reply has been marked as private.
November 11, 2014 at 9:32 pm 30233
sophie sophie

thanks

Viewing 14 Posts - 1 through 14 (of 14 total)