Giter Club home page Giter Club logo

jotx's People

Contributors

ant-tar avatar pusanukbr avatar temus avatar

Stargazers

 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

jotx's Issues

Предложение

Очень замечательный сниппет красиво оформленный.

Есть одно большое предложение уйти от jot совсем, так как код там старый неудобный заточенный под модераторство web группами.

?

JotX - no permission management

Hi,
I am using EVO v1.4.17, trying to adapt in my application your last version JotX. I chose him because he promised to work with JoCo module. Unfortunately, when I started to test final instalation I found an issue - permission management doesn't work. It's impossible to set properly params: &canview, &canedit and &canmoderate in the snippet call.
No way to set up those params to make published comments visible for all visitors - all comments are visible only for logged admin.
The responsible for it part of code (?) I found in file jot.class.inc.php at line 136 and below. Can you verify is it true? It looks like an unfinished part of code (comment in line 149 - "no logic for manager groups"). Unfortunately all previous versions of this file have are identical in this part of code. It was left here intentionally?

It would be a pity to problem like that makes this snippet not useful.
Or maybe I am wrong and making any mistake? Can you help me?
Regards
Tad

PS. My JotX call:
[!JotX?
&tplForm=Comments_tplForm
&customfields=name,email
&subscribe=1
&pagination=4
&badwords=dotNet
&canedit=web_users
&canmoderate=TePe
&canpost=web_users
&canview=``
&debug=1
!]
Unfortunately, I am not a programmer...

tree-ajax нельзя отменить удаление

Спасибо за великолепный сниппет!
При &config=tree-ajax когда удаляешь комментарии появляется сообщение "Вы действительно хотите удалить это сообщение?" и две кнопки "ОК" и "Отмена", если нажать кнопку "Отмена" сообщение все равно удаляется. Догадываюсь что проблема в том что при использовании ajax подключается файл /assets/snippets/jot/js/ajax.js и в нем вешается делегат который игнорирует этот confirm на ссылке "удалить", поправить никак не получается =(

JotX + reCAPTCHA v2

Здравствуйте,

Как подружить JotX и reCAPTCHA v2 Checkbox?

Ошибка

При выводе последних комментариев отдельно через

[!JotX? &action=lastcomments !]

Они нормально отображаются, но попытка модерировать или или редактировать приводит к ошибке работы сайта (белый экарн). Плюс ссылка на последний комментарий при таком выводе бесполезна если сам комментарий находится на другой странице.

Ошибка «Evo Parse Error» при переходе с PHP 5.6 на 7.3

При переключении версии PHP с 5.6 на 7.3:

Trying to get property 'action' of non-object
« Evo Parse Error »
Error : count(): Parameter must be an array or an object that implements Countable

ErrorType[num] WARNING[2]
File assets/snippets/jot/actions/treecomments.inc.php
Line 58
Source $commentTotal = count($tree[0]);
Current Snippet JotX

Ошибка PHP 7 Error : preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead

ErrorType[num] WARNING[2]
File /home/public_html/assets/snippets/jot/includes/phx.parser.class.inc.php
Line 254
Source $output = preg_replace("~(\b\w+\b)~e","wordwrap('\1',$wrapat,' ',1)",$output);
Current Snippet Jot
Error : preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead

Решение
$output = preg_replace_callback("(\b\w+\b)",
function($matches) use($wrapat) {
return wordwrap($matches[0], $wrapat, ' ', 1);
}, $output);

Отсюда
modxcms/evolution#716
Обновите в репозитории

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.