遊客可以看見附件,點下載時提示需要註冊 [5.5/6.0]
原貼:http://www.discuz.net/thread-729334-1-1.html超簡單,經測試,5.5的方法6.0正式版也適用
演示:http://forum.macau-zone.com/view ... 1&extra=page%3D
viewthread.php中將
$allowgetattach = !empty($forum['allowgetattach']) || ($allowgetattach && !$forum['getattachperm']) || forumperm($forum['getattachperm']);
改為
$allowgetattach = !$discuz_uid || !empty($forum['allowgetattach']) || ($allowgetattach && !$forum['getattachperm']) || forumperm($forum['getattachperm']);
頁:
[1]