Default Avatar

Styles, Theme, Cosmetic and Appearance related tips, tricks, tweaks, and Graphics

Moderator: STG Styles Team

Forum rules
NOTE: Post full styles only in the Styles Forum

Re: Default Avatar

Postby fadich » 29 Feb 2008, 00:13

This is my code. The avatar is clickable (link to profile) and some fix with the user that have a avatar.
Code: Select all
<!-- IF postrow.POSTER_AVATAR -->
         <!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><br /><!-- ELSE --><a href="{postrow.U_POST_AUTHOR}"><img src="{T_THEME_PATH}/images/no_avatar.gif" width="100" height="100" alt="" /></a><br />
<!-- ENDIF -->
fadich    
Crewman
Crewman
 
Posts: 1
Joined: 29 Feb 2008, 00:08
Gender: Male
phpBB Knowledge: 5


Re: Default Avatar

Postby Barry 441 » 03 Mar 2008, 20:45

I seem to have this fixed as well. I don't know why but this caused a problem with another mod I was trying to do.

I copy the code into a "fresh" file and it runs as planned. When I run the "fresh" file and the file that was giving me trouble in Winmerge I am told that the good file is encoded in 1252 and the "bad" file is encoded in UTF-8.
I have no idea how or why this has happened but...

We are workin' :thumbsup: The alt" text doesn't show in Firefox, but I don't care at this point.

Thanks guys.
Barry 441    
Cadet II
Cadet II
 
Posts: 21
Joined: 21 Feb 2008, 08:26
Location: Colrain, MA
Favorite Team: Chicago Bears
Gender: Male
phpBB Knowledge: 2

Re: Default Avatar

Postby sixtvs » 11 Apr 2008, 21:35

I tried this and it was nice except for the fact that those without avatars have their names underneath the avatar, but those with avatars have their names beside the avatar. Is there a solution or reason for that by chance?
User avatar
sixtvs    
Cadet II
Cadet II
 
Posts: 25
Joined: 10 Apr 2008, 06:10
Location: US of A
Favorite Team: New England Patriots
Gender: Male
phpBB Knowledge: 1

Re: Default Avatar

Postby Stoker » 12 Apr 2008, 00:32

sixtvs wrote:I tried this and it was nice except for the fact that those without avatars have their names underneath the avatar, but those with avatars have their names beside the avatar. Is there a solution or reason for that by chance?

There was an error in prosilver code. Use this instead:
Code: Select all
<!-- IF postrow.POSTER_AVATAR -->
               <!-- IF postrow.U_POST_AUTHOR --><br /><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><!-- ELSE --><br /><img src="{T_THEME_PATH}/images/no_avatar.gif" width="90" height="90" alt="" /><br />
            <!-- ENDIF -->
Stoker
Stoker    
Borg Drone
Borg Drone
 
Posts: 401
Joined: 24 Nov 2007, 11:05
Location: Denmark
Favorite Team: Highslide JS
Gender: Male
phpBB Knowledge: 4

Re: Default Avatar

Postby sixtvs » 12 Apr 2008, 14:12

Stoker wrote:
sixtvs wrote:I tried this and it was nice except for the fact that those without avatars have their names underneath the avatar, but those with avatars have their names beside the avatar. Is there a solution or reason for that by chance?

There was an error in prosilver code. Use this instead:
Code: Select all
<!-- IF postrow.POSTER_AVATAR -->
               <!-- IF postrow.U_POST_AUTHOR --><br /><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><!-- ELSE --><br /><img src="{T_THEME_PATH}/images/no_avatar.gif" width="90" height="90" alt="" /><br />
            <!-- ENDIF -->


This one worked perfectly. Thank you :)
User avatar
sixtvs    
Cadet II
Cadet II
 
Posts: 25
Joined: 10 Apr 2008, 06:10
Location: US of A
Favorite Team: New England Patriots
Gender: Male
phpBB Knowledge: 1

Re: Default Avatar

Postby stye » 15 May 2008, 14:31

thank you
stye
Crewman
Crewman
 
Posts: 1
Joined: 15 May 2008, 00:34
Gender: Male
phpBB Knowledge: 4

Re: Default Avatar

Postby mcdanielnc89 » 15 May 2008, 22:13

Does this do what i requested here?
User avatar
mcdanielnc89    
Cadet IV
Cadet IV
 
Posts: 53
Joined: 15 Mar 2008, 19:19
Gender: Male
phpBB Knowledge: 2

Re: Default Avatar

Postby Stoker » 15 May 2008, 23:48

mcdanielnc89 wrote:Does this do what i requested here?

Yes :)
Stoker
Stoker    
Borg Drone
Borg Drone
 
Posts: 401
Joined: 24 Nov 2007, 11:05
Location: Denmark
Favorite Team: Highslide JS
Gender: Male
phpBB Knowledge: 4

Re: Default Avatar

Postby mcdanielnc89 » 16 May 2008, 17:07

Awesome!!! Thank You!!!
User avatar
mcdanielnc89    
Cadet IV
Cadet IV
 
Posts: 53
Joined: 15 Mar 2008, 19:19
Gender: Male
phpBB Knowledge: 2

Re: Default Avatar

Postby jauhari » 07 Jun 2008, 08:00

I was use it and just perfect ;)
jauhari    
Crewman
Crewman
 
Posts: 4
Joined: 07 Jun 2008, 07:29
Gender: Male
phpBB Knowledge: 4

PreviousNext

Return to Styles Tweaks, Tips and Graphics

Who is online

Users browsing this forum: VoilaBot [Bot] and 4 guests