Re: [Radiant] Help with artofmission comments extension
On 2008/09/02, at 00:19, Mohit Sindhwani wrote: john wrote: Nevermind, a little patching and it's up and running, now just to figure out what To enable spam protection, you will need to set your Akismet key and url in the Radiant config. is supposed to mean... Hi John Can I urge you to please consider writing out the steps and a bit of information about the little patching that you did into the Summer Reboot Documentation Wiki? An example of an a page about an extension is at: http://wiki.radiantcms.org/Copy_and_Move - don't worry about screenshots. I need to use comments in the next couple of weeks, so I can create them for you when I get to it. The Summer Reboot wiki is at: http://wiki.radiantcms.org/Summer_Reboot The patching was mostly to radiant 0.6.6 to get it behaving close enough to what the comments extension expects (i.e. 0.6.7+). I'd suspect an up to date radiant install would need little or no effort to get working. As for the Akismet key, you can read more about akismet at their website: http://akismet.com/ - if I understand it correctly, it will help you scan the comments that have just been entered and give you back information about whether it is likely to be spam. You can get an Akismet key (free for personal use) by signing up for Wordpress - http://akismet.com/personal/ - a key comprises a key and the URL to which it applies. You'll get both of these when you sign up. You need to enter this key into the Radiant configuration so that the comments extension can use it to probe Akismet if comments are spam. For changing items in the Radiant config, there's an example here: http://wiki.radiantcms.org/Customizations_II in the first section. I looked at the source of the extension and found this: def akismet @akismet ||= Akismet.new(Radiant::Config['comments.akismet_key'], Radiant::Config['comments.akismet_url']) end I'm guessing you need to set: Radiant::Config['comments.akismet_key'] and Radiant::Config['comments.akismet_url'] Hope this helps. Also, hope that you'll seriously consider documenting the steps on Summer Reboot :) Cheers, Mohit. 9/2/2008 | 2:19 PM. Thanks, about as soon as I hit send I realized that Askimet must be something external to radiant, so now I've got my key/url pair but no time to work to that project. I should have some time this week (or next) to return to this issue and maybe even document the process. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Help with artofmission comments extension
john wrote: Nevermind, a little patching and it's up and running, now just to figure out what To enable spam protection, you will need to set your Akismet key and url in the Radiant config. is supposed to mean... Hi John Can I urge you to please consider writing out the steps and a bit of information about the little patching that you did into the Summer Reboot Documentation Wiki? An example of an a page about an extension is at: http://wiki.radiantcms.org/Copy_and_Move - don't worry about screenshots. I need to use comments in the next couple of weeks, so I can create them for you when I get to it. The Summer Reboot wiki is at: http://wiki.radiantcms.org/Summer_Reboot As for the Akismet key, you can read more about akismet at their website: http://akismet.com/ - if I understand it correctly, it will help you scan the comments that have just been entered and give you back information about whether it is likely to be spam. You can get an Akismet key (free for personal use) by signing up for Wordpress - http://akismet.com/personal/ - a key comprises a key and the URL to which it applies. You'll get both of these when you sign up. You need to enter this key into the Radiant configuration so that the comments extension can use it to probe Akismet if comments are spam. For changing items in the Radiant config, there's an example here: http://wiki.radiantcms.org/Customizations_II in the first section. I looked at the source of the extension and found this: def akismet @akismet ||= Akismet.new(Radiant::Config['comments.akismet_key'], Radiant::Config['comments.akismet_url']) end I'm guessing you need to set: Radiant::Config['comments.akismet_key'] and Radiant::Config['comments.akismet_url'] Hope this helps. Also, hope that you'll seriously consider documenting the steps on Summer Reboot :) Cheers, Mohit. 9/2/2008 | 2:19 PM. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Help with artofmission comments extension
Nevermind, a little patching and it's up and running, now just to figure out what To enable spam protection, you will need to set your Akismet key and url in the Radiant config. is supposed to mean... On 2008/08/31, at 12:22, john wrote: If there is any actual documentation for the artofmission comments extension could someone please point me to it. If not maybe someone who has experience with it knows where I'm going wrong. So far I've done 1. Installed the latest will_paginate from mislav 2. Installed the fastercsv gem 3. Installed the comments extension 4. Ran the comments extension migration 5. Restarted the server 6. Added `r:snippet name=comment/` to my blog page template After #6 I check the site and get the following instead of a comment block: undefined method `author_url' for nil:NilClass undefined method `author' for nil:NilClass undefined method `author_url' for nil:NilClass said on undefined method `created_at' for nil:NilClass : undefined method `content_html' for nil:NilClass undefined method `approved?' for nil:NilClass undefined method `approved?' for nil:NilClass The logs don't show anything unusual or errorish. I also tried `r:snippet name=comments/` `r:snippet name=comment_form/` in my template but those don't show anything when the page is rendered not even the above error. Anyone have an idea what is going on here? Thanks. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Help with artofmission comments extension
If there is any actual documentation for the artofmission comments extension could someone please point me to it. If not maybe someone who has experience with it knows where I'm going wrong. So far I've done 1. Installed the latest will_paginate from mislav 2. Installed the fastercsv gem 3. Installed the comments extension 4. Ran the comments extension migration 5. Restarted the server 6. Added `r:snippet name=comment/` to my blog page template After #6 I check the site and get the following instead of a comment block: undefined method `author_url' for nil:NilClass undefined method `author' for nil:NilClass undefined method `author_url' for nil:NilClass said on undefined method `created_at' for nil:NilClass : undefined method `content_html' for nil:NilClass undefined method `approved?' for nil:NilClass undefined method `approved?' for nil:NilClass The logs don't show anything unusual or errorish. I also tried `r:snippet name=comments/` `r:snippet name=comment_form/` in my template but those don't show anything when the page is rendered not even the above error. Anyone have an idea what is going on here? Thanks. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant