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
by 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
Alexander
- Crewman

-
- Posts: 1
- Joined: 29 Feb 2008, 00:08
- Gender: Male
- phpBB Knowledge:

-
by 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'
The alt" text doesn't show in Firefox, but I don't care at this point.
Thanks guys.
-
Barry 441
Barry
- Cadet II

-
- Posts: 21
- Joined: 21 Feb 2008, 08:26
- Location: Colrain, MA
- Favorite Team: Chicago Bears
- Gender: Male
- phpBB Knowledge:

-
by 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
Ulrik
- Borg Drone

-
- Posts: 401
- Joined: 24 Nov 2007, 11:05
- Location: Denmark
- Favorite Team: Highslide JS
- Gender: Male
- phpBB Knowledge:

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

-

sixtvs
Jo
- Cadet II

-
- Posts: 25
- Joined: 10 Apr 2008, 06:10
- Location: US of A
- Favorite Team: New England Patriots
- Gender: Male
- phpBB Knowledge:

-
by stye » 15 May 2008, 14:31
thank you
-
stye
- Crewman

-
- Posts: 1
- Joined: 15 May 2008, 00:34
- Gender: Male
- phpBB Knowledge:

-
by mcdanielnc89 » 15 May 2008, 22:13
Does this do what i requested
here?
-

mcdanielnc89
Nathaniel
- Cadet IV

-
- Posts: 53
- Joined: 15 Mar 2008, 19:19
- Gender: Male
- phpBB Knowledge:

-
by Stoker » 15 May 2008, 23:48
mcdanielnc89 wrote:Does this do what i requested
here?
Yes

Stoker
-
Stoker
Ulrik
- Borg Drone

-
- Posts: 401
- Joined: 24 Nov 2007, 11:05
- Location: Denmark
- Favorite Team: Highslide JS
- Gender: Male
- phpBB Knowledge:

-
Return to Styles Tweaks, Tips and Graphics
Who is online
Users browsing this forum: No registered users and 2 guests