one piece

discuz!hack-组头像放在自定义头像下面

打开 viewthread.php 找\r

  1. if($_DCACHE['usergroups'][$post['groupid']]['groupavatar'] && !$post['avatar']) {
  2.          $post['avatar'] = '<img src="'.$_DCACHE['usergroups'][$post['groupid']]['groupavatar'].'" border="0">';
  3.  } elseif($_DCACHE['usergroups'][$post['groupid']]['groupavatar'] && $post['avatar']) {
  4.          $post['avatar'] = '<img src="'.$_DCACHE['usergroups'][$post['groupid']]['groupavatar'].'" border="0"><br><img src="'.$post['avatar'].'" width="'.$post['avatarwidth'].'" height="'.$post['avatarheight'].'" border="0">';
  5.  } elseif($avatarshowstatus != 2 && $_DCACHE['usergroups'][$post['groupid']]['allowavatar'] && $post['avatar']) {
  6.          $post['avatar'] = '<img src="'.$post['avatar'].'" width="'.$post['avatarwidth'].'" height="'.$post['avatarheight'].'" border="0">';
  7.  } else {
  8.          $post['avatar'] = '';
  9.  }

更改為\r

  1. if($_DCACHE['usergroups'][$post['groupid']]['groupavatar'] && !$post['avatar']) {
  2.          $post['avatar'] = '<img src="'.$_DCACHE['usergroups'][$post['groupid']]['groupavatar'].'" border="0">';
  3.  } elseif($_DCACHE['usergroups'][$post['groupid']]['groupavatar'] && $post['avatar']) {
  4.          $post['avatar'] = '<img src="'.$post['avatar'].'" width="'.$post['avatarwidth'].'" height="'.$post['avatarheight'].'" border="0"><br><img src="'.$_DCACHE['usergroups'][$post['groupid']]['groupavatar'].'" border="0">';
  5.  } elseif($avatarshowstatus != 2 && $_DCACHE['usergroups'][$post['groupid']]['allowavatar'] && $post['avatar']) {
  6.          $post['avatar'] = '<img src="'.$post['avatar'].'" width="'.$post['avatarwidth'].'" height="'.$post['avatarheight'].'" border="0">';
  7.  } else {
  8.          $post['avatar'] = '';
  9.  }

Created By: sb123

Form Page: discuz!hack-组头像放在自定义头像下面


Leave a Reply

You must be logged in to post a comment.