GithubHelp home page GithubHelp logo

cmb69 / twocents_xh Goto Github PK

View Code? Open in Web Editor NEW
3.0 5.0 0.0 1.74 MB

Comment plugin for CMSimple_XH

License: GNU General Public License v3.0

PHP 96.66% HTML 3.17% CSS 0.15% JavaScript 0.01%
cmsimple-xh

twocents_xh's People

Contributors

cmb69 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

twocents_xh's Issues

Notification mail should be reply-able

To avoid issues where MTAs may block unknown From addresses, the notification mail sets From to the configured address. That's reasonable, but reply-to won't work as expected. Therefore it would be nice if the Reply-To header would be set to the commenter's address.

Thinking that a step further, it also would be nice if the email's body would be more like normal email, i.e. the actual comment should be quoted.

Improve conversion success messages

The message does not mention which files had been imported. This is misleading if there are no files, for instance, because the user has put them in the wrong place.

Wrong URLs may be generated

If a page name contains certain special characters and the page is not a toplevel page, wrong URLs are generated, which do not map to the page. See https://cmsimpleforum.com/viewtopic.php?f=10&t=13059 for detailed examples.

That's a problem of the current Url class, which does not especially cater to the "page URL" (i.e. $su), and so double percent encoding can occur. Since the Url class is also part of Pfw_XH, Pagemanager_XH, Foldergallery_XH, Uploader_XH and Cryptographp_XH these plugins may also be affected by this bug.

HTML editor should be resizable

While a scrolling textarea is fine (at least on contemporary browsers which allow to manually resize it), a scrolling div is not. Offering a resize handle would be best, but at the very least the editor should automatically grow.

Facilitate embedding images

While image upload (#12) is too tricky to make it into 1.0, embedding images appears to be reasonably doable, and might be a prerequisite for emoticons (#7) in HTML comments.

We must not forget to constrain the image display size to some reasonable value, though, see cmb69/forum_xh#2.

Add comments heading

Das hast du nun davon ...

Ich wünsche mir einen Header über den Kommentaren (Sprachvariable).
Siehe Testseite.

Prevent multiple JS script loading

Altough it is documented that twocents() must not be called multiple times on the same page, it can be called multiple times on different pages. Some plugins, such as Onepage_XH evaluate all pages, what causes Twocents_XH's JavaScript to be included and executed multiple times, causing undesirable behavior (such as multiple "Write new comment" buttons). While that's not strictly a bug in Twocents_XH, it appears to be reasonable to prevent multiple script loading in the first place.

IE doesn't mark up bold and italics

Actually, IE does mark up bold and italics, but not as <b> and <i>, but rather as <strong> and <em>, respecitvely. However, these tags are removed by HTMLPurifier.

The clean solution appears to be to convert to a canonical form, but at least we should support both sets.

New comments should be posted to last page

Writing a new comment stays on the current page, so the new comment might not be displayed. Instead we should post to the last page (which might even be a new page), or offer the possibility to add a comment only on the last page, or something else which is reasonable.

Implement import from GBook

Pressing the "Import all comments from the GBook plugin" button reports "Sorry—this feature is not yet implemented." The error message is even internationalized. Either we should actually implement it (somewhat doubtful, as nobody seems to even have reported this issue), or we should get rid of it altogether.

pagination error

Bei Überschreiten von pagination_max folgt:

Fatal error: Call to undefined function xdebug_break() in ... \plugins\twocents\views\pagination.php on line 4

HTMLPurifier's caching doesn't work

HTMLPurifier expects the directory standalone/HTMLPurifier/DefinitionCache/Serializer/ to exist, but it doesn't since we moved to Git, because the directory is empty by default.

Admin tools should jump to chosen comment

The admin tools (edit, show, hide) should set a URL fragment, so the browser jumps to the chosen comment. That would of course require to set an appropriate ID, as it's done for comments in view mode.

twocents & realblog

Habe gerade twocents-master mit realblog-master zusammen versucht.
Keine Kommentare angezeigt und keine Möglichkeit Kommentare zu schreiben.
?
Geht das im Moment noch nicht?

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.