Register Members List Search Today's Posts Mark Forums Read

Mod Options
Mini-Avatars Hack Released Details »
Mini-Avatars Hack Released
Mod Version: 1.00, by Mystikal (Member) Mystikal is offline
Developer Last Online: May 2003 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 23
Released: 13 Oct 2002 Last Update: Never Downloads: 25
Not Supported Is in Beta Stage  

I've re-released this hack with a completely re-written database independent version Enjoy.

The mini-avatars system will enable users to have their own 16x16 image in front of their username in threads, and in the who's online portion of the website. The hack creates 1 table and alters a few files, with 2 new files created.

I'm working on the the new modifications to the admin panel, but this will get you up and running so far =)

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini-Hack -- HP/MP/EXP for VB 2.x.x Dunny vBulletin 2.x Full Releases 39 29 Oct 2001 18:44
Mini-Hack: Backend.php for vBulletin orca vBulletin 2.x Full Releases 9 13 Sep 2001 02:01

Old 18 Oct 2002, 03:56
NuclioN's Avatar
NuclioN NuclioN is offline
Join Date: Aug 2002
Tnx Mystikal
Reply With Quote
Old 18 Oct 2002, 07:13
mewgood mewgood is offline
Join Date: Nov 2001
I tried on photoshop
but it make it even worst.
Reply With Quote
Old 18 Oct 2002, 16:32
Kars10's Avatar
Kars10 Kars10 is offline
Join Date: Jun 2002
Real name: Karsten
Now i have the first Problem here!
When i try to change the Mini-avatar it donīt work.
I looked in the DB and see that the old avatar is still there after uploading a new one.
If i go to admin-panel and delete my avatar, than i can upload a other avatar. ... Any Idea?
Please excuse my bad english..
Funny eBay-Auctions:
Reply With Quote
Old 18 Oct 2002, 20:41
Mystikal Mystikal is offline
Join Date: Apr 2002
When you update it, it should still be there. However, in order to see the update, you need to refresh the page and it should show up.
Reply With Quote
Old 27 Oct 2002, 07:22
traekwon traekwon is offline
Join Date: Mar 2002
Originally posted by Mystikal
edit whatever templates you want and put that code in front of the username

if you want it in who's online, just edit the loggedinuser template in forumhome templates and put <img src="icon.php?userid=$uservariable[userid]" height="16" width="16"> in front of $user[username].

To get it to work I had to use:

<img src="icon.php?userid=getinfo&userid=$userid" height="16" width="16">

Thanks for the great hack!
Reply With Quote
Old 27 Oct 2002, 13:35
Mystikal Mystikal is offline
Join Date: Apr 2002
whoa... that's weird... what version of vbulletin are you using?
Reply With Quote
Old 05 Nov 2002, 02:38
edwardandtubbs1 edwardandtubbs1 is offline
Join Date: Oct 2002
what template do I change to add the avatar to next to the users names in the forums?

also I am new to this so can you tell me what part of code I am looking for.
Reply With Quote
Old 05 Nov 2002, 03:18
edwardandtubbs1 edwardandtubbs1 is offline
Join Date: Oct 2002
also I have this problem

my userid is 1 so anyone with a 1 at the start of they userid has my miniavatar. Also a member uploaded a miniavatar userid 27 and it jst shows the default avatar, just my database doesnt like the querys ERROR: Unclosed quote @ 94
STR: '
SQL: DELETE FROM `usericons` WHERE `userid` = '1' AND `filename` = 'indifference.gif' AND `data` = 'GIF89a2 LIMIT 1


SQL-query :

DELETE FROM `usericons` WHERE `userid` = '1' AND `filename` = 'indifference.gif' AND `data` = 'GIF89a2 LIMIT 1

MySQL said:

You have an error in your SQL syntax near ''GIF89a2 LIMIT 1' at line 1

Can I have the querys it install please
Reply With Quote
Old 05 Nov 2002, 08:38
Zombie Zombie is offline
Join Date: Oct 2001
For "Active Users" on the forum home you would use:
<img src="icon.php?userid=$userid" height="16" width="16">

For the "Who's Online" page you would use
<img src="icon.php?userid=$userinfo[userid]" height="16" width="16">

For your postbit you would use:
<img src="icon.php?userid=$post[userid]" height="16" width="16">

Hope that helps!

Nice little hack btw

Last edited by Zombie; 05 Nov 2002 at 09:37.
Reply With Quote
Old 08 Nov 2002, 03:00
auz1111's Avatar
auz1111 auz1111 is offline
Join Date: Nov 2002
Great hack! I got it to work after a little tinkering. Make sure to tell installers to change:

<img src="../icon.php?userid=$uservariable[userid]" height="16" width="16"align="absmiddle" border="0">


<img src="../icon.php?userid=$userid[userid]" height="16" width="16"align="absmiddle" border="0">

I kept getting the default icon until changing this. Thanks!
Reply With Quote
Old 23 Nov 2002, 14:13
Chris M's Avatar
Chris M Chris M is offline
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Nice idea

Reply With Quote
Old 02 Jan 2003, 21:12
ChrisLohman ChrisLohman is offline
Join Date: Mar 2002
Wow, I must have completely missed something with this hack as I can't make it work at all on 2.2.9. The install instructions left me very unclear on what to do in some instances. to help me figure out how to make this work? :nervous:

I went through the miniavatar_install.txt several times and double checked everything.

First: I don't see any edit miniavatar link in my user control panel; nor do I understand in these install instructions where that's supposed to happen. Is that part of the member.php stuff? If so, can you be more specific as to where to add this to member.php? I tried adding at the end (just before the closing php tag) and in the middle, but it made no difference.

Second: I tried entering my control panal, edition options, and then in my address bar I changed the action to miniavatar. This pulled a miniavatar upload page. I created a 16x16 flat image in photoshop that is 1kb in size. When I attempt to upload it it say the following: "the mini-avatar you attempted to upload is too large. Please limit sizes to 2 KB. The image you tried to upload was 0 KB"


add forumhome_loggedinuser at the very beginnign, which by default should be in front of the persons name.
All I can say after reading that is, Huh? I assume I'm editing the forumhome_loggedinuser template: what does "add forumhome_loggedinuser" translate to code wise? Did you mean to say add the <img src="icon.php?userid=$post[userid]" width="16" height="16"> into the forumhome_loggedinuser template some where?

Fourth: I see people talking about SQL errors. Did I miss some step where something was updated in SQL? I don't see any instructions to alter SQL in any way.

Fifth: The default_mini_avatar.gif is not being used. It's not replacing the ../icon.php... code with the actual image source. You can see this on my forumhome at

I've installed many, many hacks from and this one looks awesome; but I'm just stumped. I can't code in PhP (thus I can't read your code to figure out what is happening) but I've been able to handle every other hack I've come across. Obviously others have made it work so my brain must just be turned off today or something.

Obviously you don't have to help so anything would be greatly appreciated.

Last edited by ChrisLohman; 02 Jan 2003 at 21:50.
Reply With Quote
Old 02 Jan 2003, 22:17
Mystikal Mystikal is offline
Join Date: Apr 2002
I'm working on it.. there is something wrong with the code.. but it should be updated...
Reply With Quote
Old 03 Jan 2003, 00:38
ChrisLohman ChrisLohman is offline
Join Date: Mar 2002
oh, ok thx
Reply With Quote
Old 04 Jan 2003, 21:46
Christy Christy is offline
Join Date: Oct 2001
Thanks, nice job!

Last edited by Christy; 07 Jan 2003 at 09:58.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 00:55.

Layout Options | Width: Wide Color: