Follow vBSEO on Twitter
vBulletin Modifications
  • Forums
  • Add-Ons
  • Template Modifications
  • Styles
  • Graphics
  • Tutorials
  • Support Center
  • Register
  • vBulletin SEO

Member Log In

Site Navigation

  • Register
  • Members List
  • Social Groups
  • Search
  • Today's Posts
  • Mark Forums Read

Latest Modifications

  • [vB 3.6.x] StopSpam
    By: flappi282
  • [vB 3.8.x] vBulletin Chat Addon for...
    By: 123flashchat
  • [vB 3.5.x] 404 Page Redirect To...
    By: Ak Worm
  • [vB 3.8.x] 404 Page Redirect To...
    By: Ak Worm
  • [vB 4.0.x] 404 Page Redirect To...
    By: Ak Worm

Latest Template Mods

  • [vB 3.8.4] Images PassWordBox...
    By: cRs!MP
  • [vB 3.8.4] Footer Follow Ups
    By: Ak Worm
  • [vB 3.7.2] Worldofwarcraft blue...
    By: Mikeyodesigns
  • [vB 3.7.0] My Links
    By: blind-eddie
  • [vB 3.7.0] Pop-Up Warning Before...
    By: Thelonius Beck

Latest Styles

  • [vB 3.8.4] CompletevB - Skylight
    By: DreadKnight
  • [vB 3.8.3] [vB 3.8.4] Barcelona...
    By: hoiquantinhoc.com
  • [vB 3.8.3] Natures Walk by vBSkin...
    By: Chri5
  • [vB 3.8.3] Green Theme
    By: Robdog
  • [vB 3.8.2] Unreal T 3 - vB3.8.x
    By: Butcher

Latest Graphics

  • [vB ] [anim.]Team Ranks
    By: cRs!MP
  • [vB ] Abstract Circles (3...
    By: cRs!MP
  • [vB ] PlayStation Rank Images
    By: cRs!MP
  • [vB 3.6.12] Heavy Stroked Button...
    By: Shelley
  • [vB ] Minature Ranks.
    By: Shelley
vBulletin Modifications » General vBulletin Section » vBulletin Modification Tutorials » [How To] Display noavatar.gif on the memberlist
Reply

 

  • Thread Tools
Old 08-16-2006, 02:42 PM   #1
BigJohnny
Coder

BigJohnny's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 ssssss386
Age: 27
BigJohnny is on a distinguished road
Send a message via MSN to BigJohnny
Status: Offline Default [How To] Display noavatar.gif on the memberlist
For all the hacks to display a noavatar.gif if the user hasn't selected one, none of them show that avatar on the member list.

For users wishing to show the avatars on the member list, this can be a pain in the ***, and looks ugly if the user doesnt have an avatar selected.

This will fix that problem, and display noavatar.gif on the memberlist if the avatar column is enabled.

In Template Memberlist_resultsbit

FIND AND REMOVE
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 />&nbsp;</if></td></if>
REPLACE IT WITH THIS - Modify the section in red to point to the path of your noavatar.gif

Code:
 <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="/vBulletin/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>
This will properly display that noavatar.gif in the member list 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.
Reply With Quote
Old 09-04-2006, 07:51 PM   #2
Colonel Ingus
vBulletin Guru

Colonel Ingus's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssss1664
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road
There is a hack that does this in both memberlists and postbit.
Reply With Quote
Old 09-04-2006, 07:52 PM   #3
Nick R
vBulletin Guru

Nick R's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssss4450
Location: Cyberspace, UK
Age: 30
Nick R is on a distinguished road
Send a message via MSN to Nick R Send a message via Yahoo to Nick R
Status: Offline Default
Give the guy a break, thanks for releasing
Reply With Quote
Old 09-04-2006, 09:25 PM   #4
Colonel Ingus
vBulletin Guru

Colonel Ingus's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssss1664
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road
Settle down rogersnm.
Reply With Quote
Old 09-04-2006, 09:26 PM   #5
Michael Biddle
Staff
Michael Biddle's Avatar

Activity Longevity
4/20 17/20
Today Posts
0/3 sssss2823
Location: Anaheim
Age: 21
Michael Biddle is on a distinguished road
Status: Offline Default
roger that was pointless spam, please dont undermind the staff here
Support will only be offered through forums
Michael Biddle / vBHackers.com
vBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for download now

vBSEO Google Sitemap Generator - Version 2.5 Released

Crawlability Network: vBulletin SEO | vBulletin Hackers
Reply With Quote
Old 09-05-2006, 02:03 PM   #6
BigJohnny
Coder

BigJohnny's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 ssssss386
Age: 27
BigJohnny is on a distinguished road
Send a message via MSN to BigJohnny
Status: Offline Default
ignus .... the hack does NOT display the avatar in the mnemberlist.
it displays it in the postbit and the user profile.... memberlist was left alone.
Reply With Quote
Old 09-05-2006, 03:54 PM   #7
Colonel Ingus
vBulletin Guru

Colonel Ingus's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 sssss1664
Location: ...in a van, down by the river.
Colonel Ingus is on a distinguished road
OK thanks for the clearification. I meant the member.php page and in postbit

Clickity-Click
Reply With Quote
Old 09-05-2006, 04:45 PM   #8
BigJohnny
Coder

BigJohnny's Avatar

Activity Longevity
0/20 13/20
Today Posts
0/3 ssssss386
Age: 27
BigJohnny is on a distinguished road
Send a message via MSN to BigJohnny
Status: Offline Default
ya the xml file for this hack puts the no avatar.gif in the public profile, and postbit, but does nothing for the member list.
Reply With Quote

Reply

« [How-To] php: fetch specific info from remote + intro to regexp | [How-To] Add "news line" under the navbar »

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

 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
[How To] Run vBulletin On your P.C. Ken Iovino vBulletin Modification Tutorials 83 11-02-2009 05:16 AM
[How to] Add navigation groups to your admincp left panel Ken Iovino vBulletin Modification Tutorials 11 07-16-2007 02:59 AM
[How To] Add Options per forum Ken Iovino vBulletin Modification Tutorials 10 03-03-2007 06:25 PM
[How To] Run a vb page outside of the forum directory Junior vBulletin Modification Tutorials 7 01-10-2007 10:05 PM
[How to] submit a press release Rex Growing Your vB Forum 1 06-19-2006 06:36 PM



All times are GMT. The time now is 10:01 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Transverse Styles
  • Top
  • Archive
  • vBSEO
  • Contact Us
LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!