Giter VIP home page Giter VIP logo

wp-notifications-center's People

Contributors

ninadjeret avatar

Watchers

 avatar  avatar  avatar

Forkers

voyelledev

wp-notifications-center's Issues

Add custom capabilities

Those custom capabilites will let customize user who can access & use Notifications Center.

Can't add variable in the notification

When you try to add a variable in the editor you get this error :

Uncaught TypeError: Cannot read property 'execCommand' of null
at HTMLSelectElement. (notification_edit.js?ver=4.9.1:63)

The issue seems to lie with tinymce

jQuery(".voy_mask_select").change(function() {
        
        if( jQuery(":selected", this).val() != "" ) {
            //send_to_editor("{" + jQuery(":selected", this).val() + "}");
            var content_to_send = "{" + jQuery(":selected", this).val() + "}";
            tinymce.activeEditor.execCommand('mceInsertContent', false, content_to_send);
        }       
        jQuery(this).val("");
        return false;
    });

Button not working anymore

In core/template.php, please replace $voynotif_notification->cta by $voynotif_notification->button_info.
Would do a pull request but this repo doesn't seem to be identical to Wordpress plugin directory.

La notification Nouveau commentaire ne s'envoie pas

Il manque ce code dans la classe comment_new.php

if( $notification->recipient_type == 'post_author' ) { 
    $author_id = $post->post_author;
    $author_email = get_the_author_meta( 'user_email', $author_id );
    $notification->add_recipient($author_email);
}

Problème dans les logs

PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function VOYNOTIF_logs::get_status_title(), 1 passed in /plugins/notifications-center/core/class.logs.php on line 86 and exactly 2 expected in /plugins/notifications-center/core/class.logs.php:436

Ajouter un émetteur par défaut

Reprendre celui de Wordpress si rien n'est rensiegné dans Notifications Center
Sinon les mails ne s'envoient pas et on a aucune idée pourquoi

Change default email data from database to plugin files

Today, Notifications Center stores in DB the default settings used for the email design, such as colors, logos, etc. To do this, all those data are added during plugin activation (& deleted during plugin uninstall).

To avoid useless database queries & storage, it would be better for those default settings to be loaded directly in the plugin files. Only custom data changed by a WP user would be added to the DB.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.