WPMU Avatar Pack Release

It is with distinct pleasure that I can now announce the WPMU Avatar Pack!

Credits

Truly this isn’t a moment for me to bask in any kind of glory. Virtually 95% of the work that has gone into this plugin pack has come from other plugin authors for WordPress–they are a fantastic community of developers and they deserve full credit for what they do.
Most notably, the Profile Pics plugin was originally done by Hannah Grey, with major modifications to make it MU compatible by WDuluoz.

Usage

After installation, users will be able to navigate to their Profile page and upload their own photo. The photo will appear next to their comments across your WPMU site, and, if they use my Author Profile Enhanced widget, in their sidebar next to their “About Me” text. For a demo see http://suleiman.hadithuna.com.

Installation Instructions

The plugin pack consists of 3 separate items.

  1. Modded Profile Pics Plugin
  2. Modded Author-Profile Widget
  3. Modded MyCSS Plugin

STEP 1: Create the folder wp-content/avatars/. CHMOD to 755 or 777 if you have problems.

STEP 2: Unpack the Profile Pics Plugin into your mu-plugins folder. Then go to Site Admin –> Profile Pictures to configure its settings. Please Note: In order for the plugin to interact with the Author-Profile Widget, you MUST set your directory to wp-content/avatars/ and you MUST restrict the allowable file types to .jpg

STEP 3: Unzip the Author Profile widget to your mu-plugins/widgets/ directory or your plugins directory. Please Note: You will need to edit lines 74 and 75 of the code to point to the correct path and URL for your site!

STEP 4: Unzip the MyCSS plugin and place it into your mu-plugins folder. Only the relevant portions of the css that style the user’s image and the default image are contained in the css.

STEP 5: That’s it! You should now have a fully functional Avatars system for your MU site! User’s pictures are automatically added to 90% of the themes in the comments area, and you obviously in the sidebar.

You will also be kind to take note of the enhanced Author Profile Widget coded by moi :) The widget only displays a user’s picture if its uploaded, and if not displays the default image. It also displays the Author’s information from their “About Me” section. It also works in the loop, outside of the loop, and loop-ti-loop :)

Known Limitations

The Profile Pics plugin is broken in i.e. 7 (thank you Microsoft), because the form that it embeds in wp-admin/profile.php does not contain “enctype=multipart-form/data.”

The plugin is also broken in some themes, where pictures either don’t display next to comments at all, or come out formatted incorrectly.

Download WPMU Avatars 1.0

Sphere: Related Content




  1.   Vid

    Hey!

    I am trying to get this to work on my WP MU 1.1.1 and I did what you say. Everything is working in the admin panel and I see option to upload an image but when I select an image I want to use (it’s a 80×80 jpg) and press “update profile” avatar isn’t saved. My avatar folder is where it should be and is chmodded 777. Any ideas?

  2.   Suleiman

    Vid, are you trying to do the upload in Internet Explorer 7? If so, that is probably the reason why it is not working.

    Uploads are broken right now for that browser. If you can try again in firefox and report back, that would be great!

  3.   Bill

    Hello Suleiman!
    First of all thank you for this plugin. It’s very usefull!
    I installed it to WPMU 1.2 and uploaded a picture. This picture is being shown next to comments but not next to the “About me”. Is there any tip to fix it?

  4.   John Stones

    i’ve the same problem above …. no default pics in about me page …

  5.   floppy

    Hi, thanks for this great plugin, with FFox it works fine.

    A little question:
    There’s a way to add the avatar pics to the list-all plugin, in order to show in home page blog image ?

    Thanks in advance

  6.   Suleiman

    I’m glad to hear the plugin is working well under 1.2 Bill. As far as the problems you all are having, when you say the picture is not displaying on the “about me” page, then are you talking about the About Me page generated by Wordpress?

    Because the bundled widget only looks to the About Me section of each Author’s profile, and whatever picture they have uploaded there.

    Floppy, as far as adding this to the list-all widget, I’ll look into it and get back to you.

  7.   xiando

    Thanks for some nice improvements, I’ve used this plugin (geekgrl’s, anyway) for a while and I liked your gd addon. But you should change

    case “jpg”:imagejpeg($new_image, “$file_path”,80);

    since the image width is $gravatar_width, not always 80..

    also, I haven’t looked at your Author-Profile Widget yet (since I already have one which is works with geekgrl’s, and apparently yours) and the pictures really don’t have to be jpeg (since you’re apparently requires .jpg, you really should change that).

  8.   Suleiman

    Xiando, if you want to send me your modified profile_plugin.php file I’ll incorporate those changes into a future release, thanks!

    BTW, the GD mods were done by WDulouz, so be sure to thank him for them :)

  9.   hijabihoodlum

    this pretty much all went over my head, but you seem pretty happy about it so alhamdulillah.

  10.   Suleiman

    Hijabi, you would be too if you uploaded a new picture to your profile :-P

  11.   xiando

    actually… in upload_pic(),

    if ( $dimensions[0] > $profile_picture_options['maximum_size'] || $dimensions[1] > $profile_picture_options['maximum_size'] )

    What is going on here? ;) Now we’re checking picture dimentions against max *FILE* size? THIS IS A TOTAL OUTRAGE! (or major bug..). We’re supposed to check against the picture width, aren’t we? ;) maby I should look and see if you have like .. e-mail and just send a patch or something.

  12.   Suleiman

    lol…so this is the part where I can take some solace in having disclaimed any ownership over the profile pics plugin =P

    xiando, you’re right, that makes no sense at all. I sent you an e-mail, please check it and get back to me. Thanks!

  13.   Suleiman

    To everyone following this thread, I will be releasing an updated version sometime over the next weekend.

    Stay tuned!

  14.   Bill

    We are looking forward!

  15.   hassan

    Thanks, Brother
    IE7 is realy a pain!

  16.   drmike

    Thanks. :)

    We should stick a default image in there…

  17.   Suleiman

    Good point doc. The main reason i didn’t want to insert one is because I figured WPMU hosts would want to insert their custom avatar in there.

    But I’ll bundle one anyways, just so people can get an idea of where it would be used.

  18.   Corey

    How did you get your profile picture to show up in the sidebar?

  19.   Suleiman

    Corey, this Pack comes with a bundled widget. The widget will display a picture in the sidebar that has been uploaded by the blog author and will also pull from the blog author’s about me section from their profile page.

  20.   Corey
  21.   Suleiman

    Do you have any more details Corey? What specifically isn’t working. Do you have a problem with the author’s profile appearing properly in the sidebar? With the Avatars showing up next to the name? Or with the uploading of the avatars in the user’s profiles?

  22.   Suleiman

    and you’re using the widget in the sidebar or no?

  23.   Suleiman

    corey, are your permissions set to 777? Past that I can’t fathom what could be going wrong for you. The author profile widget is plugging in to the database to pull out the author ID. I followed that procedure to make sure it worked both inside and outside of the loop.

    I have a modified version that I wanted to put some finishing touches on, but I’ll try and e-mail it to you if you send me your e-mail address.

  24.   Ryan

    I look very much forward to your next release! We tried your plugin and widget, but something didn’t go right (probably our fault, not yours!), so decided to hold off until the next revision. Stuff like the sidebar photo and text presuming positioning in a right sidebar rather than a left, and narrow sidebars in themes cramping things (rather than just flowing the bio text below the photo). Still, this is very much something our bloggers would want! Great start!

  25.   Suleiman

    Just to let people who are following this thread know, Corey found a fix to his problem, as his site was hosting wpmu blogs on a subdomain. I’ve included his fix below, and it will be bundled in the next release.

    EDIT: I had posted the fix but wordpress slashed it out of here, so I’ll just bundle it in the next release.

  26.   Mr Papa

    dont want to rush ya, but do you have an eta on the next version? have been pulling my hair out on this, but now appears its because I am on a subdomain also…

    thanks!

  27.   Mr Papa

    Thanks Corey for the file! I had hacked something similar after reading the issue. Neither your fix nor mine fix the problem.

    Only issue now is that I still cant get it to upload avatars… they (the default) display fine in comments and profile stuff… avatars directory has 777 permissions… its Firefox…

  28.   gourav

    Hi
    When i save the profile-picture.php file in my Mu-plugins folder its showing the follwing msg under site Admin -> Profile picture msg.
    Plz help me.

    Warning: profile_picture_conf_page(upload-functions.php) [function.profile-picture-conf-page]: failed to open stream: No such file or directory in /home/mindsol/public_html/wpmu/wp-inst/wp-content/mu-plugins/profile-picture.php on line 36

    Fatal error: profile_picture_conf_page() [function.require]: Failed opening required ‘upload-functions.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/mindsol/public_html/wpmu/wp-inst/wp-content/mu-plugins/profile-picture.php on line 36

  29.   Suleiman

    what’s on line 36 of profile picture.php gourav?

  30.   Andrea_R

    I just installed it on my site and it seems to be working fine, so thank you very much. :)

  31.   Suleiman

    great andrea, I’m working on a new version still, and am trying to include automatic creation of 16×16, 32×32, and 128×128 images on picture upload.

  32.   mark

    Hi, I like this plugin as it will do great if i can get the picture to display properly.

    I’m putting this code in but not sure if this is what I should be putting into the sidebar.php

    user_login; ?>.jpg?rand=” height=”160″ align=”right” />

    It returns everything minus the number of the jpg that’s suppose to be shown (fatlace.com/stayfresh/wp-content/avatars/.jpg?rand=1638768743) and forgets to put the default.jpg or users jpg.

    Would you happen to know what’s going on? thanks in advance

  33.   gourav

    Hi

    The 36th line in profile_picture.php is

    function profile_picture_conf_page() {
    global $image_dir, $image_extensions, $gravatar_width, $image_default, $profile_picture_options;
    require_once(’admin.php’);
    require_once(’upload-functions.php’);

    Its showing that “upload-function.php” is missing.
    I have upgrade-function.php file but not with the name of upload-function.php.
    So plz Help me.
    Thanx

  34.   kemal birinci

    Thanks for this good plugin suleiman.

    plugin is working but widget is now shown in widgets options in my mu.
    and I have more question :
    when 32000 pictures upload in avatars directory,what happen later ? I read in forum that in a directory can have max 32000 file ?
    Maybe I remember wrong..

    thank you..

  35.   Suleiman

    I have to checkout the max number of files in a folder issue kemal, but it wouldn’t be hard to put in a filechecking function that would scan both directories for the relevant files, after splitting off the avatars past your 32,000th user into a different directory.

    As far as the issue with the widget not showing up, are you sure you placed it in the widgets directory inside of mu-plugins?

  36.   Stefano

    Hello,

    i would like to know when you will be releasing your next version since i have to go live with my site and need the avatar plugin.

    Thanks for the great work, keep it up!

    Stefano

  37.   Suleiman

    stefano, can you tell me why the present version isn’t working?

    the new version only has a few additional features, like the subdomain fix from Corey and a few image-size additions from xiando.

    are you on a subdomains install?

  38.   Stefano

    Hello,
    i still didn’t try it.
    I will do it in the weekend cause i have time.
    I was just asking if it was better to wait for a more bug-free version, as i saw some comments of people saying it wasn’t working.

    I’ll let you know.
    Thank you

  39.   Suleiman

    Stefano, you should definitely try it and see if it works first.

    Any bugs that exist are not going to damage your MU install. They’re simply going to display avatars or not display them (obviously this plugin pack is provided AS-IS, with no warranties however).

  40.   Stefano

    Hey again,

    after tweaking a bit your widget i got it to work as i want, only displaying the profile picture where i decide around the theme.

    Now i will test it with ie7, ff2 and ie6, but i am wondering why you say it has to be jpg, and cannot be gif and png.

    Keep up the great work!

  41.   The Royal Pug

    Hey Suleiman, first of all thanks for your great plugin, i’ve actually used only a part of it and probably the error i’m getting depends right on this. My problem is that users are actually unable to overwrite their previously uploaded avatar image with a new one. I’ve CHMODded the /avatars/ dir to 777 but nothings happens. Any suggesion? Thanks again,

    TRP

  42.   365

    Hi Suleiman,

    I have a problem, in that if I install into mu-plugins it doesn’t show in admin. It only shows if I place into plugins folder. I also have no drag and drop function.

  43.   Suleiman

    Royal, I will have to investigate the user’s being unable to overwrite their old avatars. If you could tell me the specific error that they get, or if the new image simply doesn’t upload at all.

    I’ll test on my own install to see if I also have this problem.

    365, I don’t understand your problem. The profile-picture.php file should be placed in your mu-plugins folder and should work out of the box.

    I don’t know what drag and drop functionality you’re referring to.

  44.   The Royal Pug

    Actually no error message shows up when uploading, even the ‘Profile updated’ ajax pops up but the avatar image is not being updated. I’ve not edited any part of the code on the admin-side, am i the only one experiencing this kind of issues? Once again, thanks for your support.

  45.   Morne Beck

    WoW !! Really neat plugin this.
    Works really well so Far.
    Will still try it with different themes :)

  46.   Jon Fox

    Great Plug in.
    Similar to The Royal Pug, I uploaded my avatar fine the first time. I deleted it once I saw how it resized.
    After that I can’t upload a new one. The ajax does it’s thing with no errors. The upload fails every time now.

    I have checked permissions and path.
    Very Odd…
    I am using FF 2.0
    Help would be appreciated.

  47.   The Royal Pug

    Anyonelse experiencing this kind of errors?
    Any help?

  48.   Andrea

    Sorry to bug you too, suilemen, but I’m havign the same issues here with users unable to overwrite old avatars. No errors, it goes through the process fine. It just doesn’t upload somewhere along the way.

  49.   Andrea

    Well, I narrowed down my own issues. the GD image library in Apache wasn’t installed on the server. Others might want to look into that. I’m still waiting for it to finish, but I’m hoping that’s all it was.

  50.   Ken

    Hey, great plugin just what I needed.

    I’m having the same problem with not being able to update profile images after the first one is uploaded. I get no errors, it looks like it uploaded but the old image will stick around. Sometimes the image uploads ok. Permissions are 777 for the avatars folder.

    Oh yeah btw, for people that is having problems with the widget not showing up, I needed to put ‘author_profile.php’ into the mu-plugins folder itself, when it was in the ‘widgets’ folder as it is in the zip, it didn’t show up.

  51.   Suleiman

    Just got married four days ago, so things have been a little hectic guys. I will try and look into the uploading issue and also see if the original plugin author Hannah Grey has found a fix for this problem.

  52.   Andrea

    Congratulations. :) Enjoy your honeymoon. Someone posted a potential fix in the forums, and it looks like it might work. I tried it, and it didn’t show a new avatar, but next comment I left, the new one appeared.

  53.   new-net

    Hi Suleiman, congrats about the wedding ;)

    Regarding the upload func, there seem to be a fix submitted on the wmmu forums here : http://mu.wordpress.org/forums/topic.php?id=3858&page=2&replies=82

    (testing right now)

    Cheers

  54.   Ron

    Ok maybe I missed something, but I can’t even upload a photo into my profile.
    WU 1.2.3 using subdirs

    I get error:
    Profile pic size is above the maximum size KB.
    Do I need to edit the max kb size? If so, where?

    Thnx

  55.   mohammad

    alslam alikm

    my friend i’m trying this plugins in two web site but it not working…!!

    and a small picture in the admin panel dose not show…!!

    and this is url for the picture

    ::

    http://jadl.org/wp-content/avatars/default.jpgProject-Id-Version: WordPress 2.0.3Report-Msgid-Bugs-To: POT-Creation-Date: 2005-05-09 17:11-0500PO-Revision-Date: 2006-06-14 20:50 0300Last-Translator: Sewar Language-Team: WordPress Arabic MIME-Version: 1.0Content-Type: text/plain; charset=utf-8Content-Transfer-Encoding: 8bitX-Poedit-Language: ArabicX-Poedit-Country: ARABIAN WORLDX-Poedit-SourceCharset: utf-8

    ::

    pls help :( …

    slam :))

    )

  56.   Domain murah

    Assalamualaikum warahmatullahiwabarakatuh, im interesting with this plugin, but is it possible user’s avatar also showing on every posting, not in comment only?

  57.   Lauren-Noelle

    I see what married life brings — no Internet, no website! You’re now a newlywed, by far no longer a honeymooner. Come on, pwease?

  58.   Lauren-Noelle

    Um no I didn’t *say* that, because the host timed out. I’m not rewriting.

    I don’t think marriage has been good for your website or visitors, I’ll repeat that much. :-)

  59.   Lauren-Noelle

    It timed out again. I’m giving up. E-mail me!

  60.   Lauren-Noelle

    I’m back. I could only display a photo with the original plugin, but not on my site. How do I display without widgets? There’s no way I’m not allowing GIFs, so NO widget for me. Where’s the regular code?

  61.   Suleiman

    Lauren, what problems are you having?

    If you want to allow GIF file format then you can do so. You’ll have to change the code in the widget to check for either a jpg or a gif file.

    I don’t quite understand what you mean by “where’s the regular code.” This plugin was adapted from Hannah Grey’s Author Profile plugin.

    And in case you were wondering, yes, married life is excellent :)

  62.   eskimo

    please help me…I want to put my profile picture on some where in blog

    by code???

    what’s code for it

    thanks

  63.   Muhammad John

    Assalamualaikum wr.wb.

    How to put users photo to the top page like multiply.com ?
    please help me.

    Wasalamualaikum wr.wb.

    Muhammad John

  64.   Alice

    Thank you very much, this is exactly what I was searching! I am having the same problem like Ron, about not being able to upload because of file size…

  65.   Alice

    My bad! I forgot to do step 2: “go to Site Admin –> Profile Pictures to configure its settings.”
    After doing it, everything seems fine.

  66.   Scott

    Our server requires permissions to be set as 664 however your plugin only sets 600 so how can wwe fix this so the avatars will work and show up?

  67.   Bartek Rycharski

    Hi!

    I want to put avatar in sidebar but I don’t want to use widgets.

    I want to include php function in sidebar - users will not have to put widget on their own.

    What function/code I have to add?

  68.   Diego Herrera

    I hate Microsoft too. But in order to use the Profile Pics plugin in i.e. 7 you must modify the line 24 in wp-admin/profile.php to looks like:

    That’s it

  69.   Diego Herrera

    hey what’s up with my last comment, well you must add

    enctype=”multipart/form-data”

    to the form tag in the line 24 of profile.php

  70.   demonicume

    hey bro, i’m rocking you plugin. a question, though. i’m looking to cobble it together with sitewide recent post functionality. i’ve looked at your code, but i’m not sure which function to use to call the avatar. any suggestions would be greatly appreciated.

  71.   webnut

    I love the plugin but I seem to be having an issue I just can’t figure out. It will only display the default picture and not the authors pic. Is there a fix to this issue?

  72.   ogeb

    Hi …
    Note: Images must be in the file type “.jpg” and images that do not fit the maximum width and size will automatically be resized.

    i cannot find upload button on your profile side

    thank for your help

  73.   Joseph

    i have installed the wpmu and installed also the avatar plugin. I configure it in the admin panel and when i try it, it did not display the avatar. Also i look at in the wp-content/avatars and found out that there is no image that i have uploaded, Please tell me what is wrong or missing of my installation and configuration

  74.   Joseph

    hey Suleiman, im really had a big problem of the plugin. I have installed and follow the steps that you have posted here in your site but seems no luck. The site that i am implementing is this
    neighbors.in/blogs, i have placed and installed my wpmu in a sub directory which is the blogs. Then i uploaded the WPMU Avatar Plugin in the this url neighbors.in/blogs /wp-content/mu-plugins then i follow the steps. I configure it in the site admin and set the the necessary configurations, after all the configurations, i try it in a test blog. I logged to users blog then go to profile and upload an image, after that i press update profile. Then it did not display the image that i have uploaded and when i look at in this url neighbors.in/blogs/wp-content/avatars/ it seems that the image that i have uploaded is missing. Tell me suleiman if what should i do and if there is some missing of my configuration, please help me i really like the plugin.. please HELP ME

  75.   Suleiman

    Joseph, I’m a bit busy right now so I may not be able to help you as much as I’d like.

    But most likely you need to check the path for uploaded photos, in the picture profile plugin php file.

    This plugin may not be working with subdirectories. You should switch to a host that allows wildcards + subdomains.

  76.   Joseph

    thanks for the suggestion Suleiman, but do you think changing my wpmu to the root directory will now make the plugin work?

  77.   hardyantz

    Assalamualaikum wr.wb

    Hi Suleiman, i really love your plug-in in WPMU, actually this the plug-in i need for my WPMU.
    but i have the same problem like joseph.
    i’ve install the plug-in pack like you said. but when i upload a picture. it didn’t show the picture i ‘ve been upload. my wpmu has been set at the root directory.
    please, please can you help me..

    thanks
    Wasalamualaikum wr.wb.

  78.   Bedava Oyunlar

    Release, but those avatars will not display as the theme is coded presently. However, GRavatars work wel

  79.   frogger6

    okay, call me stoopid, but I got stuck on step 2. what do you mean by “Then go to Site Admin –> Profile Pictures to configure its settings.”

    site admin where?

    duh

  80.   Mus_

    error on line 36.
    upload-functions.php.

    there’s no upload-function.php file in wpmu.
    how to fix this problem?

  81.   testing

    i can not get that widget to work at all

    i follow step by step
    i get stuck here

    Unpack the Profile Pics Plugin into your mu-plugins folder. Then go to Site Admin –> Profile Pictures to configure its settings.

    thta page just dont come up when i click it

  82.   shine

    Dear Sulaiman Thanks for your great plugin but i got errors, its showing the follwing msg under site Admin -> Profile picture.
    Plz help me.

    Warning: require_once(upload-functions.php) [function.require-once]: failed to open stream: No such file or directory in /home/photos/public_html/photos/wp-content/mu-plugins/profile-picture.php on line 36

    Fatal error: require_once() [function.require]: Failed opening required ‘upload-functions.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/photos/public_html/photos/wp-content/mu-plugins/profile-picture.php on line 36

    The 36th line in profile_picture.php is :

    require_once(’upload-functions.php’);

  83.   shine

    oh ya i use : wordpress-mu-1.3.3

  84.   Suleiman

    The upload-functions.php file is included with every wpmu and wordpress installation. You can find it in your wp-admin folder.

  85.   kajsolution

    Hi I’ve read all the comments but didn’t find how I can solve my problem… so…

    I am having problem viewing the page on step 2 : site Admin -> Profile picture

    when I click “profile picture” it will display a blank page. and I checked the source code… the last 5 line is:

    Themes
    Options
    Upgrade

    Profile Pictures

    other than that… I have an error says “image uploaded exceed whatever KB” when I try to upload image.

    Is there anyone has the same problem?

    I am using WPMU 1.3.3 + FireFox 2.0.0.14 + subdir

  86.   kajsolution

    sorry…. didn’t know this comment area converts my code into html ^^”

    Here is the blank page I have

    Following is the source code I see…

  87.   kajsolution

    eh… does it cut image code out?

    ok….

    here are the images link…

    http://www.kajsolution.com/images/

  88.   xoomboom

    Hello Suleiman

    thanks for the work on this much needed plug, wish it worked for me tho.

    Just installed WPMU 1.3.3 >> upload-functions.php deprecated therefor the Avatar Pack didn’t work for me.

    hope there is an update soon …

    cheers

  89.   Suleiman

    to xoonboom and everyone else experiencing difficulties with the upload-functions.php error, you just need to grab an older copy of upload-functions.php and drop t into your wp-admin folder.

  90.   CyberTech

    Suleiman,
    Where would we be able to download the upload-functions.php file from?
    I’ve just downloaded half a dozen different versions of WordPress from the site and NONE of them contain the upload-functions.php
    I assume that Wordpress is using something else instead of upload-functions.php now so could you find out what it is and update the code or supply a fix please?

  91.   Suleiman

    You can download this one from here CyberTech: http://hadithuna.com/sitewide/upload-functions.phps

    Let me know if you have any problems. Needs to go into your wp-admin folder.

  92.   serk

    hello suleiman,
    thank you for your great plugin. it runs verry good!

    Only for info:

    When some user their language switch to german.. Then is the path from the current image broken.

  93.   Dvh

    On Mu since one week and this is the very first time I can just write to a plugin developper just to say THX ! All went smooth and fine ! Excellent plugin !

  94.   oyun

    Suleiman,
    Where would we be able to download the upload-functions.php file from?
    I’ve just downloaded half a dozen different versions of WordPress from the site and NONE of them contain the upload-functions.php

  95.   Suleiman
  96.   oyun oyna

    Excellent summary. I also benefit at these events by deciding the 3 bottom line results I want to achieve

  97.   Nemo

    Dear Suleiman,

    are you planning a new version that does not need to download “upload-functions.php” and put it in a recent Mu installation?

    It is a dirty workaround…I’d like to rely not on it.

  98.   Suleiman

    Nemo, to be honest the development of this plugin has ended, in light of other more advanced plugins and plugin packages (like buddypress). Hadithuna will be making the transition to the buddpress system shortly, and I don’t really intend on continuing use of this plugin pack after that time.

  99.   Alyssa

    I had the same issue that Corey had. Can someone point me in the direction of where I can find the subdomain fix or maybe email it to me?

    I know development has stopped on this plugin but buddypress doesn’t seem to be stable enough for me to rely on.

  100.   Alex

    I’ve an error in the option menu: do u know why? =(

    Warning: profile_picture_conf_page(upload-function.php) [function.profile-picture-conf-page]: failed to open stream: No such file or directory in /home/blogpada/public_html/wp-content/mu-plugins/profile-picture.php on line 36

    Fatal error: profile_picture_conf_page() [function.require]: Failed opening required ‘upload-function.php’ (include_path=’.:/usr/php4/lib/php:/usr/local/php4/lib/php’) in /home/blogpada/public_html/wp-content/mu-plugins/profile-picture.php on line 36

    On my line 36: require_once(’upload-function.php’);

    =(

  101.   Alex

    P.S. I’m using wordpress mu 2.6, and my browser is firefox

  102.   Alex

    Thanks!!

  103.   Suleiman

    Alex, please see above. You need to download this file

  104.   saeed

    Hi.
    when i update profile:
    Error: Profile pic size is above the maximum size KB.

    Please go back and try again.
    + pleas help me.

  105.   islami sohbet

    Hi.
    when i update profile:
    Error: Profile pic size is above the maximum size KB.

    Please go back and try again.
    + pleas help me.

  106.   Adrian3

    Thanks for this great plugin. I have it working, but I have a question about pulling a blog owner’s avatar. The code that I am using is:

    bloginfo(’url’); ?>/wp-content/avatars/.jpg”

    That works fine for users who have set their profile, but fails to pull the default image if they don’t have a profile image uploaded. I know I am missing something, but I don’t know enough php to figure it out. Can you help? Thanks.

  107.   Adrian3

    Sorry, my php got stipped out of my comment. The code I am using is:
    bloginfo(’url’); ?>/wp-content/avatars/ echo $blogownerid .jpg”

  108.   Adrian3

    Pardon my multiple posts, but I forgot another bit of the php that I am using:

    global $wp_query, $blogownerid;
    global $wpdb, $blog_id;
    $blogownerid = $wpdb->get_var(”SELECT post_author FROM wp_” . $blog_id . “_posts”);

  109.   Adrian3

    Sorry again for all the posts, but I solved my problem and thought I would share it in case someone else is trying to figure this out. I have already proven I don’t know much about php, so this may be some terrible code. Sorry. But it works, so here it goes. This will output the avatar if it exists for the blog and if it doesn’t it will give you the default image:

    global $wp_query, $blogownerid;
    global $wpdb, $blog_id;
    $blogownerid = $wpdb->get_var(”SELECT post_author FROM wp_” . $blog_id . “_posts”);

    $path = “/home/domains/yoursite.com/html/wp-content/avatars”; //edit to your own path
    $url = “wp-content/avatars”; //edit to your own url
    $thumbnail = ‘/’ . $blogownerid . ‘.jpg’;
    if(file_exists(”$path$thumbnail”)) {
    echo “\”$url$thumbnail\” />”;
    }
    else {
    echo “wp-content/avatars/default.png\”/>”;
    }

    If someone wants to clean this up and make it more efficient, don’t hesitate to correct me. Thanks!

  110.   Suleiman

    Adrian, you need to use the function I wrote which first searches to see whether the user has uploaded a profile plugin, and then failing to find it, displays the default avatar.

    I think I included the function in the widget. You should be able to find it there.

  1. 1   WordPress MultiUser Avatar Pack Release « Dr. Mike’s Blog

    [...] 9th, 2007 · No Comments Mohammed Suleiman gives us the WordPress MultiUser Avatar Plugin. I’m working on getting this to work on daria.be [...]

  2. 2   WebmasterCorey » Wordpress MU Avatar Pack Subdomain Fix

    [...] made a fix for Mohammed Suleiman’s WPMU Avatar Pack that fixes the subdomain problem while configuring the Wordpress Add-on. Suleiman will add the [...]

  3. 3   » BBpress og WPMU Norsk WordPressMU

    [...] avatar funksjonen fra WordPressMU med bbpress. Denne plugin krever avatar pakken som du finner her på din WordPressMU instalasjon. Dette gir forumet alle postene i forumet et profilbilde. Brukerene [...]

  4. 4   rudb’s blog » wpmu 1.2.3

    [...] Add: WPMU Avatar Pack [...]

  5. 5   Everyday’s a WPMu day @ bava at bavatuesdays

    [...] first is Mohammed Suleiman Khan’s WPMu Avatar Release Pack which allows users to include avatars on comments and their about page. (He also has a plugin their [...]

  6. 6   Profile Picture Plugin WPMU Crop Thumbnails

    [...] you load up a profile pic using the geekgrl profile picture plugin which is also done by suleiman for wpmu the gd graphics library squashs or stretches the [...]

  7. 7   Blogs on our free hosting services » Blog Archive » New feature: add your avatar for your blog

    [...] We just installed a plugin called “WPMU Avatar Pack”. [...]

  8. 8   MU Admin Theme « The Nameless Blog

    [...] plugin is based on MyCSS for MU by Suleiman which he usually bundles with his other MU Plugins like WPMU Avatar Pack, and BM Custom Login by Ben [...]

  9. 9   Blat News » Blog Archive » Fixed up a few more things

    [...] I’ve added the WPMU Avatar Pack, which allows each Blat user to add an avatar (Avatar is just a smart name for an image) to their [...]

  10. 10   » Everyday’s a WPMu day @ bava WPMu Ed

    [...] first is Mohammed Suleiman Khan’s WPMu Avatar Release Pack which allows users to include avatars on comments and their about page. (He also has a plugin that [...]

  11. 11   MU Admin Theme · One Woman Show

    [...] plugin is based on MyCSS for MU by Suleiman which he usually bundles with his other MU Plugins like WPMU Avatar Pack, and BM Custom Login by Ben [...]

  12. 12   A List of Plugins for WPMu at bavatuesdays

    [...] The Author Description Widget Adds a sidebar widget to display The Author Description that is in the User–>Profile tab. Read more about this plugin on the developers site here. This plugin/widget is bundled with the WPMU Avatar Pack Release. [...]

  13. 13   » A List of Plugins for WPMu WPMu Ed

    [...] The Author Description Widget Adds a sidebar widget to display The Author Description that is in the User–>Profile tab. Read more about this plugin on the developers site here. This plugin/widget is bundled with the WPMU Avatar Pack Release. [...]

  14. 14   Prologue Theme Major Hit (or is it Punch-Out?) at bavatuesdays

    [...] I am using Suleiman’s excellent WPMu Avatar Pack Release, but those avatars will not display as the theme is coded presently. However, GRavatars work well [...]

  15. 15   Everyday’s a WPMu day @ bava — Plugin Test Blog

    [...] first is Mohammed Suleiman Khan’s WPMu Avatar Release Pack which allows users to include avatars on comments and their about page. (He also has a plugin that [...]

  16. 16   » Prologue Theme Major Hit (or is it Punch-Out?) WPMu Ed

    [...] I am using Suleiman’s excellent WPMu Avatar Pack Release, but those avatars will not display as the theme is coded presently. However, GRavatars work well [...]



Leave a Comment






Close
E-mail It