plugin by mykaDragonBlue
Installation is a simple process:
NOTE: before installing this plugin you should run the Xcomic Plugin Enabler provided with the plugin files. From your Browser open Path_To_Xcomic/progressometer/fixForPlugins.php to fix a few bugs in the CVS version of Xcomic
Progress Bar
NOTE: you will recieve errors if you have added a call to the plugin to your theme, but the plugin is currently inactive
Eventually I hope to allow multiple progress bars for use in different places in Xcomic
Setting Current Progress
Before an avatar can be uesd by a user it must be uploaded to the server. Go to the Progress-O-Meter page in the Administration section of Xcomic. below the display of avatars currently on the server is a file selection box that can be used to chose a new Avatar to upload from your local computer. once you have selected a file, press the 'Upload It' button and guess what should happen...
Changing the colors of the Progress-O-Meter
In the Progress-O-Meter section of the Xcomic Administration panel, find the user you want to assign an Avatar to in the 'Users Avatars' table. click on the 'Edit' button at the right to go to the Avatar selection page. When in the Avatar Selection Page, simply click on one of the available Avatars to assign it to the current user.
Using the Progress-O-Meter in Xcomic
In order to display a progress bar in Xcomic, you must edit the theme you are using. where you want the progress bar to be displayed. This will output an <img /> tag with class="avatar" (for use with css). Adding the appropriate section you theme's css file should allow you to appropriatly format the display of an avatar.
Optionaly, you can use <?php out('getLinkToAvatar'); ?> if you want to return only the file path of the relevant avatar. This call will output something like avatar/filename.ext so that you can apply your own image tag in the theme.
Styling the Progress-O-Meter
to gain the most functionality from the Progress-O-Meter, you will want to add you own styles to determine how it is displayed. To do this you will have to edit your theme's css file. (xc-themes/Theme_Name/style.css)