GithubHelp home page GithubHelp logo

richardtape / wp-side-comments Goto Github PK

View Code? Open in Web Editor NEW
71.0 13.0 21.0 476 KB

Based on aroc's Side Comments .js to enable inline commenting

License: GNU General Public License v2.0

CSS 8.09% JavaScript 76.18% PHP 15.73%

wp-side-comments's Introduction

wp-side-comments

Based on Eric Anderson's SideComments.js to enable inline commenting. Medium.com-style inline commenting for WordPress

Please note that this project is very much in beta. Alpha, even. It's being actively developed and there will be several items going upstream to the main javascript library, too.

I'd absolutely love to have some feedback in terms of bug reports or pull-requests!

wp-side-comments's People

Contributors

richardtape avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wp-side-comments's Issues

Non-logged in comments

At the moment, if the user isn't logged in, they can't comment. (actually there's a JS error, but that will be fixed in the next commit)

Allow for the user to enter their details. i.e. use the comment_form() function to produce the markup.

This will need to be a change upstream?

Plugin Name

@richardtape , there is another wordpress plugin with the same name on the "wordpress network". This causes a problem with this plugin, since they have the same name (wp-side-comments). On the project I'm working now we are using your plugin, but the wordpress asks to do an update on it (based on the other wp-side-comments plugin).

So, what do you think about renaming it? I've thought about wp-sideComments or something like that.

Cheers and thanks for this plugin! =)
[Soon we will send a PR to add a reply functionality to it]

Comment permission

When I've got comments turned off for a post, I am still allowed to make an inline comment.

z-index of sidebar

The comments container can get hidden behind elements which don't move. Need to really bump up the z-index so it's on top.

Unmung the JS

At the moment all of the Javascript is loaded in one (unminified...this is beta ;) ) file. Separate and provide minified versions.

Permalinks to comments

Each comment could easily have a permalink - ensure that if visiting a permalink directly that the side commentd drawer is opened and the relevant comment is highlighted.

Comment replies

First; do comment replies make sense in this scenario.
Second; if they do (big if), how do we handle permalinks to replies and styling.

Make containing element a filter

'.commentable-container' is hardcoded in wp-side-comments.js

This should be passed through as a part of the commentsData object so that it can be edited via a filter/option

Plugin should use display_name and not user_nicename for flexibility

Commenting causes username eg. "ds" to be listed in database as Author Name instead of "David Stenbeck"

EDIT: I had my username as nicename on the site in question. The problem is that the script uses $user->user_nicename and then fallbacks to user_login.

The Script should use $user->display_name to set the commenters name to their chosen public display name.

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.