![]() |
This is just waht i was looking for thank you very much .
|
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? |
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? |
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.
|
Quote:
|
Quote:
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. |
Quote:
|
Quote:
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? |
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 |
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.
|
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.
|
But what's the code for it 'cause I have no idea.
|
Quote:
|
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 ;)
|
Installed in 3.6.4
|
Hi,
Works like a charm on 3.6.4 too. Thanks for this nice hack. |
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.....
|
Quote:
Maybe this... Quote:
Working fine with 3.6.4 on my board as well :cool: |
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.... |
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 Quote:
|
Installed... :)
Seems to work fine so far on v3.6.7PL1 ... :up: Thanks... Regards, Badger |
Works great with v3.6.7PL1.
Installed |
works great, except for one thing, no avatars show up on Memberlist.php - is there a quick edit for this?
|
Installed! Works great in v3.6.7PL1..
Thanks.. |
sorry but how do i uninstall this?
|
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.
|
Quote:
|
Can you create that mod Zachery?
|
I use 100x100 avatars so I slightly modified one posted earlier. Just posting it in case anyone else wants to use it.
|
Quote:
https://vborg.vbsupport.ru/showthrea...highlight=menu <-- Where I found the code. However, this is what you do: Go into the postbit_legacy template and find the following code Code:
<if condition="$show['avatar']"> Change it to Code:
<if condition="$show['avatar']"> 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/showthrea...49#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 Code:
<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 /> </if></td></if> |
/me click installed (3.6.8)
Perfect, thanks Zachery! |
Works on 3.6.8
Thanks :up: Quote:
Quote:
|
yep - works great in 3.6.8
|
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.
|
No this doesn't effect anyone elses avatars.
|
|
kick ass. this worked like a treat. Even on a 3.6.8 p1 board.
|
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.
|
Thanks.
|
installed :) 3.6.8 pl2 hope it dont break anything. :)
|
All times are GMT. The time now is 08:24 PM. |
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:
|