Dooh!
Thanks Rick.
Bryan
On Nov 10, 6:42 am, "Rick Olson"
<technowee... gmail.com> wrote:
> On 11/9/06, haccont... yahoo.com
<haccont... yahoo.com> wrote:
>
>
>
> > Hello,
>
> > Is it possible to turn off comments for all
articles? I saw a
> > reference to "article.comments_allowed"
on the Liquid API Suggestions
> > wiki page
> >http://mephisto.stikipad.com/help/show/Liquid+API+
Suggestions.
>
> > Is there a way to do it in a configuration file,
etc? It would be
> > great to have this as a setting in the admin.
>
> > Thanks,
>
> > Bryansettings / comments / no comments allowed
>
> --
> Rick Olsonhttp://weblog.techno-weenie.nethttp://mephistoblog.com
--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com
To post to this group, send email to MephistoBlog googlegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribe googlegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---
|
Hello,
I was able to change the comment settings in the admin
section. The
setting works for articles created in the admin backend. It
does not
work for articles posted through the xmlrpc backend via
MarsEdit.
Those articles default to "never expire" in the
article setting upon
creation even though the comments "are not
allowed" on the site level.
I have attached the production log file.
Mephisto 0.7.2
Thanks,
Bryan
--Post using XML-RPC/MarsEdit--
Processing BackendController#xmlrpc (for 71.56.230.166 at
2006-11-10
23:16:28) [POST]
Parameters: {"action"=>"xmlrpc",
"controller"=>"backend",
"methodCall"=>{"methodName"=>"
;metaWeblog.newPost",
"params"=>{"param"=>[{"value&
quot;=>{"string"=>"admin"}},
{"value"=>{"string"=>"admin&q
uot;}},
{"value"=>{"string"=>"test&qu
ot;}},
{"value"=>{"struct"=>{"member
"=>[{"name"=>"flNotOnHomePage"
;,
"value"=>{"boolean"=>"0"
}}, {"name"=>"categories",
"value"=>{"array"=>{"data&quo
t;=>{"value"=>[{"string"=>"
;Home"},
{"string"=>"News Articles"},
{"string"=>"preview"}]}}}},
{"name"=>"description",
"value"=>{"string"=>"<a
href="http://www.apple.com/pro/
a>">Apple - Pro</a>: “For
thousands of pro photographers, the Mac is the only choice.
Explore
these pages to discover why. Learn about the myriad features
of Mac OS
X designed to streamline your workflow so you can focus on
creating
great images. Hear from industry luminaries on how they use
their Macs.
Find out about photography-related events. And much
more.”"}},
{"name"=>"link",
"value"=>{"string"=>"http://www.apple.com/
pro/"}},
{"name"=>"title",
"value"=>{"string"=>"Apple -
Pro"}}]}}},
{"value"=>{"boolean"=>"1"
;}}]}}}
Casting of method parameters failed
Sending data
Completed in 0.23899 (4 reqs/sec) | Rendering: 0.00007 (0%)
| DB:
0.02418 (10%) | 200 OK [http://www.site.com/xmlrpc
]
Processing BackendController#xmlrpc (for 71.56.230.166 at
2006-11-10
23:16:29) [POST]
Parameters: {"action"=>"xmlrpc",
"controller"=>"backend",
"methodCall"=>{"methodName"=>"
;metaWeblog.getPost",
"params"=>{"param"=>[{"value&
quot;=>{"string"=>"56"}},
{"value"=>{"string"=>"admin&q
uot;}},
{"value"=>{"string"=>"test&qu
ot;}}]}}}
Sending data
Completed in 0.01672 (59 reqs/sec) | Rendering: 0.00008 (0%)
| DB:
0.00178 (10%) | 200 OK [http://www.site.com/xmlrpc
]
--Post using Admin Backend--
Processing ArticlesController#index (for 71.56.230.166 at
2006-11-10
23:16:35) [GET]
Session ID: 655de345e386664e4af60ba53ebe6ced
Parameters: {"action"=>"index",
"controller"=>"admin/articles"}
Rendering within layouts/application
Rendering admin/articles/index
Completed in 0.12911 (7 reqs/sec) | Rendering: 0.11289 (87%)
| DB:
0.00304 (2%) | 200 OK [http://www.site.co
m/admin/articles]
Processing ArticlesController#new (for 71.56.230.166 at
2006-11-10
23:16:37) [GET]
Session ID: 655de345e386664e4af60ba53ebe6ced
Parameters: {"action"=>"new",
"controller"=>"admin/articles"}
Rendering within layouts/application
Rendering admin/articles/new
Completed in 0.01442 (69 reqs/sec) | Rendering: 0.00959
(66%) | DB:
0.00114 (7%) | 200 OK [http://www.sit
e.com/admin/articles/new]
Processing ArticlesController#create (for 71.56.230.166 at
2006-11-10
23:17:05) [POST]
Session ID: 655de345e386664e4af60ba53ebe6ced
Parameters:
{"article"=>{"permalink"=>"&q
uot;, "section_ids"=>["1"],
"title"=>"Test Article in admin",
"body"=>"Test Article in Admin body
text", "tag"=>"",
"excerpt"=>"",
"filter"=>"",
"published_at(1i)"=>"2006",
"published_at(2i)"=>"11",
"published_at(3i)"=>"10",
"comment_age"=>"-1",
"published_at(4i)"=>"23",
"published_at(5i)"=>"16"},
"commit"=>"Save
Article", "action"=>"create",
"q"=>"",
"controller"=>"admin/articles"}
Redirected to http://www
.site.com/admin/articles/edit/57
Completed in 0.13432 (7 reqs/sec) | DB: 0.03285 (24%) | 302
Found
[http://www.
site.com/admin/articles/create]
Processing ArticlesController#edit (for 71.56.230.166 at
2006-11-10
23:17:05) [GET]
Session ID: 655de345e386664e4af60ba53ebe6ced
Parameters: {"action"=>"edit",
"id"=>"57",
"controller"=>"admin/articles"}
Rendering within layouts/application
Rendering admin/articles/edit
Completed in 0.02270 (44 reqs/sec) | Rendering: 0.01330
(58%) | DB:
0.00480 (21%) | 200 OK [http://www
.site.com/admin/articles/edit/57]
On Nov 10, 3:39 pm, "haccont... yahoo.com"
<haccont... yahoo.com>
wrote:
> Dooh!
>
> Thanks Rick.
>
> Bryan
>
> On Nov 10, 6:42 am, "Rick Olson"
<technowee... gmail.com> wrote:
>
> > On 11/9/06, haccont... yahoo.com
<haccont... yahoo.com> wrote:
>
> > > Hello,
>
> > > Is it possible to turn off comments for all
articles? I saw a
> > > reference to
"article.comments_allowed" on the Liquid API
Suggestions
> > > wiki page
> > >http://mephisto.stikipad.com/help/show/Liquid+API+
Suggestions.
>
> > > Is there a way to do it in a configuration
file, etc? It would be
> > > great to have this as a setting in the admin.
>
> > > Thanks,
>
> > > Bryansettings / comments / no comments
allowed
>
> > --
> > Rick Olsonhttp://weblog.techno-weenie.nethttp://mephistoblog.com
g.com
--~--~---------~--~----~------------~-------~--~----~
Mephisto: http://mephistoblog.com |
Mephisto Help: http://mephisto.stikipad
.com
To post to this group, send email to MephistoBlog googlegroups.com
To unsubscribe from this group, send email to
MephistoBlog-unsubscribe googlegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/MephistoBlog
-~----------~----~----~----~------~----~------~--~---
|