Facebook Twitter Pinterest Share

vBulletin 3.X Add-ons & Template Modifications All the latest vBulletin 3.X Add-ons & Template Modifications.


New Thread  Post Reply
J.Black's Avatar
J.Black : Guest
Posts: n/a
  #1  
Unread 11-24-07
Default Avatar For vBulletin 3.6.8 Plugin

Hi this is a little and easy mod,it will display an image called noavatar.gif in the member list/profile/postbit/postbit legacy if the user has NOT selected an avatar of their own, if they have selected an avatar, then it will show the avatar they have selected, everyone can install this in "1 minute"

HereĀ“s the stuff

First download the plugin in the attachment, then upload it via Admincp/Plugins & Products/Download Upload Plugin

then upload to this folder yourforumroot/images/avatars

the image in attachment

once done do this template edit

In Template Memberlist_resultsbit
FIND

<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>

REPLACE IT WITH THIS

<if condition="$show['avatarcol'] AND exec_switch_bg()"><td class="$bgclass"> <if condition="$avatarurl == null"><a href="member.php?$session[sessionurl]u=$userinfo[userid]"><img src="/images/avatars/noavatar.gif" border="0" /></a><else /> <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></if>

Done!
Attached Images You must register or login to view attachments.
Attached Files Click the thanks button to view this attachment.
Peru_BobMarley's Avatar
Peru_BobMarley : Member
Peru_BobMarley is on a distinguished road
offline Joined: Nov 2007 Posts: 39 Thanked: 5
  #2  
Unread 11-25-07
working perfect.. thx..!!
sundar's Avatar
sundar : Newbie +
sundar is on a distinguished road
offline Joined: Jan 2009 Posts: 17 Thanked: 5
  #3  
Unread 02-26-09
not working for me here is the link anyone help me pls Siemens repair picture - Srimeenakshimobiles - Creating Gsm Community
sundar's Avatar
sundar : Newbie +
sundar is on a distinguished road
offline Joined: Jan 2009 Posts: 17 Thanked: 5
  #4  
Unread 02-26-09
s now i fixed this one its working fine but its not displayed member profile area here is the link Srimeenakshimobiles - Creating Gsm Community - View Profile: eastdevil99
elango87's Avatar
elango87 : Newbie +
elango87 is on a distinguished road
offline Joined: May 2008 Posts: 17 Thanked: 6
  #5  
Unread 04-02-09
I have been looking for this for a long time

Works in 3.8.1 too thanks for the hack
New Thread  Post Reply

Thread Tools

Bookmarks
  • Submit Thread to Facebook
  • Submit Thread to Twitter
  • Submit Thread to Pinterest
  • Submit Thread to LinkedIn
  • Submit Thread to Reddit
Tags
3.6.8, plugin, vbulletin, avatar, default
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
Powered by GYSN Underground 2021