|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Res: Res: authenticated commentsYes, I am using a LDAP to authenticate I made this change on asual-entry.vm: #if ($BLOJSOM_USER_AUTHENTICATED) .... perform comment FORM assembly #else <div class="label">Please <a href="#BlogAdminURL()/?action=page&flavor=admin">login</a> first.</div> #end BUT :-) This send me to the login page and after that I am redirected to admin console. ----- Mensagem original ---- De: Shalini <shaliny.i@...> Para: blojsom-developers@... Enviadas: Quarta-feira, 17 de Setembro de 2008 14:34:33 Assunto: Re: [Blojsom-developers] Res: authenticated comments Hi Igor,
Yes that is the correct variable. You will need to edit the .vm files like ocean-entry.vm and asual-entry.vm where all the blog posts and comment boxes appear (there is a loop that iterates over the array of entries i think). The authenticated user will not be able the post. I think the default setting (david please correct me if im wrong) is that only the owner of the blog can post entries. What are you authenticating against? I was using LDAP. If you're using Database there might be a problem - Say person A has written a blog and person B wants to comment. Person B needs to be present in the DBUser table of the database even though he is JUST a reader and not a blog owner!! In LDAP you obviously don't face this issue because the person reading will definitely figure somewhere in the tree just by being a part of the organization or entity that uses the LDAP server... Cheers, Shalini On Wed, Sep 17, 2008 at 1:23 PM, Igor Regis <igor_ti@...> wrote:
-- http://crazy-quill.blogspot.com/ Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Blojsom-developers mailing list Blojsom-developers@... https://lists.sourceforge.net/lists/listinfo/blojsom-developers |
|
|
Re: Res: Res: authenticated commentsYa i've faced this issue...
There is more than one place you need to check in the BlojsomServlet.java so that it redirects you back to the same page where u wanna comment though... i'm sorry i've forgotten.. :) But look like a hawk at the BlojsomServlet file... On Wed, Sep 17, 2008 at 2:59 PM, Igor Regis <igor_ti@...> wrote:
-- http://crazy-quill.blogspot.com/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Blojsom-developers mailing list Blojsom-developers@... https://lists.sourceforge.net/lists/listinfo/blojsom-developers |
| Free embeddable forum powered by Nabble | Forum Help |