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

macheng 發表於 2018-9-5 13:50

求助,有关修改在线会员相关问题

[attach]79137[/attach]

如图,怎样把在线会员后面的“-7人在线”列整体的移到灰色界面上?从而清楚明了的看到文字

在线求助,哪位好心站长来帮帮我,问过无界,问题一直没有解决!!!!!谢谢大家

21648069 發表於 2018-9-5 16:19

[b]回復 [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=294639&ptid=34715]1#[/url] [i]macheng[/i] [/b]


進入[b][color=Red]discuz[/color][/b].htm

查找:[code]- <em>$onlinenum</em> {lang onlines}[/code]修改成:[code]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- <em>$onlinenum</em> {lang onlines}[/code]再查找:[code]- {lang total} <em>$onlinenum</em> {lang onlines}[/code]修改成:[code]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;- {lang total} <em>$onlinenum</em> {lang onlines}[/code]提交後去工具更新緩存。若覺得空白太多或太少可以自己去增減一些「[color=Red][b]&nbsp;[/b][/color]」。

无界 發表於 2018-9-5 17:42

discuz模版找到[code]                        <h3>
                                <strong><a href="member.php?action=online">{lang onlinemember}</a></strong>
                                - <em>$onlinenum</em> {lang onlines}
                                - <em>$membercount</em> {lang index_members}(<em>$invisiblecount</em> {lang index_invisibles}),
                                <em>$guestcount</em> {lang index_guests}
                                - {lang index_mostonlines} <em>$onlineinfo[0]</em> {lang on} <em>$onlineinfo[1]</em>.
                        </h3>
[/code]修改为[code]
                       
                        <h3>
                                <strong><a href="member.php?action=online">{lang onlinemember}</a></strong>
                                <span style="margin-left: 50px;">- <em>$onlinenum</em> {lang onlines}
                                - <em>$membercount</em> {lang index_members}(<em>$invisiblecount</em> {lang index_invisibles}),
                                <em>$guestcount</em> {lang index_guests}
                                - {lang index_mostonlines} <em>$onlineinfo[0]</em> {lang on} <em>$onlineinfo[1]</em>.</span>
                        </h3>[/code]即可

macheng 發表於 2018-9-6 08:49

谢谢上面两位版主提供的代码,我去试一下!

macheng 發表於 2018-9-6 08:56

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=294641&ptid=34715]3#[/url] [i]无界[/i] [/b]


    无界兄,你这个代码我修改了没有任何反应,不过还是很谢谢你!

macheng 發表於 2018-9-6 09:03

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=294640&ptid=34715]2#[/url] [i]21648069[/i] [/b]


    谢谢2楼提供的代码,我的问题解决了,谢谢!!!

21648069 發表於 2018-9-6 16:20

[quote]谢谢2楼提供的代码,我的问题解决了,谢谢!!!
[size=2][color=#999999]macheng 發表於 2018-9-6 09:03[/color] [url=http://www.sclub.com.tw/discuz/redirect.php?goto=findpost&pid=294652&ptid=34715][img]http://www.sclub.com.tw/discuz/images/common/back.gif[/img][/url][/size][/quote]
:D :victory:

macheng 發表於 2018-9-6 18:11

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=294653&ptid=34715]7#[/url] [i]21648069[/i] [/b]


    感谢感谢!!!!

頁: [1]

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