测试发帖艾特按钮
[at]無名[/at][at]麻城生活网[/at]
[at]波斯佳人[/at]
[at]老闆[/at]
[at]Yenifer[/at] [img]http://icode.258club.com/attachments/month_1808/1808271137100e417cb7521553.gif[/img] 我刚刚才弄完回复框的@,这个又怎么弄?请问路径在那个模板! [color=Red]安装前提已经替换了快捷回复图标样式[/color]
[url]http://sclub.com.tw/discuz/viewthread.php?tid=33465[/url]
一、快捷回复安装方法:
1、viewthread_fastpost模版找到[code]{eval $seditor = array('fastpost', array('bold', 'color', 'img', 'link', 'quote', 'code', 'smilies'));}[/code]替换为[code]{eval $seditor = array('fastpost', array('bold', 'color', 'img', 'link', 'quote', 'code', 'at', 'smilies'));}[/code]2、打开seditor.htm模版,找到[code] <!--{if in_array('code', $seditor[1])}-->
<a href="javascript:;" title="{lang e_code}" class="tb_code" onclick="seditor_insertunit('$seditor[0]', '[c ode]', '[/code]在下边加[code] <!--{if in_array('at', $seditor[1])}-->
<a href="javascript:;" title="召唤" class="tb_at" onclick="seditor_insertunit('$seditor[0]', '@', '')">At</a>
<!--{/if}-->[/code]3、css_seditor模版找到[code].editor_tb div a.tb_imme { background-position: -3px -763px; }[/code]在下边加[code].editor_tb div a.tb_at {background-position: -140px 0; }[/code]二、发帖编辑框安装
1、进入 界面--编辑器设置--Discuz!代码
新建一个标签
标签名称[code]at[/code]勾选[code]“显示”“可用”[/code]图标文件 / 描述[code]任意填写[/code]进入详情
替换内容[code]@{1}[/code]解释:[code]呼叫你的好友或关注的人[/code]参数提示语:[code]请输入要呼叫的用户名[/code]2、打开css_common模版
在最下边加[code]#e_cmd_custom1_at {
background: url(http://icode.258club.com/attachments/month_1809/1809011001e1ecb63c9068ea49.gif) no-repeat;
background-position: -122px -120px;
width: 40px;
padding-top: 28px;
height: 18px;
text-indent: 0;
font-size: 12px;
text-align: center;
}
#e_cmd_custom1_at img{display: none;}[/code]3、在第三方加入代码[code]<script>$jq("#e_cmd_custom1_at").text("@朋");</script>[/code] @icode
这么快就出教程了呀 @无界
弄好了,谢谢!不过添加到发帖框之后我之前添加的mp3,mp4和其他的东西都失踪了,有没有方法解决? 表示 我的论坛快速发帖没有调用上去 请问无界兄该怎么加上去
还有发帖界面之前加上去的MP3 MP4 全部挤没了 @[img]http://icode.258club.com/attachments/month_1808/180827113751ed9cd25306a685.gif[/img] @波斯佳人 @無名
@麻城生活网
已经修改,把原来的第二步代码删掉,然后第三个加一段代码即可。 发帖际遇 发帖际遇 @無名
@麻城生活网
测试际遇{:4_95:} 发帖机遇 发帖机遇 发帖机遇 继续发帖 没用啊 {:2_26:} {:3_43:} {:5_279:} {:5_245:} {:5_251:} {:5_249:} @黑洞
页:
[1]