爱黑武论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3473|回复: 0

[建议] Discuz! X1.5让游客查看图片方法

[复制链接]
发表于 2011-5-16 21:26 | 显示全部楼层 |阅读模式

立即注册,加入爱黑武论坛的大家庭!爱黑武,爱上搞机生活!

您需要 登录 才可以下载或查看,没有账号?注册

x
打开这个路径source\module\forum
编制forum_viewthread.php
查找一下代码
  1. $_G['group']['allowgetattach'] = !empty($_G['forum']['allowgetattach']) || ($_G['group']['allowgetattach'] && !$_G['forum']['getattachperm']) || forumperm($_G['forum']
复制代码
替换
  1. $_G['group']['allowgetattach'] = !$discuz_uid || !empty($_G['forum']['allowgetattach']) || ($_G['group']['allowgetattach'] && !$_G['forum']['getattachperm']) || forumperm($_G['forum']
复制代码
在一个论坛上看到的!
 Hello,黑武的好机友!回复想偷个懒?点这里: 
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

QQ|小黑屋|Archiver|手机版|爱黑武论坛 ( 京ICP备2023028323号 | 京公网安备11011202000270号 )

GMT+8, 2024-3-29 06:15 , Processed in 0.022952 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2024, ihei5.com

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