https://www.icyphoenix.com/viewtopic.php?f=26&t=1049 ----------------------------------- Bullet Tue 30 Jan, 2007 21:05 FAP CUSTOMIZATION - Link Avatar To FAP Gallery -----------------------------------
{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}
The part above is the code in my viewtopic_body file. How can I make it so when someone clicks a members avatar is goes to there FAP Gallery? ----------------------------------- Artie Tue 30 Jan, 2007 21:54 Re: Link Avatar To FAP Gallery ----------------------------------- Give this a try: OPEN [b]viewtopic.php[/b] FIND [codeblock]switch( $postrow[$i]['user_avatar_type'] ) { case USER_AVATAR_UPLOAD: $poster_avatar = ( $board_config['allow_avatar_upload'] ) ? '' : ''; break; case USER_AVATAR_REMOTE: $poster_avatar = ( $board_config['allow_avatar_remote'] ) ? '' : ''; break; case USER_AVATAR_GALLERY: $poster_avatar = ( $board_config['allow_avatar_local'] ) ? '' : ''; break; }[/codeblock] REPLACE WITH [codeblock]switch( $postrow[$i]['user_avatar_type'] ) { case USER_AVATAR_UPLOAD: $poster_avatar = ( $board_config['allow_avatar_upload'] ) ? '' : ''; break; case USER_AVATAR_REMOTE: $poster_avatar = ( $board_config['allow_avatar_remote'] ) ? '' : ''; break; case USER_AVATAR_GALLERY: $poster_avatar = ( $board_config['allow_avatar_local'] ) ? '' : ''; break; }[/codeblock] ----------------------------------- Bullet Wed 31 Jan, 2007 01:51 Re: Link Avatar To FAP Gallery ----------------------------------- Thank You Very Much Sir!