你好~~
我的網址:
http://windmill.myvnc.com/plog/我是下載「plog-plugin-authimage-20041206.class.rar」解壓縮後放到
windmill.myvnc.com/plog/目錄下,我記得有三個目錄分別是authimage、class、plugins,authimage直接拷貝而class與plugins是以覆蓋方式拷貝。
我是亂包版PLOG,修改reicfull模版下的commentform.template
內容與安插位置如下
<div class="comments-body">
<form name="NewComment" action="{$url->getBaseUrl()}/index.php" method="post" onsubmit="if (this.bakecookie[0].checked) rememberMe(this)">
<div style="width:150px; padding-right:15px; margin-right:15px; float:left; text-align:left; border-right:1px dotted #bbb;">
<label for="subject">{$locale->tr("comment_topic")}:</label><br />
<input tabindex="1" id="subject" name="commentTopic" /><br /><br />
<label for="author">{$locale->tr("comment_username")}:</label><br />
<input tabindex="2" id="author" name="userName" /><br /><br />
<label for="email">{$locale->tr("comment_email")}:</label><br />
<input tabindex="3" id="email" name="userEmail" /><br /><br />
<label for="url">{$locale->tr("comment_url")}:</label><br />
<input tabindex="4" id="url" name="userUrl" /><br /><br />
<label>記錄個人資訊:</label><br />
<input type="radio" id="bakecookie" name="bakecookie" />
<label for="bakecookie">是</label>
<input type="radio" id="forget" name="bakecookie" onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" />
<label for="forget">否</label><br style="clear: both;" /><br />
</div>
<div>
Enter this code <input type="text" size="20" name="commentAuthCode" value=""/> {$authimage->show()}<BR>
<label for="text">{$locale->tr("add_comment")}:</label><br />
{* quicktags plugin *}
<script type="text/javascript">edToolbar();</script><br/>
{* quicktags end *}
<textarea tabindex="5" id="text" name="commentText" rows="10" cols="40"></textarea><br />
{* quick tags & smiley plugin *}
<script type="text/javascript">var edCanvas = document.NewComment.commentText;</script>
{$smileys->generateSmileysBar()}
{* smiley end *}
<br />
<input style="font-weight: bold;" type="submit" name="post" value=" {$locale->tr("comment_send")} " />
<input style="font-weight: bold;" type="reset"><br /><br />
<input type="hidden" name="op" value="AddComment"/>
<input type="hidden" name="articleId" value="{$post->getId()}"/>
<input type="hidden" name="blogId" value="{$blog->getId()}"/>
<input type="hidden" name="parentId" value="{$parentId}"/>
</div>
</form>
</div>
然後到外掛程式中心,依照說明勾選enable與驗證前置碼AI與顏色。
GD是新版的所以也改成*PNG*(不是很清楚這部分,總之改後我就看的見圖案了)
目前就是驗證會出現錯誤訊息,不知道為何會如此?
請教一下我該如何努力?