Community Forum

Forum Replies Created

  • Vincent Mimoun-Prat
    Participant
    # 3 years, 10 months ago

    Hi,

    We do not have that sorry. This should not be hard to develop though as our classes offer all the functions to easily persist that information into the database.

    Vincent Mimoun-Prat
    Participant
    # 3 years, 10 months ago

    Hmmm

    Looks like their version is 5.12 and not 5.12.0, am I right?

    In that case, the regex that could work is that one

     

    ‘/^5\.12(\.?)([0-9^\.]*)$/’ => 1, // regular 5.12 and 5.12.x are supported

     

    Could you try that?

    Vincent Mimoun-Prat
    Participant
    # 3 years, 10 months ago
    This reply has been marked as private.
    Vincent Mimoun-Prat
    Participant
    # 3 years, 10 months ago

    2. I did not get what you mean.

    3. All HTML produced by the plugin can be customized. Invoice templates are no exception. You can refer to the template system documentation

    4. Currently not, sorry.

    Vincent Mimoun-Prat
    Participant
    # 3 years, 10 months ago

    Hi,

    We are using the Html2Pdf library to produce the PDF files. Here is part of our code which initializes the html2pdf object.

    `$html2pdf = apply_filters('cuar/private-content/invoices/pdf/html2pdf-object', $html2pdf);
    $html2pdf->addFont('zapfdingbats', '', CUAR_PLUGIN_DIR . '/libs/php/html2pdf/vendor/tecnickcom/tcpdf/fonts/pdfazapfdingbats.php');`
    
    As you can see, we allow you to customize that object using a filter:
    
    
    function cuar_customize_html2pdf($html2pdf) {
        // Do anything you need with the $html2pdf object
        $html2pdf->addFont('yourfont', '', WP_CONTEN_DIR . '/path_to_your_font_folder/your_font.php');</pre>
    <pre>    $html2pdf->setDefaultFont('yourfont');</pre>
    <pre>    return $html2pdf;
    }

    You can get the fonts from https://tcpdf.org/

     

    Vincent Mimoun-Prat
    Participant
    # 3 years, 10 months ago
    This reply has been marked as private.
    Vincent Mimoun-Prat
    Participant
    # 3 years, 10 months ago
    This reply has been marked as private.
    Vincent Mimoun-Prat
    Participant
    # 3 years, 10 months ago

    Hi,

    Did you check for a plugin conflict ?

    Does it work with another theme?

    Do you have any add-on active?

    in reply to: Login redirect fail
    Vincent Mimoun-Prat
    Participant
    # 3 years, 10 months ago

    Hi,

    Have a look at that documentation: https://wp-customerarea.com/documentation/developer-guides/theme-development/

    The section about « Custom single templates » should tell you which file to update in your theme.

    Regards,

    Vincent Mimoun-Prat
    Participant
    # 3 years, 10 months ago

    Hi,

    Could you check the server setup? What kind of response do you get when downloading from mobile? Does it work with another theme?

    Vincent Mimoun-Prat
    Participant
    # 3 years, 10 months ago

    Hi,

    If you add the capability to create users to your teacher role, there should be no problem. This is part of WordPress core though and has nothing to do with our plugin.

    On our side, there is no user creation anywhere, we rely on the WP core functionnalities for that.

    Regards,

    Vincent Mimoun-Prat
    Participant
    # 3 years, 11 months ago

    Pour les réponses, voici le code qui les récupère. Vous pourrez ainsi avoir le nom du filtre à implémenter pour modifier cette requête.

    private function get_replies_query_args()
    {
        return apply_filters('cuar/private-content/conversations/replies/query-args', array(
            'post_type'      => CUAR_ConversationReply::$POST_TYPE,
            'posts_per_page' => -1,
            'orderby'        => 'date',
            'order'          => 'ASC',
            'post_parent'    => $this->ID
        ), $this);
    }
    Vincent Mimoun-Prat
    Participant
    # 3 years, 11 months ago

    Bonjour,

    Oui c’est possible via un peu de code PHP.

    Vous trouverez sur la page suivante de quoi vous inspirer :

    Modifying the queries for private content listing

    Cordialement,

    Vincent Mimoun-Prat
    Participant
    # 3 years, 11 months ago

    Hi,

    Yes, that is what the add-on is made for.

    Chosse the personal licence if you intend to use it on a single website. The other plans allow usage on more websites (respectively 5 and unlimited number).

    Regards,

    in reply to: Upload files from user
    Vincent Mimoun-Prat
    Participant
    # 3 years, 11 months ago

    Thomas est absent cette semaine (congés), il reviendra la semaine prochaine. Je lui rappellerai de venir faire un tour ici.

    Vincent Mimoun-Prat
    Participant
    # 3 years, 11 months ago

    Yes, just paste the URL to that private file in the private page.

    To view the private file, the user must have access to it of course.

    Vincent Mimoun-Prat
    Participant
    # 3 years, 11 months ago

    You said you have moved your website from one host to another.

    In that process, your website now lives in a different location on the server.

    If your database had references of that location (folder), then those are now incorrect.

    When moving a website from a host to another, you must take care of updating your existing database so that all the data stays consistent.

    The same is true if you have changed your domain name : old domain has to be changed to new domain in the database.

    Vincent Mimoun-Prat
    Participant
    # 3 years, 11 months ago

    Thomas is currently on holiday, he should be back next week with some tips, he is the frontend guy.

    in reply to: Integration problems
    Vincent Mimoun-Prat
    Participant
    # 3 years, 11 months ago

    Hi,

    Did you try switching to one of the default themes (such as Twenty Twelve). Are styles showing up there?

    in reply to: Styles not showing
    Vincent Mimoun-Prat
    Participant
    # 3 years, 11 months ago

    Hi,

    Files have to be stored on the server itself currently. You will not be able to reference private files on a remote FTP server.

    Regards,

    in reply to: FTP Export
Viewing 20 posts - 161 through 180 (of 281 total)