Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post FAP CUSTOMIZATION - Link Avatar To FAP Gallery 
 
<br />{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}</span><br />

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?
 



 
BulletSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Link Avatar To FAP Gallery 
 
Give this a try:

OPEN viewtopic.php

FIND
Code: [Download] [Hide] [Select]
switch( $postrow[$i]['user_avatar_type'] )
        {
            case USER_AVATAR_UPLOAD:
                $poster_avatar = ( $board_config['allow_avatar_upload'] ) ? '<img src="' . $board_config['avatar_path'] . '/' . $postrow[$i]['user_avatar'] . '" alt="" border="0" />' : '';
                break;
            case USER_AVATAR_REMOTE:
                $poster_avatar = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $postrow[$i]['user_avatar'] . '" alt="" border="0" />' : '';
                break;
            case USER_AVATAR_GALLERY:
                $poster_avatar = ( $board_config['allow_avatar_local'] ) ? '<img src="' . $board_config['avatar_gallery_path'] . '/' . $postrow[$i]['user_avatar'] . '" alt="" border="0" />' : '';
                break;
        }

REPLACE WITH
Code: [Download] [Hide] [Select]
switch( $postrow[$i]['user_avatar_type'] )
        {
            case USER_AVATAR_UPLOAD:
                $poster_avatar = ( $board_config['allow_avatar_upload'] ) ? '<a href="album.php?user_id=' . $poster_id  . '"><img src="' . $board_config['avatar_path'] . '/' . $postrow[$i]['user_avatar'] . '" alt="" border="0" /></a>' : '';
                break;
            case USER_AVATAR_REMOTE:
                $poster_avatar = ( $board_config['allow_avatar_remote'] ) ? '<a href="album.php?user_id=' . $poster_id  . '"><img src="' . $postrow[$i]['user_avatar'] . '" alt="" border="0" /></a>' : '';
                break;
            case USER_AVATAR_GALLERY:
                $poster_avatar = ( $board_config['allow_avatar_local'] ) ? '<a href="album.php?user_id=' . $poster_id  . '"><img src="' . $board_config['avatar_gallery_path'] . '/' . $postrow[$i]['user_avatar'] . '" alt="" border="0" /></a>' : '';
                break;
        }

 



 
ArtieSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Link Avatar To FAP Gallery 
 
Thank You Very Much Sir!
 



 
BulletSend private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events