Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[美化] 首发-Player's UBB Tags for Discuz! 论坛用播放器UBB标签[适用于4.0]美化更新

[复制链接]
xikai09 发表于 2005-12-25 20:57:47 | 显示全部楼层
不错
回复

使用道具 举报

PHP论坛 发表于 2005-12-25 21:39:50 | 显示全部楼层
晕。这个东西放在discuzcode.func.php的什么地方啊?
回复

使用道具 举报

 楼主| haohao036 发表于 2005-12-25 21:50:55 | 显示全部楼层
原帖由 PHP论坛 于 2005-12-25 21:39 发表
晕。这个东西放在discuzcode.func.php的什么地方啊?

回复

使用道具 举报

PHP论坛 发表于 2005-12-25 23:06:08 | 显示全部楼层
嗯。我刚才试了一下。如果安装你这个的话。之前不能安装这个
https://discuz.dismall.com/viewthread.php?tid=203346
回复

使用道具 举报

 楼主| haohao036 发表于 2005-12-25 23:23:08 | 显示全部楼层
可以安装的...


如果安装你这个的话。就按照我下面的方法删掉
https://discuz.dismall.com/viewthread.php?tid=203346


打开include/bbcode.js
删掉这四句
  1. function mid() {
  2.         if (helpmode){
  3.                 alert(mid_help);
  4.         } else if (advmode) {
  5.                 AddTxt="[mid] [/mid]";
  6.                 AddText(AddTxt);
  7.         } else {  
  8.                 txt=prompt(mid_normal,"http://");   
  9.                 if(txt!=null) {            
  10.                         AddTxt="\r[mid]"+txt;
  11.                         AddText(AddTxt);
  12.                         AddText("[/mid]");
  13.                 }      
  14.         }
  15. }
  16. function rm() {
  17.         if (helpmode){
  18.                 alert(rm_help);
  19.         } else if (advmode) {
  20.                 AddTxt="[rm] [/rm]";
  21.                 AddText(AddTxt);
  22.         } else {  
  23.                 txt=prompt(rm_normal,"http://");   
  24.                 if(txt!=null) {            
  25.                         AddTxt="\r[rm]"+txt;
  26.                         AddText(AddTxt);
  27.                         AddText("[/rm]");
  28.                 }      
  29.         }
  30. }
  31. function wmv() {
  32.         if (helpmode){
  33.                 alert(wmv_help);
  34.         } else if (advmode) {
  35.                 AddTxt="[wmv] [/wmv]";
  36.                 AddText(AddTxt);
  37.         } else {  
  38.                 txt=prompt(wmv_normal,"http://");   
  39.                 if(txt!=null) {            
  40.                         AddTxt="\r[wmv]"+txt;
  41.                         AddText(AddTxt);
  42.                         AddText("[/wmv]");
  43.                 }      
  44.         }
  45. }
  46. function mp3() {
  47.         if (helpmode){
  48.                 alert(mp3_help);
  49.         } else if (advmode) {
  50.                 AddTxt="[mp3] [/mp3]";
  51.                 AddText(AddTxt);
  52.         } else {  
  53.                 txt=prompt(mp3_normal,"http://");   
  54.                 if(txt!=null) {            
  55.                         AddTxt="\r[mp3]"+txt;
  56.                         AddText(AddTxt);
  57.                         AddText("[/mp3]");
  58.                 }      
  59.         }
  60. }
复制代码



打开post_bbinsert.htm模板

查找删掉下面的

  1. var mid_normal = "{lang post_midi}";
  2.     var mid_help = "{lang post_discuzcode_mid}\n\n{lang post_discuzcode_mid_comment}";
  3.     var wmv_normal = "{lang post_wmv}";
  4.     var wmv_help = "{lang post_discuzcode_wmv}\n\n{lang post_discuzcode_wmv_comment}";
  5.     var mp3_normal = "{lang post_mp3}";
  6.     var mp3_help = "{lang post_discuzcode_mp3}\n\n{lang post_discuzcode_mp3_comment}";
  7.     var rm_normal = "{lang post_rm}";
  8.     var rm_help = "{lang post_discuzcode_rm}\n\n{lang post_discuzcode_rm_comment}";
复制代码


查找删掉下面的

  1. <a hidefocus=true href="javascript:mid()"><img src="{IMGDIR}/bb_mid.gif" border="0" alt="{lang post_discuzcode_midi}"></a>
  2. <a hidefocus=true href="javascript:wmv()"><img src="{IMGDIR}/bb_wmv.gif" border="0" alt="{lang post_discuzcode_wmv}"></a>
  3. <a hidefocus=true href="javascript:rm()"><img src="{IMGDIR}/bb_rm.gif" border="0" alt="{lang post_discuzcode_rm}"></a>
  4. <a href="javascript:mp3()"><img src="{IMGDIR}/bb_mp3.gif" border="0" alt="{lang post_discuzcode_mp3}"></a>
  5. <a hidefocus=true href="javascript:fly()"><img src="{IMGDIR}/bb_fly.gif" border="0" alt="{lang post_discuzcode_fxwz}"></a>
  6. <a hidefocus=true href="javascript:strike()"><img src="{IMGDIR}/bb_strike.gif" border="0" alt="{lang post_discuzcode_strike}"></a>
复制代码



打开语言包templates.lang.php

查找删掉
  1. 'post_midi' => '插入 midi 音乐',
  2.         'post_rm' => '插入 rm',
  3.         'post_bjyy' => '插入背景音乐',
  4.         'post_mp3' => '插入 mp3音乐',
  5.         'post_wmv' => '插入 wmv,wma,等媒体',
复制代码



继续查找删掉

  1. 'post_discuzcode_midi' => '插入 midi',
  2.         'post_discuzcode_wmv' => '插入 wmv,wma,等媒体',
  3.         'post_discuzcode_rm' => '插入 rm',
  4.         'post_discuzcode_mp3' => '插入 mp3',
复制代码


去后台设置Discuz! 代码
系统设置------->Discuz! 代码------->开始设置---!
删掉RM MP3 WMV MID 四种标签


就OK了..就可以装我那种播放器了.

[ 本帖最后由 haohao036 于 2005-12-25 23:24 编辑 ]
回复

使用道具 举报

linsie 发表于 2005-12-25 23:25:30 | 显示全部楼层
好东西 没有理由不要的
回复

使用道具 举报

PHP论坛 发表于 2005-12-25 23:27:43 | 显示全部楼层
我都做了。我在后台禁用了。。。。。。。。可以显示你那个样子的播放器
可是我在发帖的时候。点击那些标签都没反应
回复

使用道具 举报

 楼主| haohao036 发表于 2005-12-25 23:29:47 | 显示全部楼层
原帖由 PHP论坛 于 2005-12-25 23:27 发表
我都做了。我在后台禁用了。。。。。。。。可以显示你那个样子的播放器
可是我在发帖的时候。点击那些标签都没反应



点击那些标签都没反应 那是你 ./include/bbcode.js
这个文件没修改正常...你查查..
回复

使用道具 举报

PHP论坛 发表于 2005-12-25 23:41:45 | 显示全部楼层
正常了。谢谢你。有一个地方没有删到。现在可以用了。
还有。可以 不用在后台删除那些标签。只要后面不打勾。不启用他就可以了
我在本地测试成功。3Q了
回复

使用道具 举报

 楼主| haohao036 发表于 2005-12-26 00:40:35 | 显示全部楼层
原帖由 PHP论坛 于 2005-12-25 23:41 发表
正常了。谢谢你。有一个地方没有删到。现在可以用了。
还有。可以 不用在后台删除那些标签。只要后面不打勾。不启用他就可以了
我在本地测试成功。3Q了




不启用他就可以了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-5-5 22:32 , Processed in 0.097752 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表