效果示范:
发帖框效果:
快速回复效果:
1.在发帖框的的效果美化代码
打开:/template/风格模板/forum/post
查找- <button type="submit" id="postsubmit" class="pn pnc" value="true" name="{if $_GET[action] == 'newthread'}topicsubmit{elseif $_GET[action] == 'reply'}replysubmit{elseif $_GET[action] == 'edit'}editsubmit{/if}">
- <!--{if $_GET[action] == 'newthread'}-->
- <!--{if $special == 0}--><span>{lang post_newthread}</span>
- <!--{elseif $special == 1}--><span>{lang post_newthreadpoll}</span>
- <!--{elseif $special == 2}--><span>{lang post_newthreadtrade}</span>
- <!--{elseif $special == 3}--><span>{lang post_newthreadreward}</span>
- <!--{elseif $special == 4}--><span>{lang post_newthreadactivity}</span>
- <!--{elseif $special == 5}--><span>{lang post_newthreaddebate}</span>
- <!--{elseif $special == 127}-->
- <span><!--{if $buttontext}-->$buttontext<!--{else}-->{lang post_newthread}<!--{/if}--></span>
- <!--{/if}-->
- <!--{elseif $_GET[action] == 'reply' && !empty($_GET['addtrade'])}--><span>{lang trade_add_post}</span>
- <!--{elseif $_GET[action] == 'reply'}--><span>{lang join_thread}</span>
- <!--{elseif $_GET[action] == 'edit' && $isfirstpost && $thread['displayorder'] == -4}-->
- <span>{lang post_newthread}</span>
- <!--{elseif $_GET[action] == 'edit'}--><span>{lang edit_save}</span>
- <!--{/if}-->
- </button>
复制代码
在下面添加- <div style="width:590px; height:40px; line-height:15px; background:#fff7a0; border:#aa9c03 1px dotted; font-size:12px;padding:5px; clear:both; margin-top:5px"><FONT color=#5087DA>■</FONT> 当前IP:<FONT color=red>$_SERVER[REMOTE_ADDR]</FONT> <FONT color=#5087DA>■</FONT> 发帖时请遵守本站版规,尊重主帖作者的辛劳,请勿恶意灌水,勿使用纯英文字母、纯表情或毫无意义的词语。如果你对主帖作者的帖子不屑一顾的话,请勿回帖。谢谢合作!
- </div>
复制代码
2.在快速回复框的效果代码。
打开:template/风格模板/viewthread_fastpost
查找- <button {if $allowpostreply}type="submit" {elseif !$_G['uid']}type="button" onclick="showWindow('login', 'member.php?mod=logging&action=login&guestmessage=yes')" {/if}name="replysubmit" id="fastpostsubmit" class="pn pnc vm" value="replysubmit" tabindex="5"><strong>{lang post_newreply}</strong></button>
复制代码
在下面添加:- <p><div style="width:590px; height:30px; line-height:15px; background:#fff7a0; border:#aa9c03 1px dotted; font-size:12px;padding:5px; clear:both; margin-top:5px"><FONT color=#5087DA>■</FONT> 当前IP:<FONT color=red>$_SERVER[REMOTE_ADDR]</FONT> <FONT color=#5087DA>■</FONT> 发帖时请遵守本站版规,尊重主帖作者的辛劳,请勿恶意灌水,勿使用纯英文字母、纯表情或毫无意义的词语。如果你对主帖作者的帖子不屑一顾的话,请勿回帖。谢谢合作!
- 。</div></p>
复制代码
|