List Info

Thread: Scode




Scode
country flaguser name
United States
2007-12-20 06:50:32
Hey Cliff,

Thanks for any input,

Sorry it took me soo long to get back on this issue.
It seems no matter how I try the SCode input doesn't match
the SCode  
answer.

Here is the code from my log:
Dec 02 04:53:22 DEBUG [TP-Processor2] servlet.BlojsomServlet
- blojsom  
plugin execution:
com.mbledug.blojsom.plugin.scode.SCodePlugin
Dec 02 04:53:22 DEBUG [TP-Processor2] scode.SCodePlugin -
SCode input  
from comment form: 544710, Correct SCode answer: null
Dec 02 04:53:22 INFO  [TP-Processor2] scode.SCodePlugin -
SCode input  
doesn't match the SCode answer. Marking comment for
deletion.
Dec 02 04:53:22 DEBUG [TP-Processor2] servlet.BlojsomServlet
- blojsom  
plugin execution: org.blojsom.plugin.comment.CommentPlugin

I'm also including my current template:

#if ($entry.allowsComments())
     <div class="section">
       <h3>
         <img style="border: 0;"
src="/images/comment_add.png"  
height="16" width="16" alt="Comment
Add Icon"/>
         Leave a comment:
       </h3>
         <form id="commentform"
method="get" action="$permalink">
<p>
                 <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" />
             </p>
             <p>
                 <span
class="section">Author:</span>
                 <img
src="/images/asterisk_yellow.png"
height="16"  
width="16" alt="Asterisk Icon"/>
                 <br/>
                 <input type="text"
name="author" value="#if  
($BLOJSOM_COMMENT_PLUGIN_AUTHOR)$BLOJSOM_COMMENT_PLUGIN_AUTH
OR#end"  
class="fixed" />
             </p>
             <p>
                 <span
class="section">E-mail:</span>
                 <br/>
                 <input type="text"
name="authorEmail" value="#if  
($BLOJSOM_COMMENT_PLUGIN_AUTHOR_EMAIL) 
$BLOJSOM_COMMENT_PLUGIN_AUTHOR_EMAIL#end"
class="fixed" />
             </p>
             <p>
                 <span
class="section">URL:</span>
                 <br/>
                 <input type="text"
name="authorURL" value="#if  
($BLOJSOM_COMMENT_PLUGIN_AUTHOR_URL) 
$BLOJSOM_COMMENT_PLUGIN_AUTHOR_URL#end"
class="fixed" />
             </p>
             <p>
            <script type="text/javascript">
            function reloadSCode() {
           var scodeImage =
document.getElementById("scodeImage");
           scodeImage.src =
"$BLOJSOM_BLOG.getBlogBaseURL()/scode? 
flavor=kink&t=" + (new Date()).getMilliseconds();
            }
       </script>
               <span
class="section">SCode:</span> <img
src="/images/ 
asterisk_yellow.png" height="16"
width="16" alt="Asterisk Icon"/>
               <br/>
               <a href="javascript:
reloadSCode();">Generate another  
code</a>
         <br/>
         <img id="scodeImage"
src="$BLOJSOM_BLOG.getBlogBaseURL()/ 
scode?flavor=kink"
alt="SCode"/><br/>
         <input type="text"
name="scode" size="6"
maxlength="6"/><br/>
         Please enter the code as seen in the image above to
post your  
comment.
       </p>
             <p>
                 <span
class="section">Comment:</span>
                 <br/>
                 <textarea name="commentText"
id="commentText"  
rows="7" cols="55"
onkeyup="reloadPreviewDiv();"
class="fixed"></ 
textarea>
             </p>
             <p>
                 <input type="checkbox"
name="remember" #if  
($BLOJSOM_COMMENT_PLUGIN_REMEMBER_ME)checked #end />
Remember me?
             </p>
             <p>
                 <input type="submit"
name="submit" value="Comment"  
class="button" /><input
type="reset" name="reset"
value="Reset"  
class="button" />
             </p>
</form>
     </div>
   #end

--Samuel  http://www.macunkie.com

------------------------------------------------------------
-------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216
239;13503038;w?http://sf.net/marketplace
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )