WordPress.org

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

AVrAmTAR

Adds AVrAmTAR.com avatar next to users' comments on your WP-powered blog.

I have activated plugin but nothing happens?

Your theme might be incompatible with WP hooks so it won't display AVrAmTAR avatars. In other words, you need to modify your theme so it can show avatars. You can do that in few simple steps:

  • Open /wp-content/themes/YOURTHEME/header.php file and find <head> tag (it might be <head something something..>.
  • Add this line BELOW <head> tag: <?php avramtar_addcss(); ?>
  • If you want avatars to be automatically resized (recommended) then add following line below previous line: <?php avramtar_addjs(); ?>
  • Save and close header.php file, then re-upload it.
  • Open /wp-content/themes/YOURTHEME/comments.php file and find: <?php comment_text() ?>
  • Add this line ABOVE it: <a href="http://www.avramtar.com/" title="AVrAmTAR avatar"><img src="<?php echo avramtar_wp(); ?>" class="avramtar" alt="AVrAmTAR avatar" /></a>
  • Save and close comments.php file, then re-upload it.

How to change dimensions of avatars?

Open /wp-content/plugins/avramtar/avramtar_wp.js and around line 9 find "var _resizeWidth = 65;" Change the number (default: 65) to the width (in pixels) you need. The height of each avatar will be automatically resized to constraint proportions of image.

If you want to define height of avatars and width to be automatically resized, then change value of _resizeWidth to 'auto' (with apostrophes) and change value of _resizeHeight to the height (in pixels) you want (w/out apostrophes).

If you want to define both width and height (not recommended) then change both values for _resizeWidth and _resizeHeight to the values (in pixels) you want (w/out apostrophes).

After that, save and re-upload file avramtar_wp.js

How to change default avatar?

Open /wp-content/plugins/avramtar/avramtar.php and around line 33 find "function avramtar_wp($default = '') {" and then insert full URL to your custom avatar between apostrophes. You will get something like function avramtar_wp($default = 'http://mydomain.net/default-avatar.gif') {

Then save and re-upload file avramtar.php

This plugin messes up my blog in IE6!?

Yes, I know, in most cases it does mess up blog in IE6. That's because of tableless design of your blog, and IE just can't handle tableless design without support for CSS2. So, enable CSS2 in IE6. How? Easy! Use set of javascripts found here (http://code.google.com/p/ie7-js/) and add them to the header of your blog and everything should be fine.

...but, WP 2.5+ already has avatars...?

Yes, it does have avatars powered by Gravatar. But this plugin was made before WP 2.5 and it enables dynamic avatars from http://www.avramtar.com - with each refresh you get different avatar. That's more fun :-)

Requires: 2.0.2 or higher
Compatible up to: 2.8.x
Last Updated: 2009-8-16
Active Installs: Less than 10

Ratings

0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.