|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
FW: Res: Res: authenticated commentsHi Igor, You can use following code in asual-entry.vm which says
that if particular entry is allowing comment then check if user is not authenticated
then show a Login form otherwise show a comment form. #if
($entry.allowsComments()) #if(!$BLOJSOM_USER_AUTHENTICATED) <center>
#Loginform() </center>
#else
<!-- START: Comment form -->
<h3>Your comment:</h3>
<form id="commentform" method="post"
action="$permalink">
<div>
<input type="hidden" name="comment" value="y"
/>
<input type="hidden" name="entry_id"
value="$entry.getId()" />
<input type="hidden" name="permalink"
value="$entry.getPostSlug()" />
<input type="hidden" name="redirect_to"
value="$permalink" />
</div>
<div class="label"><label for="author">Author
(<span class="red">*</span>):</label></div>
<div class="input"><input id="author"
name="author" type="text"
value="$BLOJSOM_ADMIN_PLUGIN_USERNAME" class="fixed"
/></div>
<br><br>
<div class="label"><label
for="authorEmail">E-mail:</label></div>
<div class="input"><input id="authorEmail"
name="authorEmail" type="text"
value="$BLOJSOM_ADMIN_PLUGIN_USERNAME@..."
class="fixed" /><span>(not
displayed)</span></div>
<br><br>
<div cla ss="label"><label
for="authorURL">URL:</label></div>
<div class="input"><input id="authorURL"
name="authorURL" type="text" value="#if
($BLOJSOM_COMMENT_PLUGIN_AUTHOR_URL)$BLOJSOM_COMMENT_PLUGIN_AUTHOR_URL#end"
class="fixed" /></div>
<br><br>
<div class="label"><label
for="commentText">Comment (<span
class="red">*</span>):</label></div>
<div class="input"><textarea name="commentText"
id="commentText" rows="7" cols="55"
onkeyup="reloadPreviewDiv();" class="fixed"></textarea></div>
<br>
<br>
<br>
<br>
<div class="label"> </div>
<div class="input"><label
for="remember"><input id="remember"
name="remember" type="checkbox" #if
($BLOJSOM_COMMENT_PLUGIN_REMEMBER_ME)checked="true" #end />
Remember me?</label></div> <div
class="clear"></div>
<br>
<div class="label"> </div>
<div class="input"><input type="submit"
name="submit" value="Comment" class="button"
/><input type="reset" name="reset"
value="Reset" class="button" /></div>
<div class="clear"></div>
<br>
<div class="label"> </div>
<div class="input">
<h4>Live Comment Preview:</h4>
<div id="commentPreview"> </div>
</div>
</form>
<!-- END: Comment form --> #end
#end With regards, %20kailas_mhase@... | Cell: +91 99222 - 85247 | Tel: +91 (20) 3023 6106 From:
blojsom-developers-bounces@...
[mailto:blojsom-developers-bounces@...] On Behalf Of Shalini Ya i've faced this
issue... On Wed, Sep 17, 2008 at 2:59 PM, Igor Regis <igor_ti@...> wrote: Yes, ----- Mensagem original ---- Enviadas: Quarta-feira, 17 de Setembro de 2008 14:34:33 Hi Igor, On Wed, Sep 17, 2008 at 1:23 PM, Igor Regis <igor_ti@...>
wrote: Hi Shalini ----- Mensagem original ---- Hi Igor, On Tue, Sep 16, 2008 at 8:02 AM, Igor Regis <igor_ti@...>
wrote: Hi, Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com.
Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com.
DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- 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 |