Dec 04, 2008, 12:23 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Search via SMF or Google: modx forums all of modxcms.com web
  MODxCMS.com   Forums   Help Login Register  
News:Donate to MODx: Donations
Pages: [1] 2 3 ... 7   Go Down
  Print  
Author Topic: Support/Comments for Jot  (Read 51902 times)
0 Members and 1 Guest are viewing this topic.
bS
Moderator
*
Posts: 398



WWW
« on: Sep 26, 2006, 10:14 AM »

Give your site users the opportunity to enter feedback on your articles. Add comments to articles, create guestbooks, you can even use multiple instances on the same page. Jot is the reincarnation of the former Replix snippet.

* Latest Version: http://modxcms.com/Jot-998.html
* Jot Demo Site: http://projects.zerobarrier.nl/modx/
* Documentation: http://wiki.modxcms.com/index.php/Jot (wiki)

To Do: ( = 1.0 Final)

Snippet:

* detect identical submits.
* change to other custom field method.
* Edit comment.
* Sorting.
* Custom field validation
* Stylesheet options (don't include, auto-include, define custom stylesheet)
* Threaded comments (nested, reply to reply)
* Report to moderator.
* mode: Private Messaging.
* mode: Forum.
* Preview.
* User Postcount.

Module:
* Central moderation.
* Documentation.

Feature Requests:

* TrackBack
« Last Edit: Oct 21, 2006, 10:51 AM by bS » Logged

Armand Pondman
MODx Coding Team
:: Jot :: PHx
dazze
Jr. Member
*
Posts: 20


oops..


WWW
« Reply #1 on: Sep 27, 2006, 02:45 PM »

I want to use this snippet for a guestbook. But I miss a feature:
On some sites we have problems with spam guestbook entries. So I need an option to hide new entries by default. A webuser (or group) should be able to activate or delete this entries.

I missed this in usercomments and replix too. I hope that I don't have to write my own guestbook snippet.

Is it possible to add this feature in jot??
Logged
Mitch
Full Member
***
Posts: 225


« Reply #2 on: Sep 27, 2006, 04:35 PM »

That would be a nice feature. In my own custom guestbook (not ready enough for release) I have an option similar to that. In my case the new message is checked agains a "badwords" filter (a chunk with bad words in my case). If any of the bad words is found in the message then the message is hidden automatically and can be unhidden by an admin. By tweaking the badwords chunk it was quite easy for me to  catch all spam posts I get (about 2-3 a day) and all legit posts go through undisturbed.
Logged
bS
Moderator
*
Posts: 398



WWW
« Reply #3 on: Sep 27, 2006, 04:38 PM »

So I need an option to hide new entries by default. A webuser (or group) should be able to activate or delete this entries.

Good thing you mention this..  Jot is already prepared for this feature and I will add this in the next version.

@Mitch: nice idea.. I will add this to my list!
« Last Edit: Sep 27, 2006, 04:40 PM by bS » Logged

Armand Pondman
MODx Coding Team
:: Jot :: PHx
JeremyL
Full Member
***
Posts: 100


WWW
« Reply #4 on: Sep 28, 2006, 07:44 AM »

So does this version have

Quote
&makefolder 0 | 1 (optional)
   set to 1 to automatically convert the parent document to a folder.
   default: 0

Also is it database enabled yet?

These where really the only 2 options or replix that where must have for me because I don't want comments stored under the main content forcing the main centent to be a folder.
Logged

rthrash
Foundation
*
Posts: 9,575



WWW
« Reply #5 on: Sep 28, 2006, 08:59 AM »

Jot stores it all in the database, so makefolder is not needed. Smiley
Logged

MODx is a framework that allows web professionals to turn over sites to end-users for daily maintenance without worrying. Community participation and questions are encouraged, especially when you help us help you, read the wiki, and review snippet parameters – even if you have to look at the source. Searching the forums helps, too.
Ryan Thrash
MODx Co-Founder
Principal @ Collabpad
work productively.
work intelligently.
work together.
PaulGregory
MODx's midnight runner
Moderator
*****
Posts: 1,095

MODx's midnight runner


WWW
« Reply #6 on: Sep 28, 2006, 12:39 PM »

Mitch, could you share your badwords list?

I think "http" should be considered a badword - the majority of spam I get contains this.

Another approach would be a "trusted" field for users - so approved members could reply instantly.
Logged

No, I don't know what OpenGeek's saying half the time either.
MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
Forum: Where to post threads about add-ons | Forum Rules
Like MODx? donate (and/or share your resources)
Like me? See my Amazon wishlist
MODx "Most Promising CMS" - so appropriate!
JeremyL
Full Member
***
Posts: 100


WWW
« Reply #7 on: Sep 28, 2006, 04:02 PM »

Quote
Jot stores it all in the database, so makefolder is not needed.

Perfect. Thanks.
Logged

bS
Moderator
*
Posts: 398



WWW
« Reply #8 on: Sep 28, 2006, 05:48 PM »

Jot 1.0 Beta 3 is now available from the repository.  Grin

Keep that feedback coming while it's hot.  Wink
« Last Edit: Sep 28, 2006, 05:58 PM by bS » Logged

Armand Pondman
MODx Coding Team
:: Jot :: PHx
JeremyL
Full Member
***
Posts: 100


WWW
« Reply #9 on: Sep 28, 2006, 07:54 PM »

is there a way to add this to all blog posts without actually having to put the snippet in each post? I want my authors to only worry about content. not snippets needing to be added.
« Last Edit: Sep 28, 2006, 08:09 PM by JeremyL » Logged

bS
Moderator
*
Posts: 398



WWW
« Reply #10 on: Sep 28, 2006, 08:14 PM »

is there a way to add this to all blog posts without actually having to put the snippet in each post? I want my authors to only worry about content. not snippets needing to be added.

put the call in the blog template, and use that template for each blog post Cheesy
Logged

Armand Pondman
MODx Coding Team
:: Jot :: PHx
Mitch
Full Member
***
Posts: 225


« Reply #11 on: Sep 29, 2006, 03:36 PM »

Mitch, could you share your badwords list?
Of course, here it is.
Code:
viagra,adobe,href=,[URL,buy
It seems that only 1 or 2 bots were spamming my guestbook with the same method over and over again, so the list is pretty short. Do note that my site only has Dutch speaking visitors, so it was no problem for me to put "buy" on the bad words list.
Logged
dazze
Jr. Member
*
Posts: 20


oops..


WWW
« Reply #12 on: Sep 29, 2006, 04:24 PM »

There seems to be a problem when installing on MySQL 4.0 server.
Got this message:
« Execution of a query to the database failed - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate latin1_general_ci NOT NULL, `userid` mediumint(10) NO »
      SQL: CREATE TABLE `modx_jot_subscriptions` ( `id` mediumint(10) NOT NULL auto_increment, `uparent` mediumint(10) NOT NULL, `tagid` varchar(50) collate latin1_general_ci NOT NULL, `userid` mediumint(10) NOT NULL, PRIMARY KEY (`id`), KEY `uparent` (`uparent`), KEY `tagid` (`tagid`), KEY `userid` (`userid`) ) TYPE=MyISAM

I removed the "collate latin1_general_ci " and created the table manually (with phpMyAdmin).
Logged
bS
Moderator
*
Posts: 398



WWW
« Reply #13 on: Sep 30, 2006, 09:38 PM »

The auto-installer feature is a known issue, and the only thing that causes the release to be named  BETA .
I will alter the SQL to be as generic as possible and I also need a good way to check if the tables exist without throwing any errors.
I've looked at the way the MODx installer handles this thing but i'm still not happy about it.

Jot Beta 4 is available!
I added the badwords functionality, for usage documentation check the release notes.  Grin

« Last Edit: Sep 30, 2006, 11:19 PM by bS » Logged

Armand Pondman
MODx Coding Team
:: Jot :: PHx
sottwell
Documentation Team
*
Posts: 8,170



WWW
« Reply #14 on: Sep 30, 2006, 11:50 PM »

I use code like this:
Code:
$sql = "SHOW TABLES LIKE 'mytable'";
$rs = $modx->db->query($sql);
$count = $modx->db->getRecordCount($rs);
and create the table/tables if $count is 0, or put up a page indicating that the table/s don't exist with a form with a button to let the user decide to create the tables or not. I use this for modules, to let the user decide to generate the tables at that point or not.
Logged

sottwell.com has moved to a lovely Solaris 10 server!
Log in username guest, password guestuser.
Templates are now becoming available at http://sottwell.com/templates.html
Pages: [1] 2 3 ... 7   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP

Copyright © 2005-2008 MODxCMS, All rights reserved. Contact Us
Styles by ziworks.com

Powered by SMF 1.1.4 | SMF © 2005, Simple Machines LLC

Valid XHTML 1.0! Valid CSS!