微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

DISCUZ X1.5下载附件名称前加本站名称

<span style="widows: 2; text-transform: none; text-indent: 0px; border-collapse: separate; font: medium 'Times New Roman'; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0); word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"><span style="line-height: 16px; font-family: 'Trebuchet MS',Arial,sans-serif; color: rgb(64,64,64); font-size: 13px" class="Apple-style-span">
<p style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 16px">效果用户在下载disCUZ论坛附件时,附件名前自动加网站名


<p style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 16px">操作方法:1.修改source/module/forum/forum_attachment.<a href="http://www.sn03.com" target="_blank"><span class="wp_keywordlink_affiliate"><a style="outline-style: none; color: rgb(102,149,23); text-decoration: none" title="查看 php 的全部文章" href="http://blog.fend.cn/tag/php" target="_blank">php


<div style="overflow-x: auto; overflow-y: auto; background-color: rgb(231,229,220); margin: 18px 0px; width: 594px; font-family: Consolas,'Courier New',Courier,mono; font-size: 12px; padding-top: 1px" class="dp-Highlighter">
<div style="padding-left: 45px" class="bar">
<div style="border-left: rgb(108,226,108) 3px solid; padding-bottom: 10px; background-color: rgb(248,248,248); padding-left: 10px; padding-right: 8px; font: 9px Verdana,Geneva,Helvetica,sans-serif; color: silver; padding-top: 3px" class="tools">
<a style="outline-style: none; color: rgb(160,160,160); font-size: 9px; margin-right: 10px; text-decoration: none" onclick="dp.sh.Toolbar.Command('ViewSource',this);return false;" href="#">view plain<a style="outline-style: none; color: rgb(160,160); font-size: 9px; margin-right: 10px; text-decoration: none" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;" href="#">copy to clipboard<a style="outline-style: none; color: rgb(160,160); font-size: 9px; margin-right: 10px; text-decoration: none" onclick="dp.sh.Toolbar.Command('PrintSource',this);return false;" href="#">print<a style="outline-style: none; color: rgb(160,160); font-size: 9px; margin-right: 10px; text-decoration: none" onclick="dp.sh.Toolbar.Command('About',this);return false;" href="#">?

    ottom: 0px; background-color: rgb(255,255,255); list-style-type: decimal-leading-zero; margin: 0px 0px 1px 45px; padding-left: 0px; padding-right: 0px; color: rgb(92,92,92); padding-top: 0px" class="dp-c">
  1. ottom: 0px !important; line-height: 14px; overflow-x: hidden; overflow-y: hidden; background-color: rgb(255,255); padding-left: 0px !important; width: 543px; padding-right: 0px !important; word-break: break-all; padding-top: 10px !important" class="alt">
  2. ottom: 0px !important; line-height: 14px; overflow-x: hidden; overflow-y: hidden; background-color: rgb(248,248); padding-left: 0px !important; width: 543px; padding-right: 0px !important; word-break: break-all; padding-top: 10px !important">
  3. 名称_'

ottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 16px">*****做到步骤一,disCUZ X1.5已经实现了下载disCUZ论坛附件时,附件名前自动加网站名的效果,但网上也有下面步骤二,不知道什么意思*****2.修改source/function/function_attachment.PHP

  • 名称_'
  • ottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 16px">这时再去你的disCUZ论坛下载附件,你会发现名称前就自动加上了你要的字符串(不管是老附件还是新附件,都一样的效果

    版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

    相关推荐