爱秀代码's Archiver

icode 发表于 2018-8-29 17:49

两步安装X系列搜索框(无需上传图片,外链永久有效。)

只需两步安装精仿X系列搜索框(无需上传图片,外链永久有效。)

[attach]186[/attach]

[attach]187[/attach]

1、新建一个模版命名为search_bar,内容是

**** Hidden Message *****

2、打开header模版找到[code]$pluginhooks[global_header][/code]在它的上边加代码
**** Hidden Message *****

即可。

麻城生活网 发表于 2018-8-29 17:57

前排鼎力支持

麻城生活网 发表于 2018-8-29 18:05

无界兄搜索框调宽度在哪个位置做调整?

波斯佳人 发表于 2018-8-29 18:08

波斯佳人来顶贴了
惊不惊喜?意不意外?
{:3_63:}

波斯佳人 发表于 2018-8-29 18:08

波斯佳人来顶贴了
惊不惊喜?意不意外?
{:3_63:}

麻城生活网 发表于 2018-8-29 18:14

见证奇迹的时刻到了

麻城生活网 发表于 2018-8-29 18:18

我的问题来了,我的模板好多地方有修改了

麻城生活网 发表于 2018-8-29 18:19

[url]http://mc0713.66rt.com[/url]

完了   懵逼了

麻城生活网 发表于 2018-8-29 18:24

[b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=351&ptid=37]1#[/url] [i]icode[/i] [/b]


    无界兄,安装你这个搜索框与我的论坛不兼容了,我自己模块有问题,不知道能不能解决,如果不能解决我是不是要放弃,还是喜欢你这个搜索框,真心的

麻城生活网 发表于 2018-8-29 18:27

能否帮忙看一下,真心想用你的搜索框

麻城生活网 发表于 2018-8-29 18:37

然后你在把.tongji_a 的 margin:改为55px 即可

这个在哪个位置呀无界兄,查找不到呢

icode 发表于 2018-8-29 18:40

[b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=361&ptid=37]10#[/url] [i]麻城生活网[/i] [/b]


    [attach]188[/attach]

麻城生活网 发表于 2018-8-29 18:43

[b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=363&ptid=37]12#[/url] [i]icode[/i] [/b]


    我这边还是一样,我更新缓存一下

無名 发表于 2018-8-29 19:06

我也看看

麻城生活网 发表于 2018-8-29 19:18

无界兄,我的导航怎么往下移一点与你的搜索框对其,下面是我的导航代码[code]<!--导航栏-->
<style>#menu {background: url([img]http://mc0713.66rt.com/attachments/day_180826/180826130059a80294b250f8a3.png[/img]) no-repeat scroll -3px 1px !important;height: 33px !important;line-height: 33px !important;width: 100% !important;}#menu a {color: #fff !important;padding: 0px 15px !important;height: 33px !important;line-height: 33px !important;font-weight: 700 !important;font-size: 14px !important;}#menu li.current a {color: #0063A7 !important;background: url([img]http://mc0713.66rt.com/attachments/day_180807/1808071058d4b06490f95a03aa.gif[/img]) repeat-x scroll center top #fff !important;}#menu li {background: url([img]http://mc0713.66rt.com/attachments/day_180807/1808071101b1698839834c453c.gif[/img]) no-repeat scroll 100% 0px !important;padding-right: 1px !important;float: left !important;margin-left: 0px !important;}#mn_index {margin-left: 10px !important;}</style>[/code]还有个问题就是我安装的章鱼快捷导航消失了,是不是搜索框覆盖了,需要换别的位置啊

麻城生活网 发表于 2018-8-29 19:50

各位站长麻烦你们到我站里看下还有没有什么其他的问题

昨天无界兄说我的论坛卡,我优化了一下,你们顺便也测试下我论坛的速度吧

谢了
[url]http://mc0713.66rt.com/index.php[/url]

Yenifer 发表于 2018-8-29 20:37

[b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=367&ptid=37]16#[/url] [i]麻城生活网[/i] [/b]


    风格的Css不对,也会造成卡的,因为浏览器要加载你错误的代码并且修复它。我们看到的都是浏览器根据w3c规则修复的



如果卡的话,你可以切换到默认风格,看看卡不卡!


这也是为什么,风格做好,各个浏览器都要测试下的原因!

icode 发表于 2018-8-29 20:50

[b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=367&ptid=37]16#[/url] [i]麻城生活网[/i] [/b]


    我看到你好像已经调整的差不多了,还有两处小细节改一下,把这两段代码放到css_common试试看。[code]#header {margin-bottom: 5px!important;}
.taglist {margin: 0!important;}[/code]

icode 发表于 2018-8-29 20:54

[b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=366&ptid=37]15#[/url] [i]麻城生活网[/i] [/b]


    关于章鱼那个导航你可以改一改css
改为[code]#qmenu_out {
    position: absolute;
    right: 0px;
    margin-top: 67px;
    z-index: 9999;
}[/code]

麻城生活网 发表于 2018-8-30 06:59

[i=s] 本帖最后由 麻城生活网 于 2018-8-30 07:02 编辑 [/i]

[b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=368&ptid=37]17#[/url] [i]Yenifer[/i] [/b]


    是的,当初因为安装贴内1楼快速回复而修改的主主体宽度1010,因为那时不会修改快速回复的宽度,快速回复存在过宽兄台,如果现在换回默认960的话,估计要修改好多东西,我也是担心我自己搞乱了,不是因为这个问题我早就装了一个防x3的界面了

麻城生活网 发表于 2018-8-30 07:00

[b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=370&ptid=37]19#[/url] [i]icode[/i] [/b]


    这个具体怎么操作呀无界兄?在哪里修改

麻城生活网 发表于 2018-8-30 07:19

[b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=381&ptid=37]21#[/url] [i]麻城生活网[/i] [/b]


    是的,我调位置是在common

麻城生活网 发表于 2018-8-30 09:33

[b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=370&ptid=37]19#[/url] [i]icode[/i] [/b][code]

    /*-------------------快捷导航------------------*/
#qmenu_out{position:absolute;right:-4px;bottom:32px;}
#qmenu{display:inline-block;margin:3px 4px 0;padding:0 12px 0 0;width:83px;height:26px;background:url(http://mc0713.66rt.com/attachments/day_180827/18082715321fadfc3041d6bd62.png) no-repeat 0 0;line-height:26px;text-align:center;color:#DD7900;font-weight:700;text-shadow:0 1px 0 #FFF;overflow:hidden;}
#qmenu:hover{text-decoration:none;}
#qmenu.a{position:relative;z-index:150;background-position:0 -30px;}
#qmenu_menu{position:absolute;top:30px;right:4px;animation-name:auto!important;-webkit-animation-name:auto!important;margin-top:-1px;padding:20px 5px 10px;width:180px;border:#9A9A9A 1px solid;background:#ffffff;z-index:150;}
#qmenu_menu ul li{float:left;}
#qmenu_menu ul a{display:inline-block;margin-bottom:10px;padding:47px 0 0;width:60px;border:none;border-radius:4px;background:url(http://www.madio.net/static/image/common/noicon.gif) no-repeat 50% 5px;text-align:center;text-decoration:none;}
#qmenu_menu ul a:hover{background-color:#FFF6B4;color:#369;text-shadow:none;}
#qmenu_menu div{margin:30px auto 30px auto;text-align:center;}
#qmenu_menu div a{border:none;position:static;display:inline;font-weight:bold;color:{HIGHLIGHTLINK};}[/code]是这个代码吧?请问无界兄如何更改你的代码补丁

麻城生活网 发表于 2018-8-30 17:41

[i=s] 本帖最后由 麻城生活网 于 2018-8-30 17:42 编辑 [/i]

[attach]203[/attach][b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=351&ptid=37]1#[/url] [i]icode[/i] [/b]


    无界兄刚发现了一个致命的问题

我贴内的发帖回复在搜索框里面了,被挡住了

icode 发表于 2018-8-30 17:48

[b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=432&ptid=37]24#[/url] [i]麻城生活网[/i] [/b]


    删掉#nav {
    display: none!important;
}

再修改nav原代码为[code]#nav {
    margin: 42px auto 0;
    background: url(http://macheng.funbbs.me/attachments/month_1807/1807191118f013fc462f14b0d0.png) no-repeat 0 50%;
    text-align: left;
    text-indent: 25px;
    line-height: 3em;
}[/code]

麻城生活网 发表于 2018-8-30 17:50

[i=s] 本帖最后由 麻城生活网 于 2018-8-30 17:51 编辑 [/i]

[b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=433&ptid=37]25#[/url] [i]icode[/i] [/b]


    说下哪个模板好吗?

viewthread_node 这个吗?》

还是common里的搜索框相关代码?

icode 发表于 2018-8-30 17:51

[b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=432&ptid=37]24#[/url] [i]麻城生活网[/i] [/b]


    关于首页不想要nav只要把discuz里边的[code]<div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang home}</div>[/code]删除即可

麻城生活网 发表于 2018-8-30 17:53

[b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=435&ptid=37]27#[/url] [i]icode[/i] [/b]


    默认模板

麻城生活网 发表于 2018-8-30 18:00

[quote]回复  麻城生活网


    删掉#nav {
    display: none!important;
}

再修改nav原代码为 ...
[size=2][color=#999999]icode 发表于 2018-8-30 17:48[/color] [url=http://icode.258club.com/redirect.php?goto=findpost&pid=433&ptid=37][img]http://icode.258club.com/images/common/back.gif[/img][/url][/size][/quote]


    要删除的这个代码找不到,后面一个改好了

麻城生活网 发表于 2018-8-30 18:02

[b]回复 [url=http://icode.258club.com/redirect.php?goto=findpost&pid=435&ptid=37]27#[/url] [i]icode[/i] [/b]


    我把我的common模板短信发给你看看吧,我操作不来,头大了

页: [1] 2

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