Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Jan 2009, 23:27
MaRÁ MaRÁ is offline
 
Join Date: Aug 2008
Default Avatar

I would like to know how can I put a default avatar for those whom haven┤t selected or upload one.

Thank you very much.

Using 3.8.0
Reply With Quote
  #2  
Old 15 Jan 2009, 00:01
Bellardia Bellardia is offline
 
Join Date: Jul 2007
Conditional in the postbit
find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change to
Conditional in the postbit
find

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #3  
Old 15 Jan 2009, 01:14
pein87's Avatar
pein87 pein87 is offline
 
Join Date: Sep 2008
there already is one shown its the unknown.gif image in the misc folder in the main images folder. All you have to do is change it out with another avatar image named unknown.gif

or like said above look in post bit and find

the if conditional that displays the avatar and replace with this.

<if condition="$show[avatar]">
<if condition="$vbulletin->userinfo[hascustomavatar]">
<img src="image.php?u=$bbuserinfo[userid]&amp;dateline=" alt="$bbuserinfo[username]'s avatar" />
<else />
<!-- add path to your own image -->
<img scr="" alt="" />
<!-- /add path to your own image -->
</if>
</if>

I use somthing similar for my avatar on nav bar mod. Hope this helps you.
Reply With Quote
  #4  
Old 15 Jan 2009, 12:42
MaRÁ MaRÁ is offline
 
Join Date: Aug 2008
Hi Bellardia and Pein, thanks!!!!.

Well... Im doing something wrong... look the finaly code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But show no avatar.... look the attach...

The url is ok, chek it out:



Im sorry I have no idea on coding nothing.

THANKS
Attached Images
File Type: jpg Dibujo.jpg (42.9 KB, 15 views)
Reply With Quote
  #5  
Old 15 Jan 2009, 13:25
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
Please post a link to an example.
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
  #6  
Old 15 Jan 2009, 13:32
MaRÁ MaRÁ is offline
 
Join Date: Aug 2008
http://www.altoforo.com/la-radio-de-...-new-post.html

Here you are
Reply With Quote
  #7  
Old 15 Jan 2009, 15:09
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
hehe. It's src, not scr


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #8  
Old 15 Jan 2009, 16:05
MaRÁ MaRÁ is offline
 
Join Date: Aug 2008
Originally Posted by Lynne View Post
hehe. It's src, not scr


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

THANKS! Now is working just PERFECT!

But The avatar shows down the nick... How can I put this next to the nick?









Reply With Quote
  #9  
Old 15 Jan 2009, 16:09
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
I would suggest putting the <td> tags around the default (it should fix your issue):


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #10  
Old 15 Jan 2009, 16:14
MaRÁ MaRÁ is offline
 
Join Date: Aug 2008
DONE!!

Lynne Thank you so so so so much!!!!!!!!
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Release -Gamma / RC1 / RC2]Default Avatar for users with no avatar :) Zachery vBulletin 3.0 Template Modifications 21 27 Jun 2005 10:13
[Release -Gamma / RC1 / RC2]Default Avatar for users with no avatar :) Zachery vBulletin 3.0 Template Modifications 21 07 Jul 2004 20:16



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

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


New To Site? Need Help?

All times are GMT. The time now is 16:37.

Layout Options | Width: Wide Color: