首先需先將自己美化或者增加內容過的二維碼圖片上傳至空間,如根目錄。
編輯修改論壇模板目錄/source/plugin/wechat/template/module.htm
找到
- <img src="plugin.php?id=wechat:qrcode{$idstr}&access=yes" width="98" />
修改為
- <!--{if $idstr == ''}-->
- <img src="圖片文件名" width="98" />
- <!--{else}-->
- <img src="plugin.php?id=wechat:qrcode{$idstr}&access=yes" width="98" />
- <!--{/if}-->
更新緩存或者重啓微信登錄插件。