SCLUB免費論壇申請-使用者論壇's Archiver

no5 發表於 2018-3-22 11:03

论坛自带功能真正的换页不换歌

[i=s] 本帖最後由 no5 於 2018-3-22 11:24 編輯 [/i]

论坛自带功能真正的换页不换歌,喜欢做音乐论坛可以研究一下,
[attach]78733[/attach]

修改如下:1.界面-全局-是否开启左右分栏:  [color=Red] 建议开启,默认为分栏模式  [/color]    宽度为:0  
如图

[attach]78734[/attach]

2.界面-模板管理-默认模板套系-  找到 leftmenu  点编辑找到代码[code]</body></html>[/code]上面添加播放器代码,[color=Red]提供不错的DJ播放器[/color]:[code]<iframe id="background" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" src="http://www.dj97.cn/fmp/" height="24px" width="970px"></iframe>[/code]如图:

[attach]78735[/attach]

3.界面-模板管理-自己用的模板套系,编辑  header ([color=Red]不建议:在默认模板套系修改[/color])
找到[code]document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">{lang frameon_column}<\/a>');
                                                        } else {
                                                                document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">{lang frameon_flat}<\/a>');
                                                        }[/code]改为:[code]document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon"><font color="red">音乐模式</font><\/a>');
                                                        } else {
                                                                document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff"><font color="red">关闭音乐</font><\/a>');
                                                        }[/code]更新缓存一下即可。  [size=7][color=Red] [url=http://mos.258club.com/]末世阁演示站[/url][/color][/size]

SEKO 發表於 2018-3-22 18:05

可以替换播放器里的歌曲吗?

no5 發表於 2018-3-22 19:04

[b]回復 [url=http://258club.com/discuz/redirect.php?goto=findpost&pid=290560&ptid=34325]2#[/url] [i]SEKO[/i] [/b]
随便去搜下,替换一下就可以,

no5 發表於 2018-3-22 20:08

替换播放器里的歌曲,
1.播放器地址看源码,
2.找到歌曲播放单,换上自己地址,
3.在整合起来就可以了,
其实网上有不少的,

no5 發表於 2018-3-22 20:11

在给大家提供一个外链音乐地址搜索器,[url]http://msge.top/music/[/url]

SEKO 發表於 2018-3-22 21:07

[quote]回復  SEKO
随便去搜下,替换一下就可以,
[size=2][color=#999999]no5 發表於 2018-3-22 19:04[/color] [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=290562&ptid=34325][img]http://sclub.com.tw/discuz/images/common/back.gif[/img][/url][/size][/quote]


    找到了,原来是在源码的js/autoplaydata.js里面设置。谢谢!

SEKO 發表於 2018-3-22 21:22

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=290566&ptid=34325]5#[/url] [i]no5[/i] [/b]


    做的不错!

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.