![]() |
My mods have been bugging me for ever that they want custom avatars, just like they have custom user titles.
This hack is really simple, won't take you more than 5 minutes. :) 1. In member.php find Code:
if ($bbuserinfo[userid]==0) { Code:
if (ismoderator()) { Code:
if ($bbuserinfo[userid]==0) { Code:
if (ismoderator()) { Have fun. :) |
Thanks this is a nice hack. Something I have been wanting and should be included with vB.
|
so how does it work? I installed it and all users seem to still have avatars??
|
its made so it still works for people that have the right amount of post counts
|
Firefly -
Okay, I've made the changes. Now what? Do I have to turn on "upload/www avatars" in the CP? I can't seem to get it to work just so that only mods/admin/heads have av uploading, but NOT the members. :s |
Yes turn that on, but make the required post number realllllllllllllllllllly high.
|
Quote:
When I tried all that, I got it to show up okay for mods/admin/heads and not for members. So the first step is good. BUT! When I tried to upload an avatar using the upload or link box, it didn't take. It simply changed my av to the first avatar in the gallery list. This was tested by myself (admin) and a moderator, with the same results. I'll mess with it some more today, since I gave in in frustrations last night. *lol* But do you have any ideas why it won't save? {edited to say} - When I click upload from my pc, I get a "no valid avatar" error. |
Ok I updated the file for 2.2.4, because the hack is VERY old and only works on 2.0.3. So uninstall and install it again.
|
Quote:
:) Thanks for updating it, Chen. But I still get the same errors. For myself, I get an approval for changing my avatar, but it doesn't change if I do upload from pc. If I use a link, it defaults to the first av in the gallery. My mods get the error "no specified avatar" when using the upload option, and the frist av default when changing the other way. |
Damnit so many things have changed. :p
I'll look again... *sigh* |
All times are GMT. The time now is 11:17 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|