getWeather({"success":"1","result":[{"cityno":"shanghai"}) 爱秀代码 - Powered by Discuz! Board
免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
Board logo

标题: [一般闲聊] 测试发帖艾特按钮 [打印本页]

作者: icode    时间: 2018-9-25 20:44     标题: 测试发帖艾特按钮

[at]無名[/at]
[at]麻城生活网[/at]
[at]波斯佳人[/at]
[at]老闆[/at]
[at]Yenifer[/at]
作者: 波斯佳人    时间: 2018-9-25 21:00


作者: 無名    时间: 2018-9-25 21:02

我刚刚才弄完回复框的@,这个又怎么弄?请问路径在那个模板!
作者: icode    时间: 2018-9-25 21:23

安装前提已经替换了快捷回复图标样式

http://sclub.com.tw/discuz/viewthread.php?tid=33465

一、快捷回复安装方法:
1、viewthread_fastpost模版找到
  1. {eval $seditor = array('fastpost', array('bold', 'color', 'img', 'link', 'quote', 'code', 'smilies'));}
复制
替换为
  1. {eval $seditor = array('fastpost', array('bold', 'color', 'img', 'link', 'quote', 'code', 'at', 'smilies'));}
复制
2、打开seditor.htm模版,找到
  1. <!--{if in_array('code', $seditor[1])}-->
  2. <a href="javascript:;" title="{lang e_code}" class="tb_code" onclick="seditor_insertunit('$seditor[0]', '[c ode]', '
复制
在下边加
  1.         <!--{if in_array('at', $seditor[1])}-->
  2.                 <a href="javascript:;" title="召唤" class="tb_at" onclick="seditor_insertunit('$seditor[0]', '@', '')">At</a>
  3.         <!--{/if}-->
复制
3、css_seditor模版找到
  1. .editor_tb div a.tb_imme { background-position: -3px -763px; }
复制
在下边加
  1. .editor_tb div a.tb_at {background-position: -140px 0; }
复制
二、发帖编辑框安装
1、进入 界面--编辑器设置--Discuz!代码
新建一个标签
标签名称
  1. at
复制
勾选
  1. “显示”“可用”
复制
图标文件 / 描述
  1. 任意填写
复制
进入详情
替换内容
  1. @{1}
复制
解释:
  1. 呼叫你的好友或关注的人
复制
参数提示语:
  1. 请输入要呼叫的用户名
复制
2、打开css_common模版
在最下边加
  1. #e_cmd_custom1_at {
  2.     background: url(http://icode.258club.com/attachments/month_1809/1809011001e1ecb63c9068ea49.gif) no-repeat;
  3.     background-position: -122px -120px;
  4.     width: 40px;
  5.     padding-top: 28px;
  6.     height: 18px;
  7.     text-indent: 0;
  8.     font-size: 12px;
  9.     text-align: center;
  10. }
  11. #e_cmd_custom1_at img{display: none;}
复制
3、在第三方加入代码
  1. <script>$jq("#e_cmd_custom1_at").text("@朋");</script>
复制

作者: 麻城生活网    时间: 2018-9-25 21:44

@icode
这么快就出教程了呀
作者: 無名    时间: 2018-9-25 21:45

@无界

弄好了,谢谢!不过添加到发帖框之后我之前添加的mp3,mp4和其他的东西都失踪了,有没有方法解决?
作者: 麻城生活网    时间: 2018-9-26 10:10

表示 我的论坛快速发帖没有调用上去    请问无界兄该怎么加上去

还有发帖界面之前加上去的MP3  MP4   全部挤没了
作者: 波斯佳人    时间: 2018-9-26 10:11

@
作者: 麻城生活网    时间: 2018-9-26 13:23

@波斯佳人
作者: icode    时间: 2018-9-26 14:33

@無名
@麻城生活网
已经修改,把原来的第二步代码删掉,然后第三个加一段代码即可。
作者: icode    时间: 2018-9-26 17:09

发帖际遇
作者: icode    时间: 2018-9-26 17:10

发帖际遇
作者: icode    时间: 2018-9-26 20:54

@無名
@麻城生活网
测试际遇
作者: Yenifer    时间: 2018-9-26 21:33

发帖机遇
作者: Yenifer    时间: 2018-9-27 15:00

发帖机遇
作者: Yenifer    时间: 2018-9-27 15:00

发帖机遇
作者: Yenifer    时间: 2018-9-27 15:00

继续发帖
作者: Yenifer    时间: 2018-9-27 15:00

没用啊
作者: icode    时间: 2018-9-29 05:44


作者: icode    时间: 2018-9-29 05:44


作者: icode    时间: 2018-9-29 05:44


作者: icode    时间: 2018-9-29 05:44


作者: icode    时间: 2018-9-29 05:52


作者: icode    时间: 2018-9-29 05:52


作者: 黑洞    时间: 2020-12-18 20:50

@黑洞




欢迎光临 爱秀代码 (http://icode.258club.com/) Powered by Discuz! 7.2