PDA

View Full Version : Default Avatar


Zachery
10-01-2005, 10:00 PM
Self Explanatory.

Will showup on the member.php page and in the postbit / postbit_legacy

default path is
images/avatars/noavatar.gif

You can modify this by editing the two plugins.

I even took the time to make you guys a noavatar.gif file :)

See this for the updated 3.7/3.8 verison (https://vborg.vbsupport.ru/showthread.php?t=223078)

Guest190829
10-02-2005, 04:30 AM
Just what I need,

* Guest190829 clicks install. :)

Floris
10-02-2005, 04:31 AM
Thumbs up mr woods

:Judge:
10-02-2005, 04:32 AM
Thank You very much, a must have. :)

smoknz28
10-02-2005, 05:16 AM
Zachery, thank you very much for sharing this with all of us. ;)

Working well for me...

Mark

SnowBot
10-02-2005, 08:18 AM
Thanks mate, just what i needed.

b6gm6n
10-02-2005, 10:45 AM
thankyou sir!

-b6

Snake
10-02-2005, 11:10 AM
Thanks and installed.

LittleBoy1
10-02-2005, 04:48 PM
Thank You very much!! :)

trancetopia
10-03-2005, 07:21 AM
Thank you very very very much. :D .:Installs:.

rblaze
10-03-2005, 01:46 PM
omg thank you ;D

*had requested this hack ^_^*

TygerTyger
10-04-2005, 10:27 AM
Good job, works well. Be nice to have the default avatar show up in memberlist.php as well, it's just a blank space where the avatar should be when viewing the page at the moment.

Neutral Singh
10-04-2005, 11:16 AM
Sweet !! Thanks :)

Bounce
10-04-2005, 04:55 PM
Whats the hook location

:tired: Hook Location This specifies the location within the vBulletin code of the hook that will fire this plugin function.

How do you know which plug in uses what :surprised:

C_P
10-04-2005, 05:05 PM
Good question. New to the plug in arena and could a FAQ's of these plug in's be available for plug in newbies added here?

I think it is pretty easy as you just select the Plugin System and select to Import Plugin Definitions XML File from download and if additional files are included, upload those to path specified by developer of plugin. If I am not mistaken?

Bounce
10-04-2005, 05:19 PM
Good question. New to the plug in arena and could a FAQ's of these plug in's be available for plug in newbies added here?

I think it is pretty easy as you just select the Plugin System and select to Import Plugin Definitions XML File from download and if additional files are included, upload those to path specified by developer of plugin. If I am not mistaken?

I think so, I think for a plug in you select plug in manager enter the code from the xml file,enter your title and select location of HOOK..

I've tried this one and nothing is happening :glasses:

Edit: I Think you add it in 2 places see the code, it tells you the name of where you put the plugins.. off to try again :nervous:

Bounce
10-04-2005, 05:33 PM
Maybe not lol

R1D1
10-04-2005, 05:41 PM
got the same prob: which hook?

Ignignokt
10-04-2005, 07:39 PM
This isn't showing up in the memberlist for me...

Zachery
10-04-2005, 07:51 PM
This isn't showing up in the memberlist for me...

Doesn't say anything about the membmers list does it? :)

Ignignokt
10-04-2005, 08:18 PM
I am good at reading... member.php != memberlist.php

hivelord
10-05-2005, 01:46 AM
You don't "Add" the plugin, you import it. Upload it to your server. You shouldn't need to edit any details yourself.

csidlernet
10-05-2005, 02:52 AM
thankyouverymuch!
/me installs

Michael2
10-05-2005, 03:35 PM
Works great, thanks!

C_P
10-05-2005, 03:53 PM
I clicked Install as well! Works like a charm. I guess my steps of " think it is pretty easy as you just select the Plugin System and select to Import Plugin Definitions XML File from download and if additional files are included, upload those to path specified by developer of plugin. If I am not mistaken?" should be all you need for this one.

vietkool
10-06-2005, 08:56 PM
works great !!! easy too, just import the XML file and upload the avatar.gif

thanks

wacodep
10-07-2005, 03:07 AM
wacodep clicks INSTALL. Nice.

piXelatedEmpire
10-07-2005, 12:05 PM
Doesn't say anything about the membmers list does it? :)
but that would be a great addition!

nice plugin all the same..

* piXelatedEmpire installs

Zachery
10-07-2005, 12:45 PM
but that would be a great addition!

nice plugin all the same..

* piXelatedEmpire installs

I originally thought about it and passed on it for two reasons.

1. I wasn't sure if it was actually possible for alot of reasons.
2. I was lazy.

Funchiestz
10-07-2005, 07:52 PM
b!d
Caga

b!d's Avatar

Join Date: Sep 2005
Location: Salatiga , Indonesia
Posts: 47

it showing text like that instead of showing noavatar.gif, can somebody help me? i use 3.5 Gold

Snake
10-07-2005, 08:17 PM
That means the image path is broken. Make sure you have uploaded to the right folder / directory.

Funchiestz
10-07-2005, 08:40 PM
That means the image path is broken. Make sure you have uploaded to the right folder / directory.

oh i upload to the wrong domain --.--"

Snake
10-08-2005, 11:52 AM
You see, that was the problem. ;)

secret1980
10-09-2005, 05:07 AM
how should i name the Plugin Title & should i do all into a single plugin ?? or should i do as 2 differnt plugins ?? if they are as 2 plugins then till wat should be copied into first & from where it should i start second ???

can any one help me :rolleyes:

badblu
10-09-2005, 08:17 AM
Thanks foe the great work :)

Inferno Dragon
10-09-2005, 02:15 PM
thanks m8, this is what I was looking for, will install it tonight

secret1980
10-10-2005, 05:22 AM
thanks installed :D

Esposito
10-10-2005, 07:27 AM
Works great, thanks!
clicks install :)

I, Brian
10-26-2005, 08:25 PM
Sounds like a great idea - I presume it would be easy to randomly assign an avatar from a predefined set?

Now that could be additionally useful... :)

good2laugh
10-30-2005, 12:19 PM
Sounds like a great idea - I presume it would be easy to randomly assign an avatar from a predefined set?

Now that could be additionally useful... :)

yes agreed that would be pretty cool too! Thanks for the plugin
<installs> :)

TygerTyger
10-30-2005, 02:48 PM
Sounds like a great idea - I presume it would be easy to randomly assign an avatar from a predefined set?

Now that could be additionally useful... :)

You mean until an avatar is chosen? I would imagine that would be very easy indeed if the author of this plugin (https://vborg.vbsupport.ru/showthread.php?t=94433) wouldn't mind his code being used, or something very similar. Although that relies on images not being stored in the db.

I like the idea anyway, although if it's just a random display it would have to say so somewhere, or they'd wondering why they had been already assigned an avatar, and why it kept changing :nervous:

davidw
11-01-2005, 07:35 PM
<font color="SeaGreen">* christianb clicks install</font>

u4ea
11-02-2005, 11:29 AM
Is there anyway to install a second instance of this plugin and have to do the same type of thing, but for the BANNED usergroup?

davidw
11-02-2005, 12:09 PM
That would be great :)

Bannerhangout
11-02-2005, 12:58 PM
installed :)

P.Jackson
11-02-2005, 05:02 PM
anyone got any other avatars for this? :)

GamerJunk.net
11-02-2005, 05:26 PM
https://vborg.vbsupport.ru/external/2006/03/25.gif

That's the one I use

InstaNet
11-03-2005, 04:25 AM
very nice hack!

TygerTyger
11-03-2005, 08:56 AM
Mine's quite similar to RasMasta's, people are welcome to use it. Apparently it looks like Tom Jones :ermm:

Kuimera
11-07-2005, 05:52 PM
Any idea how to make this default avatar shows on Members list ?

macgyver24
11-07-2005, 11:00 PM
Hello

Installed & uploaded file but no image not even a broken image nothing what could have gone wrong it installed with the xml file provided.

Thanks

Algren_San
11-08-2005, 12:38 AM
thanks i just download it :) Installed

GamerJunk.net
11-08-2005, 04:24 AM
I like yours better Tyger

mikehawk
11-09-2005, 06:25 AM
Weakest "NO AVATAR" graphic ever. :rolleyes:


Thanks for the hack,
* mikehawk installs.

Snake
11-09-2005, 10:26 AM
I use this as my default avatar on my forums. I hope you'll like it. I know it's just simple.

http://forums.mgszone.com/images/avatars/noavatar.gif

zzzxxzzz
11-09-2005, 01:27 PM
thanks for sharing

Snake
11-09-2005, 03:06 PM
You're quite welcome.

davidw
11-09-2005, 05:40 PM
If nothing else, I really appreciate this hack and have nominated it for HotM!

* christianb wonders if there can be a case-sensitive default avatar - such as with a gender hack.

For example. Female users get a certain color avatar, and male users another color?

Cheertobi
11-09-2005, 08:07 PM
Hi,

For example. Female users get a certain color avatar, and male users another color?
uh, that would be pretty cool. My members ask for something like this ;)

Tobi

aacircle
11-13-2005, 10:57 AM
So what is the success now we everyone using this? Do u find ur members upload an avatar?

Cheertobi
11-13-2005, 11:56 AM
Hi,

So what is the success now we everyone using this? Do u find ur members upload an avatar?
Yes, a lot more of my users uploaded avatars ;) I was suprised, but it seems to work...

Regards,

Tobi

Zachery
11-13-2005, 04:39 PM
IMO about the member list.. seems kind of pointless to have it there... If someone wants to go though the trouble to make the addon for my mod they are more than welcome to.

funinthesun
11-17-2005, 10:02 PM
Hmmm, not working for me, no image is showing up?

Rickie3
11-18-2005, 10:33 AM
thankyou *installed*

funinthesun
11-18-2005, 01:01 PM
Sorry, working now, but it doesn't show a no avatar in the forum display with the hack for putting your avatar on your forum display?

davidw
11-18-2005, 01:53 PM
are you using a different style than default? If so, you'll need to copy the image to the misc folder of the style and it could be noavatar.gif or no_avatar.gif (I've had to use both)

funinthesun
11-18-2005, 04:00 PM
No, I'm not using a different style. Perhaps it just doesn't work with the navbaravatar mod?

TygerTyger
11-18-2005, 04:13 PM
Don't understand why you guys are having problems, I'm running Default Avatar and Avatar in Navbar mods both together and they work fine. I recall having to edit the image path in the Default Avatar mod - it was showing up as Alt Text only because the path to image didn't match where I'd put it.

KW802
11-18-2005, 05:49 PM
Zach', installed & working fine on a number of different sites. :cool:

Thanks,
Kevin

funinthesun
11-18-2005, 07:17 PM
The default avatar just shows a red x where the avatar should be. It shows on the posts fine. Does anyone know what I could change to make it work?

dieselpowered
11-18-2005, 07:33 PM
I am just using the avatar from vBAdvanced gallery :)

Brubaum
11-19-2005, 10:06 AM
Great job!

dieselpowered
11-19-2005, 04:16 PM
well done as always zachery

**clicks install**

misuse
11-19-2005, 08:04 PM
Added and have been using it just fine.

But I am getting complaints from users saying they cannot disable avatars in their usercp. Do you think it has anything to do with this mod?

tidy_boy
11-20-2005, 06:33 PM
thankyou Zachery worked a treat :D

friendly
11-27-2005, 02:48 AM
many thanks Zachery!

*clicks install*

oglsmm
12-06-2005, 01:41 AM
Now how would one go about making this show up in the arcade High Scores Section?

Zachery
12-06-2005, 02:39 AM
Now how would one go about making this show up in the arcade High Scores Section?

Which arcade? I haven't used either of the new ones quiet yet.

oglsmm
12-06-2005, 03:05 AM
Which arcade? I haven't used either of the new ones quiet yet.

The v3arcade located at:
https://vborg.vbsupport.ru/showthread.php?t=101683

Snake
12-06-2005, 12:14 PM
I am looking for a default profile picture hack. Anyone?

dieselpowered
12-06-2005, 02:06 PM
The v3arcade located at:
https://vborg.vbsupport.ru/showthread.php?t=101683

The arcade already uses a default avatar for those without. Just replace the one in the arcade with the one you use for this hack and it will look the same :)

davidw
12-06-2005, 03:20 PM
I am looking for a default profile picture hack. Anyone?https://vborg.vbsupport.ru/showthread.php?t=97928

aciurczak
12-07-2005, 06:53 PM
Liked this idea, but went with

Link to thread on vbulletin.com (http://www.vbulletin.com/forum/showthread.php?p=986460&postcount=7)

instead. It actually populates the avatar field for new users with a default avatar ID, so it shows up as normal everywhere else on the board without more plug-ins or template edits. I then went into phpMyadmin and pushed that same avatar ID into all users who had never set their own avatar.

AWI
12-08-2005, 03:59 AM
Great idea, thanks

Snake
12-08-2005, 04:45 PM
https://vborg.vbsupport.ru/showthread.php?t=97928

Thanks man.

interceptor
12-19-2005, 10:46 PM
Great, install time 30s. Installed.

ReZ
12-27-2005, 02:25 PM
[Clicks Install]

Thanks for the Zac!

siriuxs
01-04-2006, 11:03 AM
I have the problem. When a user log-in in my forum, and after click on a someone thread, it appears the following errors:

Database error in vBulletin 3.5.2:
Invalid SQL:
SELECT dateline, userid FROM vb_customavatar WHERE userid =;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Error Number : 1064
Date : Wednesday, January 4th 2006 @ 11:00:37 AM
Script : http://www.mondoforum.org/forums/sho...st&threadid=56
Referrer : http://www.mondoforum.org/
IP Address : 87.6.36.123
Username :
Classname : vb_database
Why?

Zachery
01-04-2006, 12:42 PM
I have the problem. When a user log-in in my forum, and after click on a someone thread, it appears the following errors:


Why?

Thats not possibly from my mod, there is another modification to do a default avatar with that is probally causing this.

jmacieira
01-06-2006, 12:38 AM
Sweet !! Thanks

sip217
01-06-2006, 07:14 PM
Awesome! Just clicked install. Thanks!

GrendelKhan{TSU
01-10-2006, 06:51 AM
perfect. workin in 3.5.3

image is nice and bland too. :D (incentive for ppl to select an avatar properly :D)

Hossack
01-10-2006, 05:00 PM
Thank you, exactly what I was looking for.

Regards, Hossack

Brandon Sheley
01-24-2006, 06:06 AM
/me installs

thank you

Guest210212002
01-26-2006, 02:54 PM
/me clicks install

kira
03-04-2006, 04:05 AM
Cool idea -- many thanks for the great plugin!

erinys
03-05-2006, 10:32 AM
awesome plugin! thanks a lot!

SHalliday
03-05-2006, 01:51 PM
Clicked Install

Everything installed and works perfect. Nice Addon and thank you very much!

vchase
03-05-2006, 04:05 PM
This file appears to be a Plugin, not a Product. Please use the Plugin Manager to add this file.

When i try to import from product manager. This is what i get... plz help!

Tralala
03-05-2006, 04:25 PM
http://www.gsnforce.com/forum/images/avatars/noavatar.gif

That's the one I use


Mine's quite similar to RasMasta's, people are welcome to use it. Apparently it looks like Tom Jones :ermm:

"Quite similar?"

It's exactly the same!

raagaswaram
03-15-2006, 11:41 PM
hey
i tried not working :(
i did download/upload plugin then upload definition file from the computer still not owrking :(

Zachery
03-16-2006, 06:56 PM
Did you follow all of the instructions?

Nathan2006
03-22-2006, 02:12 AM
Thanks Zachery :)

Install

flfooty tv
03-23-2006, 12:32 PM
love it thank you :)

sandrodz
03-28-2006, 05:18 PM
super! than you... just installed, works fantastic!

ogden2k
04-01-2006, 11:18 PM
How would I add a conditional to this plugin for this:

If userfield is set to female: display this avatar, if userfield option set to male, use this avatar.

Thank you.

ogden2k
04-03-2006, 12:28 PM
How would I add a conditional to this plugin for this:

If userfield is set to female: display this avatar, if userfield option set to male, use this avatar.

Thank you.
Anyone?

sorry01
04-03-2006, 06:15 PM
works fine tanks....:banana:

rareclownfish
04-04-2006, 12:49 AM
thanks installed

rareclownfish
04-04-2006, 03:17 AM
I'm having a little problem with it. Whenever I click on any user and view their profile the avatar comes up as a RED X.
What do I need to change?

ogden2k
04-04-2006, 02:01 PM
I'm having a little problem with it. Whenever I click on any user and view their profile the avatar comes up as a RED X.
What do I need to change?
In the XML file, specifiy the full path to the default images.

ryancooper
04-06-2006, 11:03 AM
Is there a way to link the default no avatar to the choose avatar section of the member. Some of my members dont realize where to change there avatar and this would be a easy way to do it.

Tralala
04-06-2006, 11:07 AM
Is there a way to link the default no avatar to the choose avatar section of the member. Some of my members dont realize where to change there avatar and this would be a easy way to do it.

Great idea!

TitanJeff
04-06-2006, 11:55 AM
I appear to be getting errors. Here is my code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<plugins>
<plugin active="1" product="vbulletin">
<title>Default Avatar</title>
<hookname>postbit_display_complete</hookname>
<phpcode><![CDATA[if (!$this->post['avatarurl'])

{

$this->post['avatarurl'] = "images/avatars/flame.gif";

}

if ($this->registry->userinfo['showavatars'])

{

$show['avatar'] = true;

}]]></phpcode>
</plugin>
<plugin active="1" product="vbulletin">
<title>Default Avatar member.php</title>
<hookname>member_complete</hookname>
<phpcode><![CDATA[if (!$avatarurl)

{

$userinfo['avatarurl'] = "images/avatars/flame.gif";

}

$show['avatar'] = true;]]></phpcode>
</plugin>
</plugins>

Any suggestions? Thanks.

criscokid
04-14-2006, 10:40 AM
Is there a way to link the default no avatar to the choose avatar section of the member. Some of my members dont realize where to change there avatar and this would be a easy way to do it.
I think I made a similar suggestion a few months ago - it would certainly be of benefit to those users that are new to discussion forums.

I have this plugin running on my site. I've just logged in to the site using Firefox and instead of my own avatar showing the 'no avatar selected' avatar is showing. Using MSIE my own avatar is showing. Anyone have any idea of what the problem is?

Zachery
04-14-2006, 11:24 AM
Odd... are you 100% positive that you are logged in as the same user on both?

criscokid
04-16-2006, 08:11 PM
My avatars are set to 80x80 whilst the 'deafualt avatar' is 64x64. What is happening is that the 'deafualt avatar' (64x64) is being shown at 80x80 so it appears to be stretched out.

I've tried this with another person on their own computer and it's happening to them when they view their threads in Firefox. When I view the same thread in Firefox on my computer the new avatar is showing. It's almost as if Firefox isn't properly 'pulling' the image in - it's refreshing the image size but not the actual image.

TitanJeff
04-17-2006, 11:02 PM
Any idea what I goofed up there in the code? I would like to get this going. Thanks.

Roms
04-19-2006, 01:32 AM
Thanks :)

jodycwilliams
04-19-2006, 07:01 AM
Very nice! Definitely put this to use on my forums!

Invalid ID
05-01-2006, 05:02 PM
Love it

GreysAnatomy
05-05-2006, 09:11 AM
You're the best! I accidentally installed the one for 3.0.something before and was wondering why it didn't work. Stupid me!

Thanks a lot!

obmob
05-19-2006, 04:40 PM
:( tried to uninstall and now everyone has a no image "X" in their avatar.

How do i uninstall this?

EDIT
Ooops, i found the problem, sorry :D
Thanks.

Nachtfalke
05-19-2006, 08:51 PM
Works fluently in postbit/legacy, but nothing on memberlist.php
Any Idea?
A must have, though ...

Zachery
05-19-2006, 09:38 PM
Because i didn't design it to work on the memberlist ;)

Nachtfalke
05-19-2006, 09:41 PM
Because i didn't design it to work on the memberlist ;)


Ups, did not realise that, sorry. Any chance to get this going? Love this hack, saves me some hassle with the vbux/vplaza options!

funinthesun
05-21-2006, 02:30 PM
Is there anyway of this mod being intergrated with the avatar in navbar mod? Because members that don't have an avatar see a red x where the noavatar image should be in the nav bar when they log in. Thanks :)

TeddyKGB
05-26-2006, 01:58 AM
I hate asking amazingly simple questions but I don't see any reference to this....

if I use this plugin will it reset those who currently have an avatar selected to the default avatar? I am pretty sure the answer is no but I just want to double check.

Thanks

Danmaxito
05-29-2006, 12:16 AM
Just what I needed.

Thanks

Tralala
05-29-2006, 04:15 AM
Awesome. Works nicely, thanks.

Zachery
05-29-2006, 04:19 AM
I hate asking amazingly simple questions but I don't see any reference to this....

if I use this plugin will it reset those who currently have an avatar selected to the default avatar? I am pretty sure the answer is no but I just want to double check.

Thanks
Not exactly sure what you are asking.

Tralala
05-29-2006, 04:29 AM
He's wondering if it will change the avatar of folks who already have one.

And TeddyKGB, the answer is no. It will only show the "noavatar.gif" for folks who have no avatar.

I just installed it, and everyone's avatar stayed the same. I removed my avatar, and in it's place saw noavatar.gif.

Perfect-o.

criscokid
05-29-2006, 11:47 AM
Because i didn't design it to work on the memberlist ;)
Would be cool if it did :)

Zachery
05-29-2006, 06:32 PM
I don't see a reason for it to really. and it would invovle alot of extra coding.

[email protected] vbmenu_register("postmenu_992732", true);
05-30-2006, 12:02 PM
i get this error when trying to add an avatar the default no avatar is showing up for members who dont have one but the members who did have on just have a red cross now - any ideas on how i can repair this ?

Database error in vBulletin 3.5.4:

Invalid SQL:
INSERT INTO customavatar
(userid, dateline, filename, width, height, filesize, filedata)
VALUES
(2, 1148994065, '_image_content.jpg', 80, 53, 1565, '????\0JFIF\0\0\0\0\0\0??\0;CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 75\n??\0C\0 \n \r \Z\Z $.\' \",#(7),01444\'9=82<.342??\0C \r\r2!!2222222222222222222222222222222222222222 2222222222??\0\05\0P\"\0??\0\0\0\0\0\0\0\0\0\0\0 \n ??\0?\0\0\0}\0!1AQa\"q2?‘?#B??R??$3br‚ \n\Z%&\'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ ‰Š’“”•–—˜™š??????????????????????????????????????? ???????????????????\0\0\0\0\0\0\0\0  \n ??\0?\0\0w\0!1AQaq\"2?B‘??? #3R?br?\n$4?%?\Z&\'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ ‰Š’“”•–—˜™š??????????????????????????????????????? ?????????????????\0 \0\0?\0?eq4[??:?m„?!?P?=?jgǏ‘?ž?ҩ?+ -?R<?‰@????+™^œ??›?\0{ –?d????F?z??Š????ƒœ‘??x?—%^s\Z?? ?\0<R‚ˆ?2}(œ?‘?.\n??–??DC‚?HI???\0@*u?[ˆ\\?l[7?<?oP8?R?o!9?܏]?“???”%\'x+ ?ǥ_?HŽ??’??MRM‚??V???\nœ? *G??Q?ѼZ0j?E?”O????l?’1ڲ?????9?\0?O???[f?;U?ŒXng‘†?1W?<?? ? œ??²\"Yb`U?+\'y???>`?gœ?•:?j:‹Ӑ–1?#?ŽG-?lœ?\0Z?_-#$\0??5^?\0Qž}j?? Y???ŠT?q^?O ?c?C?”?+?\0?•??’?9?m??????%œ?…ֲ%?‡<`??\Z?\\?0R@?\"???’r“???‰?\Zn?žŸ?f\\?ƒ?????????›U\\??{?\n׸ ۷ \nĸ?^mJ?????^:U????SB?6??t?Fr@?~F???Œ†?}Er?p ?:U?~?+?Ÿ\\(#???UŸ1??5?\0~T?E?cȯd?WŽM???3:أ*??-,=Ѹ??Q,C8œ?’? ’8?qŸ?+?—??1?5???€?,?…`Œg\'œ\Z??yKU?/8?1?5ƒ\"??Q€s?9<šӶ?&<g*?Ÿ?š?„Mp???$?3€=?F%[X?FR?0;qہַ”e???R?^>Ž??‡\'??5‘sޯ??bŒsT?\\?(–A??†?Co[‡•?v???? 8] p+:?0o?=?#?+,`?^†.[ž~&^?CIˆ?CLF?Œq?Š)c>?<\Z????ڲ?%<?E?Ž??M ??V<?,}H?\0\n?83I?Sž??Q]5€?Nz_?~€?Q??4Q\\?%{6?\0Lf??\01Z>y?J(?B??yյž???');

MySQL Error : Unknown column 'filename' in 'field list'
Error Number : 1054
Date : Tuesday, May 30th 2006 @ 02:01:06 PM
Script : http://www.*****************/forums/admincp/usertools.php
Referrer : http://www.*****************/forums/admincp/usertools.php?do=avatar&u=2
IP Address : *********
Username : ***********
Classname : vb_database

Zachery
05-30-2006, 08:38 PM
Thats an issue with your upgrade, seems that you didn't upgrade to 3.5 correctly, or you are running the wrong files for the version of Vbulletin you are using.

hypnoticpimp
05-30-2006, 08:46 PM
i have alot of peoples avatars that have red x's is there anway i can reset everyone;s avatar to the default.gif avatar? if so how

Zachery
05-30-2006, 08:58 PM
You can reset everyones avatars all or nothing with a query, are you really sure you want to reset everyones avatars?

hypnoticpimp
05-30-2006, 11:22 PM
yes i do, what query do i run and where do i run it at

[email protected] vbmenu_register("postmenu_993641", true);
05-31-2006, 09:00 AM
Thats an issue with your upgrade, seems that you didn't upgrade to 3.5 correctly, or you are running the wrong files for the version of Vbulletin you are using.

The avatars worked ok before i installed this and it seems that alot of the other installers have the same red cross issue - is it a problem with the plugin maybe?

Zachery
05-31-2006, 02:09 PM
The avatars worked ok before i installed this and it seems that alot of the other installers have the same red cross issue - is it a problem with the plugin maybe?
Um, You are the first person in 400 instals to mention this. Short of you not uploading the avatar, this would not cause anyone who has an avatar to lose it, only users who don't have an avatar would get a red x because the imgage wasn't uploaded. Can you please point out other posts where _this_ hack has caused this? As I haven't seen it.

hypnoticpimp
05-31-2006, 04:22 PM
Zachery so whats that Query code

Zachery
05-31-2006, 06:52 PM
UPDATE user SET avatarid = '',avatarrevision= ''; TRUNCATE TABLE customavatar;

Please backup your database before running the query

hypnoticpimp
06-01-2006, 01:30 AM
hey i ran that query, and i now i got this error message

Database error in vBulletin 3.5.4:
Invalid SQL:
SELECT dateline, userid FROM hypnoticpimp_customavatar WHERE userid =;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Date : Wednesday, May 31st 2006 @ 10:28:54 PM
Script : http://www.worldstarhiphop.com/forums/index.php
Referrer : http://www.worldstarhiphop.com/forums/admincp/index.php?do=head
IP Address : 65.35.17.144
Username : Hypnoticpimp
Classname : vB_Database

Zachery
06-01-2006, 03:16 AM
Might want to start by disabling the mass of hacks and addons you have.

Phooey
06-01-2006, 10:17 PM
Works great, thanks! *CLICKS INSTALL*

ForYou
06-10-2006, 10:35 AM
Hello Zachery ,

Is there Update for 3.6.0 becuase the Avatars not showing now in members profile when update my forum to 3.6.0 ,

and when i unistall the hack there is no avatar in postbit under user names ,

Help please ,

Regards

Zachery
06-10-2006, 06:21 PM
I'll take some time to look at whats causing the issues.

Tralala
06-10-2006, 11:48 PM
Thanks Zachery, I'd appreciate that too.

Zachery
06-11-2006, 12:01 AM
You guys sure its not working?

dudeness3
06-11-2006, 08:20 AM
easy way to do it is edit the Default Avatar member.php in the Plugin System, where it says "images/avatars/noavatar.gif" just put the whole url for the site in like http://www.blah.com/forums/images/avatars/noavatar.gif
thats what i did, oh and the install button has been clicked

Polo
06-23-2006, 12:08 AM
seems to work great :)

Shazz
06-25-2006, 03:16 AM
I really Enjoy your downloads :)
________
Lamborghini Flying Star II specifications (http://www.lamborghini-tech.com/wiki/Lamborghini_Flying_Star_II)

futuredood
06-25-2006, 06:33 AM
beatiful, thank you!

TVNettet
08-17-2006, 12:13 PM
Thx!!

themarinersfan
08-18-2006, 01:50 AM
I know it's stupid, but I'm confused as to where I upload the default_avatat.xml file? Sorry, I'm new to 3.6.

Shazz
08-18-2006, 02:29 AM
I know it's stupid, but I'm confused as to where I upload the default_avatat.xml file? Sorry, I'm new to 3.6.
AdminCP>Plugins & Products
>Manager Products
________
bB (http://www.toyota-wiki.com/wiki/Toyota_bB)

wtricks
08-19-2006, 09:57 AM
I have installed it. Very nice.

Quarterbore
08-21-2006, 11:17 PM
I just installed this in 3.6 and it works perfectly... I wish you had this in the 3.6 Mods forum as I was looking for it over there....

Snake
08-25-2006, 06:48 PM
Hello Zachery ,

Is there Update for 3.6.0 becuase the Avatars not showing now in members profile when update my forum to 3.6.0 ,

and when i unistall the hack there is no avatar in postbit under user names ,

Help please ,

Regards
Seems to work fine on my 3.6 forums. ;)

Die2Night
08-28-2006, 02:08 PM
This is just waht i was looking for thank you very much .

Jeordie015
09-02-2006, 02:42 AM
Alright, there appears to be some sort of bug in this. If a remember uploads a new avatar, the new one will appear in the postbit, but in their profile, it's a broken image. And after deleting the two plugins for this hack, nothing is showing in either the postbit or the profile.

How can I fix this?

Zachery
09-03-2006, 10:15 AM
Did you _also_ undo the template change? People have been using this for ages and no ones reported such a issue.

Please tell me what version of vBulletin you are using?

cinderelmo
09-30-2006, 03:01 AM
Can anyone say whether this plugin overcomes the bug where if a user purposely selects the "don't show avatars" option in their profile, they won't then see the "Default Avatar" for every user? This is a common complaint in every other default avatar hack, but I only saw one person mention it for this one. Maybe this one solves it? --Thanks.

CyberRanger
10-05-2006, 03:51 PM
Can anyone say whether this plugin overcomes the bug where if a user purposely selects the "don't show avatars" option in their profile, they won't then see the "Default Avatar" for every user?
If the user selects "don't show avatars", the default avatar is not displayed. It works as you'd want it.

bluegum
10-07-2006, 10:44 PM
AdminCP>Plugins & Products
>Manager Products

I tried to install this on my 3.6.1 and i got this message
manage products
then add inport
I picked the xml file
default_avatar.xml

This file appears to be a Plugin, not a Product. Please use the Plugin Manager to add this file.

Shazz
10-07-2006, 10:49 PM
I tried to install this on my 3.6.1 and i got this message
manage products
then add inport
I picked the xml file
default_avatar.xml

This file appears to be a Plugin, not a Product. Please use the Plugin Manager to add this file.
Use the plugin manager.

bluegum
10-07-2006, 10:57 PM
Use the plugin manager.
thank you
sorry i only owned vb for 2 weeks
now i got it

admin cp >plugins and products>download upload plugins> scroll to bottom and find
Import Plugin Definitions XML File
click browse
pick .xml file
click import..

then upload the image to your.com/forumsdir/images/avatars

:)
hows that?

Canis Firebrand
10-24-2006, 01:29 PM
Very odd that the default avatar will not show up in the memberlist, but it does show up for me when I view a users profile that doesn't have an avatar set. It also shows up in the postbit for any users that don't have an avatar set.

It isn't a big deal. It probably would be if it was the other way around. :)

My board is running 3.6.2

Snake
10-26-2006, 12:11 PM
Actually this mod is designed to work in posts & profiles only so I don't think it's been designed to work in memberlist too.

criscokid
10-26-2006, 01:00 PM
You'll need to apply the 'if' part of the code to the memberlist template - I've applied it to the 'show friends mod' to show on the memberinfo page.

Snake
10-26-2006, 01:40 PM
But what's the code for it 'cause I have no idea.

criscokid
10-26-2006, 04:50 PM
But what's the code for it 'cause I have no idea.
You need to download the zip file that contains the mod - see the top of this page.

erinys
12-11-2006, 06:56 AM
You should release this as a 3.6 pluging so it shows up in the 3.6 listing :) its working perfectly fine with it anyway ;)

A_V
12-11-2006, 05:27 PM
Installed in 3.6.4

TrikkeTalk
12-22-2006, 05:39 PM
Hi,

Works like a charm on 3.6.4 too. Thanks for this nice hack.

amagazi
02-14-2007, 03:37 AM
Ok.. how does this plug in work? Does it even work for 3.6.4? Cuz if it does, it doesn't seem to do anything on my board.....

ncweb
02-28-2007, 08:55 PM
Ok.. how does this plug in work? Does it even work for 3.6.4? Cuz if it does, it doesn't seem to do anything on my board.....


Maybe this...

Actually this mod is designed to work in posts & profiles only so I don't think it's been designed to work in memberlist too.


Working fine with 3.6.4 on my board as well :cool:

voter
04-18-2007, 12:20 PM
Because of 3.6.x somehow don't like it and don'T want to import

I tried to do by hand going into AdminCP->Plugins & Products->Add New Plugin

Write as a title Default Avatar
Choose for Hook Location postbit_display_complete
Copy the code which is inside from <phpcode ><![CDATA[ ....CODE.... ] ]></ phpcode>

And second one as Default Avatar member.php
Hook Memeber_complete
Copied the second code that is inside <phpcode ><![CDATA[ ....CODE.... ] ]></ phpcode>


Working....

voter
04-18-2007, 01:38 PM
I extend the hack to Member Lists, combined with a Random Avatar suggestion from Michael Morris https://vborg.vbsupport.ru/showthread.php?t=95870

Now all members in memberlist shown with avatars, randomly choosen from a given folder /images/avatars/xx.gif.

Where xx is a number from 1 to 50, which means, you need to have gif pictures in that folder with a name using a number.

Again AdminCP->Plugins & Products->Add New Plugin

Write as a title Default Avatar memberlist

Choose for Hook Location Memberlist_bit

Give PHP code

if (!$avatarurl)
{
$randomavatar = rand(1,50);
$avatarurl = "/images/avatars/$randomavatar.gif";
}
$show['avatar'] = true;

BadgerDog
05-27-2007, 10:42 PM
Installed... :)

Seems to work fine so far on v3.6.7PL1 ... :up:

Thanks...

Regards,
Badger

citroenar
06-15-2007, 06:09 AM
Works great with v3.6.7PL1.

Installed

elitemerlin
06-23-2007, 07:37 PM
works great, except for one thing, no avatars show up on Memberlist.php - is there a quick edit for this?

Whiteyez
07-06-2007, 11:18 PM
Installed! Works great in v3.6.7PL1..

Thanks..

imk
07-24-2007, 09:43 PM
sorry but how do i uninstall this?

Ultima07
07-26-2007, 04:39 PM
HI I hate to see everyone having the same avatar, so i suggest a mod in the apropriate section so that each new registered member will have an apropriate COUNTRY avatar according to the COUNTRY they choose from the registeration. Tell me if this is possible.

Zachery
07-27-2007, 08:34 AM
HI I hate to see everyone having the same avatar, so i suggest a mod in the apropriate section so that each new registered member will have an apropriate COUNTRY avatar according to the COUNTRY they choose from the registeration. Tell me if this is possible.
If you want to write the code to do that, sure its possible :)

Ultima07
07-27-2007, 01:02 PM
Can you create that mod Zachery?

Michael2
08-25-2007, 12:28 AM
I use 100x100 avatars so I slightly modified one posted earlier. Just posting it in case anyone else wants to use it.

Arminios
08-31-2007, 06:09 PM
HI I hate to see everyone having the same avatar, so i suggest a mod in the apropriate section so that each new registered member will have an apropriate COUNTRY avatar according to the COUNTRY they choose from the registeration. Tell me if this is possible.

The code for it is already written. However, I found it easier without using this plugin.

https://vborg.vbsupport.ru/showthread.php?t=139263&highlight=menu <-- Where I found the code.

However, this is what you do:

Go into the postbit_legacy template and find the following code
<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>


Change it to
<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
<else />
<br />
<if condition="$post[fieldX]"><img src="images/YOURPATH/$post[fieldX].gif" alt="$post[fieldX]"></if>

</if>

You will need to change the "fieldX" to the User Profile Field that have your country list. Then you change the url to the location where you got your avatars saved.

It's important they are called the same thing as the inputs you have in the User Profile fields.

F.ex if Denmark, Norway and Sweden are in your list you need to have avatar files called Denmark.gif, Norway.gif and Sweden.gif.

If it's .png or .jpg files, even something else, you need to change ".gif" to that in the code.

Just PM me if you need more assistance with it.

However, that will only show the avatar in the postbit field, I'm trying to find out how to change it in the profile and memberlist also, I'm just experimenting my way through hacks.


edit:
I would be delighted if anyone could tell me how to modify my memberlsit by doing what I did in my postbit. https://vborg.vbsupport.ru/showthread.php?p=1329549#post1329549

I tried a little, but it didn't work out, and I'm getting a little tired after a long workday

The code I was trying to change was in the memberlist_resultbit
<if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['avatar']"><img src="$avatarurl" border="0" $avwidth $avheight alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" hspace="4" vspace="4" /><else />&nbsp;</if></td></if>

I tried replacing "&nbsp;" with my code, but think that was wrong since nothing came up.

TigerWare
09-02-2007, 02:43 PM
/me click installed (3.6.8)

Perfect, thanks Zachery!

Zagis
09-10-2007, 12:34 PM
Works on 3.6.8
Thanks :up:
works great, except for one thing, no avatars show up on Memberlist.php - is there a quick edit for this?Is there any?
I use 100x100 avatars so I slightly modified one posted earlier. Just posting it in case anyone else wants to use it.
Thanks Michael2 ;)

yoyoyoyo
09-12-2007, 12:27 AM
yep - works great in 3.6.8

agilent
09-14-2007, 10:02 PM
For the members I have who already have avatars, will it effect their avatars? I only want the default avatar to show for people who have not uploaded an avatar.

Zachery
09-15-2007, 04:32 PM
No this doesn't effect anyone elses avatars.

princeedward
09-16-2007, 03:09 PM
thanks..installed...;) work like a charm to vb3.6.8

69866

columbusgeek
11-04-2007, 05:50 PM
kick ass. this worked like a treat. Even on a 3.6.8 p1 board.

LuBi
11-10-2007, 01:11 PM
While I think all forum staff should have some avatar many at our boards do not.. I'm currently using this modification along side "Show your avatars in your forum Staff List" https://vborg.vbsupport.ru/showthread.php?t=157928. That modification is no longer supported but I was wondering if someone could help me get this working under that on Showgroups? Thanks for any help.

dvbusuario
11-15-2007, 11:30 AM
Thanks.

newguy
11-18-2007, 07:19 PM
installed :) 3.6.8 pl2 hope it dont break anything. :)

SEOvB
01-02-2008, 11:07 PM
works fine on 3.7b3 as well

Zachery
01-04-2008, 08:46 AM
I'll probally clean the code up and make it atad more user friendly come 3.7 gold.

mahmuttunc
01-24-2008, 09:41 AM
installed.and works perfectly on 3.6.8

Boofo
01-29-2008, 12:37 PM
works fine on 3.7b3 as wellYou mean it shows up in posts fine. It doesn't work in the memberlist or the profile. I would say it doesn't work more than it works.

SpreadingLight
02-20-2008, 03:50 PM
What is the process to install this? No success importing it as a product or adding it as a plugin.

frenzi
04-01-2008, 10:51 PM
What is the process to install this? No success importing it as a product or adding it as a plugin.

Upload the noavatar.gif to the default path (images/avatars). Then upload and install the .xml file through the adminCp panel (Plugins & products, Upload plugins) and there ya' go!

Love the hack works perfect for 3.6.8! Wished it would show the avatar on the members page but it shows on their individual profile and their posts...that's good enough!

*installed*

deadlychaos25
04-14-2008, 07:04 PM
Installed - what i did : uploaded the image and file in the particular directories then simply clicked on Download/Upload plugin and Imported the XML file.
Simple :)

Michael2
05-16-2008, 02:23 PM
Works fine on vB 3.7. Thanks again!

gencmesaj
05-26-2008, 12:50 PM
don't need to edit postbit_legacy... ;) thanksss (installed)

hunteds911
07-04-2008, 04:57 PM
I am trying to change the default avatar extension to PNG and I also try this mod but could not get anything to work to change out my default noavatar.gif to use a noavatar.png instead.

Anyone know how to go about this I am kinda new to changing all this out. lol

Noosphere
07-13-2008, 09:31 PM
Installed. Very quick, very clean.

Can't believe this isn't a default option in vbulletin, but whatya gonna do?

Thanks!

KAWIE1
07-21-2008, 12:51 AM
Thanks...my first mod. :D

nyunyu
07-30-2008, 11:08 AM
Great! Works fine on 3.6.9!
I use my own default avatar instead of the default noavatar.
Just changed the name in xml file.

Masiello
08-19-2008, 04:18 PM
Can this work with vB 3.7.x?

JesusLiv3s
08-20-2008, 01:13 AM
I'd like to know the same. If we don't get a reply I'm going to give it a try tonight and let you know.

EDIT: Postbit works, member page doesn't.

Masiello
08-25-2008, 03:57 PM
I'd like to know the same. If we don't get a reply I'm going to give it a try tonight and let you know.

EDIT: Postbit works, member page doesn't.
Damn, bad news...

serra00
10-10-2008, 07:39 AM
https://vborg.vbsupport.ru/

that I do?

djxcee
10-13-2008, 08:51 AM
I think you need to resize the image to fit your forum.

djxcee
10-30-2008, 05:55 AM
Ah, tried installing this but not working on 3.7.3.
I have my avatars stored on system files, can this be a reason?

Zachery
10-31-2008, 02:23 PM
Nope, works fine when used properly.

connkid25
12-05-2008, 12:31 PM
Nope, works fine when used properly.

How do we get the member page to work? I can resize the image but I cant figure out how to get it to show on the member page. Zach, you should update this mod. It really is one of those mods we cannot live without! :)

Trixi.com
12-10-2008, 04:23 PM
Nice plugin. Works also on 3.7.4. Thank you

Kihon Kata
12-10-2008, 11:51 PM
Nope, works fine when used properly.
Not working for me 3.7.4. Only postbit.

Zachery
12-12-2008, 11:25 PM
Not working for me 3.7.4. Only postbit.
You screwed something up.

Kihon Kata
12-12-2008, 11:53 PM
You screwed something up.
No, I didn't. This was working for me for a long time. I then upgraded from 3.6.8 -> 3.7.4 and it broke.

I didn't screw anything up :)

djxcee
12-13-2008, 10:27 AM
Try to reinstall the product.

Working for me on 3.7.4

Kihon Kata
12-13-2008, 12:34 PM
Try to reinstall the product.

Working for me on 3.7.4
djxcee, it's not a product, it's a plugin. It's just not working for me in the member profiles but it _IS_ working in the postbits.

Zach,

I checked the plugins and there are two there. One for postbit_display_complete with this code:

if (!$this->post['avatarurl'])
{
$this->post['avatarurl'] = "images/avatars/noavatar.gif";
}
if ($this->registry->userinfo['showavatars'])
{
$show['avatar'] = true;
}

One one in the member_complete with this code:

if (!$avatarurl)
{
$userinfo['avatarurl'] = "images/avatars/noavatar.gif";
}
$show['avatar'] = true;

As you can see, I have the image in there too: http://www.makeuptalk.com/forums/images/avatars/noavatar.gif (click it)

Help?

djxcee
12-13-2008, 02:01 PM
djxcee, it's not a product, it's a plugin.
Um, it is a product that adds two plugins to vBulletin?

Checked your forum, looks like it's working.

Kihon Kata
12-13-2008, 02:19 PM
Um, it is a product that adds two plugins to vBulletin?

Checked your forum, looks like it's working.
When I try to add the "default_avatar.xml" I get this message:This file appears to be a Plugin, not a Product. Please use the Plugin Manager to add this file.


So that tells me it's a plugin and NOT a product.

BTW, it's not working in our profiles

Thanks for trying to help though.

connkid25
12-13-2008, 04:54 PM
You screwed something up.

Zach, it doesnt work with 3.7 on the member page. Postbit works though!

vtte
12-14-2008, 05:22 AM
Yeah 3.7.4 only the postbit is supported, but I guess that's not too much of a problem. It would be nice if you could update this plugin!

connkid25
02-27-2009, 10:42 AM
Has anyone figured out how to get this to work on the member pages for 3.7 and 3.8?

JPetrillo
07-15-2009, 01:29 AM
Is there a mod like this that works for v3.8.x?

Like other people are saying, it works on the postbit, but it does not work on the members list or the profile page. How to make it work?!?!? :D

goxy63
08-11-2009, 03:15 PM
Is there a mod like this that works for v3.8.x?

Like other people are saying, it works on the postbit, but it does not work on the members list or the profile page. How to make it work?!?!? :D

Yeah working one for 3.8 ANYONEEEE ?
:D

tetooo
08-14-2009, 09:27 AM
http://www.ahba2b.com/vb/images/icons/eh_s(4).gif thanks

tetooo
08-14-2009, 09:29 AM
http://www.ahba2b.com/vb/images/icons/icon1.gif very good

Verionia
08-18-2009, 12:17 AM
Does this work with 3.84? 3.83? Please I need this!

NTMID8
08-18-2009, 12:38 AM
Does this work with 3.84? 3.83? Please I need this!
I'm using this on 3.8.3.

Verionia
08-18-2009, 01:01 AM
Ok, thanks I will install this now :)

goxy63
08-27-2009, 09:17 AM
I'm using this on 3.8.3.
is it working just fine within member profile?

kkgear
08-27-2009, 10:51 AM
Thank you, Installed.

NTMID8
08-28-2009, 03:26 AM
is it working just fine within member profile?
Yes.

Zachery
09-13-2009, 06:35 AM
<a href="https://vborg.vbsupport.ru/showthread.php?t=223078" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=223078</a>