[pLog-svn] r1078 - plugins/trunk/authimage

mark at devel.plogworld.net mark at devel.plogworld.net
Mon Feb 14 19:57:51 GMT 2005


Author: mark
Date: 2005-02-14 19:57:50 +0000 (Mon, 14 Feb 2005)
New Revision: 1078

Modified:
   plugins/trunk/authimage/readme.txt
Log:
Update the readme.txt.

Modified: plugins/trunk/authimage/readme.txt
===================================================================
--- plugins/trunk/authimage/readme.txt	2005-02-14 19:54:36 UTC (rev 1077)
+++ plugins/trunk/authimage/readme.txt	2005-02-14 19:57:50 UTC (rev 1078)
@@ -1,23 +1,21 @@
-Plugin: Gravatar
-Author: Original by Dani Armengol, Modified by Mark Wu
-Release Date: 2005/01/23
+Plugin: AuthImage
+Author: Mark Wu
+Release Date: 2005/02/15
 Version: 1.0
 
-Returns the URL of an (gr)avatar for every comment. The image is loaded from Gravatar.com
+This plugin offers extra comment authentication for pLog. The idea is inspired by <a href="http://www.gudlyf.com/index.php?p=376">WordPress AuthImage Plugin</a> written by Gudlyf.
 
 In order to use, simply include the following:
-1. $gravatar->isEnabled() to check the plugin is enabled or not. 
-2. $gravatar->gravatar($comment,$rating,$default,$size) to get to Avatar from Gravatar.com
+1. $authimage->isEnabled() to check the plugin is enabled or not. 
+2. $authimage->show() to get the authentication image.
 
-Where:
-1. $rating is the allowed rating of avatar. Default is "G"
-2. $default is the URL of the default image that will be shown in case there is no gravatar available or if the user did not give an email address. You also can choose your default avatar from configuration panel. Default is "default.jpg"
-3. $size is the desired size in pixels of the gravatar. Default is 40.
+Install:
+1. Copy the install/templates/authimafe.template to your plog template folder.
 
 Example:
-Add the following code to postandcomments.template:
-{if $gravatar->isEnabled()}
-<img src="{$gravatar->gravatar($comment)}" width="{$gravatar->getSize()}" height="{$gravatar->getSize()}" align="left" />
+Add the following code to commentform.template:
+{if $authimage->isEnabled()}
+<div><label for="authImage">AuthImage</label><input type="text" name="authImage" id="authImage" value="" />&nbsp;{$authimage->show()}</div>
 {/if}
 
-You can add your own default avatar image to /plugin/gravatar/avatars. This plugin only support GIF and JPG format currently.
\ No newline at end of file
+You can add your own default background image to /plugin/authimage/backgrounds. This plugin only support GIF format currently.
\ No newline at end of file




More information about the pLog-svn mailing list