Code: Select all
#
#-----[ OPEN ]---------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]---------------------------------------------
#
$poster_avatar = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $phpbb_root_path . $images['default_offsite_avatar'] . '" alt="" border="0" />' : '';
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$poster_avatar = ( $board_config['allow_avatar_remote'] ) ? '' : '';
#
#-----[ OPEN ]---------------------------------------------
#
includes/usercp_viewprofile.php
#
#-----[ FIND ]---------------------------------------------
#
$avatar_img = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $phpbb_root_path . $images['default_offsite_avatar'] . '" alt="" border="0" />' : '';
#
#-----[ REPLACE WITH ]---------------------------------------------
#
$avatar_img = ( $board_config['allow_avatar_remote'] ) ? '' : '';
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
Kieran007 wrote: Yes, but you will need to make the following code changes after installing the mod:-
That should do the job for youCode: Select all
# #-----[ OPEN ]--------------------------------------------- # viewtopic.php # #-----[ FIND ]--------------------------------------------- # $poster_avatar = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $phpbb_root_path . $images['default_offsite_avatar'] . '" alt="" border="0" />' : ''; # #-----[ REPLACE WITH ]--------------------------------------------- # $poster_avatar = ( $board_config['allow_avatar_remote'] ) ? '' : ''; # #-----[ OPEN ]--------------------------------------------- # includes/usercp_viewprofile.php # #-----[ FIND ]--------------------------------------------- # $avatar_img = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $phpbb_root_path . $images['default_offsite_avatar'] . '" alt="" border="0" />' : ''; # #-----[ REPLACE WITH ]--------------------------------------------- # $avatar_img = ( $board_config['allow_avatar_remote'] ) ? '' : ''; # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ #
Kieran007 wrote: It *should* do. My mod only checks the avatar at the point of loading a remote image, so as long as the default avatar mod you describe is concerned with a default local image, then the mods should run in tandem
onigumo wrote: Now all I need to do is find one that does the same for signatures. *wink, wink, nudge, nudge*
Peter77sx wrote: Yup! it works just fine with no conflicts. easier install then I thought. thank you much for this nifty MOD. very useful!
Peter77sx wrote:onigumo wrote: Now all I need to do is find one that does the same for signatures. *wink, wink, nudge, nudge*
Agreed!
saaiberke wrote: Kieran007,
The mod works great! No more nagging about slow board
I had to uninstall the Fast resize avatar mod to install yours, now I'm trying to combine both but I don't seem to manage that.
Do you see any solution to combine both mods?
Thx,
Nic
saaiberke wrote: The mod works great! No more nagging about slow board
saaiberke wrote: I had to uninstall the Fast resize avatar mod to install yours, now I'm trying to combine both but I don't seem to manage that.
Do you see any solution to combine both mods?
Saeru wrote: Question.. if it works with the default avatar mod..
If a users avatar brakes.. a default avatar is displayed right?
Saeru wrote: It that from this mod? or the one from the default avatar mod?
Saeru wrote: I'd like to use this and like.. if a user just hasn't selected an avatar.. the default avatar mod displays a "No avatar selected" image..
But from this, is a users linked avatar is broken.. then have another one displayed saying just that..
would that be doable with this?