查看本论坛精华区帖子,即可看到帖子盖印的样式。
1.修改./templates/default/viewthread.htm
查找:
引用:
<!--{if $relatedthreadlist && $qihoo['relate']['position']}-->
{template viewthread_relatedthread}
<!--{/if}-->
在上面加上:
引用:
<!--精华贴打标记-->
<!--{if $thread['digest']}--><div id="jinghua" style="right: 40%; WIDTH: 0px; POSITION: absolute; TOP: 320px; HEIGHT: 0px"><img border="0" src="images/thread_jh.gif" width="123" height="108" border="0"></div><!--{/if}-->
<!--精华贴打标记-->
代码中:
right: 40%; WIDTH: 0px;
TOP: 320px; HEIGHT: 0px
为精华章的水平与垂直坐标,自己调整。
2、把要盖印的图片保存为thread_jh.gif,放在images下可以了
附:已经制作好的图片及盖印的方法
给精华贴子盖印 Discuz! 6.1.rar (1.9 KB)