只需一步,快速开始
viewthread.php 找 if($thread['special'] == 1) {复制代码 在上面加上 //-----------------------------virtualimage require_once './forumdata/cache/plugin_virtualimage.php'; $imagesset = $_DPLUGIN['virtualimage']['vars']; unset($_DPLUGIN['virtualimage']['vars']); if($imagesset[openalpha]==1){ $alpha = "FILTER: alpha(opacity="+WearArray[i]+")"; } $imagesdatas = ''; //-----------------------------复制代码 找 mf.sightml AS signature, 复制代码 在后面插入 mf.useimages,复制代码 找 } else { $post['avatar'] = ''; }复制代码 在下面加上 //------------------------------------------------------------virtualimage if ($imagesset['orderuse']!='1' && $post['useimages']!=1){ $post['avatar'] = $post['avatar']; }elseif($post['gender']=='0'){ if($imagesset['orderuse']=='1'){ $post['avatar'] = "<img src='{$imagesset[imageurl]}noface.gif' border='0'>"; }else{ $post['avatar'] = $post['avatar']; } }else{ if ($post[gender]==1){ $imagesdata[tempequip] = '0-0-0-0-0-0-0-0-init-init-0-init-0-init-init-0-0-0-init-0-0-0-0-0-0-0'; //male initial $imagesdata[sex] = "m"; $imagesdata[upid] = "init"; }else if ($post[gender]==2){ $imagesdata[tempequip] = '0-0-0-0-0-0-0-0-initf-initf-0-initf-0-initf-initf-0-0-0-initf-0-0-0-0-0-0-0'; //female initial $imagesdata[sex] = "f"; $imagesdata[upid] = "initf"; } $imagesdata[pid] = $post[pid]; $imagesdata[uid] = $post[uid]; $imagesdatas[] = $imagesdata; $post['avatar'] = " <!-- virtualimage start--> <DIV id=Show{$post['pid']} style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; LEFT: 0px; PADDING-BOTTOM: 0px; WIDTH: 140px; PADDING-TOP: 0px; POSITION: relative; TOP: 0px; HEIGHT: 226px"></DIV> <!-- virtualimage end-->"; } //--------------------------------------------------------------复制代码 找 $relatedthreadlist = array();复制代码 在上面加上 //--------------------------------------------virtualimage if($imagesdatas!=''){ $vimages = ''; require_once('./virtualimage/global.php'); $vimages = images_showimages($imagesdatas,$alhpa,$imagesset[imageurl]); unset($imagesdatas,$imagesdata,$alpha); } //-------------------------------------- 复制代码
viewthread 模板 找 <div class="t_footer"></div>复制代码 在上面加上 <!--{if $post[authorid] && $post[username] && !$post[anonymous]}-->$vimages<!--{/if}-->复制代码
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )
GMT+8, 2024-11-15 14:23 , Processed in 0.065993 second(s), 4 queries , Gzip On, Redis On.
Powered by Discuz! X3.4
Copyright © 2001-2023, Tencent Cloud.