![]() |
Thankx Mystikal!!
Install was pretty easy...works like a charm!! [high]* Minifreunde klicks install!! :D[/high] |
One Thing.... did you think about a store-integration with the avatar-hack?? This could be very cool!! ;)
|
Hm, i can't get the mini avatar visible. I have it in the postbit next to the username and altough the default stays visible it will not update the new image. :(
Strange thing is that it's working correct in the loggedinuser for the who's online display. (???) Another code for the postbit? |
how to change?
help please. |
how to change what? the default? uhm... just edit in a graphics program and reupload it? I'm not sure what you're asking.
Nuclion, for the postbit it would be icon.php?userid=$post[userid] |
Tnx Mystikal :)
|
I tried on photoshop
but it make it even worst. |
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.. ;) |
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.
|
Quote:
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! |
whoa... that's weird... what version of vbulletin are you using?
|
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. |
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 Error 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 |
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 :) |
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"> to: <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! |
Nice idea:)
Satan |
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.
So...care 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" Third: Quote:
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 http://www.sonsofvalor.com/community I've installed many, many hacks from vb.org 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. |
I'm working on it.. there is something wrong with the code.. but it should be updated...
|
oh, ok thx
|
Thanks, nice job!
|
I had the same issues as ChrisLohman, gave it my best, really cool sounding hack. If anyone rewrites the instructions for us simple minded folk, I'll give it another shot :)
|
Ok, I redid the instructions so it should be a little better, I fixed some of the code stuff that was saying that the image you uploaded was too large even though it was actually smaller.
I take no credit for this, im just helping ppl to get this awesome hack installed. The instructions attached are exactly how and what I used to get mine working. There are no SQL stuff to run as it has nothing to do with your DB. Enjoy and let me know how it goes. |
I'm sorry that I haven't had time to work on this as of late guys.. been pretty busy with school =(
|
Cool hack but could you or someone else make this exactly like avatars (icon list, custom icon, custom icons in the database, post count requirement)?
Edit: Never mind, I made it myself including a store integration. Will post it here some time. |
Love the idea for this hack, but I'd prefer it if someone could code a version of it where the user wouldn't add a custom mini-avatar but would rather select one from a list pre-determined and provided by the admins... can anyone do that?
|
Is there any way to change this so that only admins can add mini-avatars?
|
Quote:
Now I'm having some troubles with my installation... I changed it around a bit because I would like to have instead of individual users having an icon, I'd like to have an entire GROUP have the icon. This would work inside the posts because of the $post array being available (and usergroupid being a value inside that array), however - on the front page, for the little "who's online" display, it doesn't work. Obviously the $post array isn't available there so I gave $bbuserinfo a shot - well, $bbuserinfo does have the value I'm looking for, but it only gets the usergroupid variable ONCE (in my case, it's always 6, which refers to Administrator). I'm wondering if anyone knows where either the usergroupid is stored for the current user being displayed in the who's online list (on the forum home page) or where the query is for it so I can add in another query to get the usergroupid for those users. Thanks! |
Quote:
|
perhaps for 3.6?
|
a beta released in 2002
And he hasen't been on since 03 Really no reason to up it =\ |
I know just useful for what I am trying to do.
|
All times are GMT. The time now is 11:39 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:
|