• [原创]同一ID可以在限制时间后再次投票[后台设置投票间隔,各版块独立]

    2005-10-31 07:33:30

    第一步:升级数据库ALTER TABLE `cdb_forums` ADD `limitime` INT( 10 ) DEFAULT '-1' NOT NULL AFTER `replycredits` ;第二步:修改admin/forums.php查找:showsetting('forums_edit_replycredits', 'replycreditsnew', $forum['replycredits'], 'text');在下面加上showsetting('forums_edit_limitime', 'limitimenew', $forum['limitime'], 'text');查找:replycredits='".intval($replycreditsnew)."',在后面加上:limitime='".intval($limitimenew)."',.
  • 买卖贴的卖价输入选择筐

    2005-10-28 21:58:20

    条件:安装了买卖贴方法:在post_newthread.htm查找:theform.topicsubmit.disabled = true;在下面加上:if(document.input.sellsubject.value!=""){document.input.message.value="[sell="+document.input.sellsubject.value+"]"+document.input.message.value+"[/sell]";}再查找: 出售此贴,这是你赚钱的好手段.[ 本帖最后由 lu5266 于 2005-10-29 17:48 编辑 ]
  • [原创]论坛权限设置框的快捷全选

    2005-10-24 17:44:59

    安装方法:1: 在templates/default/admincp.lang.php查找:(如果你的语言包是繁化的话,可以对比下,查找到这些代码.)'forums_edit_perm_view_comment' => '默认为全部具有浏览论坛帖子权限的用户组','forums_edit_perm_post' => '发新话题许可:','forums_edit_perm_post_comment' => '默认为除游客组以外具有发帖权限的用户组','forums_edit_perm_reply' => '发表回复许可:','forums_edit_perm_reply_comment' => '默认为除游客以外具有发帖权限的用户组','forums_edit_perm_download' => '下载附.
  • 小F下拉与select,广告层的冲突解决方法

    2005-10-22 15:38:55

    安装方法:在common.js里查找:ie_dropshadow(menuobj,"#999999",3)在下面加上://------------下拉与select的冲突解决方法------------------------------ifm=document.getElementById('menuifm')ifm.style.display=''ifm.style.left=menuobj.thestyle.leftifm.style.top=menuobj.thestyle.topifm.style.width=menuobj.contentwidthifm.style.height=menuobj.contentheightifm.style.filter='progid:DXImageTransform.Microsoft.
  • 动作符for dz 4.00 by lu5266(php版)

    2005-10-22 11:38:34

    修改适合版本: dz 4.00 by lu5266 ( php版)演示: www.5466.ik8.com截图:安装步骤:1:修改include/discuzcode.func.php查找:return $htmlon在上面加上://文章动作 by youncstart$str ="【动作】";$uue ="$post[author]";$message=str_replace("^招呼","$str $uue 逢人就打招呼:大家好,今天是我大喜的日子!请吃糖! 请吃糖!",$message);$message=str_replace("^欢迎","$str $uue 高兴的叫道:欢迎、欢迎、热.
  • [原创]签名的折叠

    2005-10-18 22:51:05

    方法:在viewthread.htm查找:$post[signature]替换为:var signid = "";function show_sign(signid,show_method){if (signid != ""){if (show_method==1){document.getElementById(signid).style.display = "";document.getElementById("post"+signid).innerHTML="" ;}else{document.getElementById(signid).style.display = "none";document.getElementById("post"+signid).innerHTML=" ";}.
  • [原创]每贴的图片+smiles个数的限制

    2005-10-16 21:30:25

    方法:在include/post.php里查找:$minpostsize, $maxpostsize后面加上:,$fid查找:if(!$disablepostctrl) {在上面加上:(选择A或者B)A: 没有安装自动解析图片URL用这个//====start imgage个数限制 by lu5266===================$use_fid='all'; //设置需要限制的版快的fid,用 _ 隔开不同的版块;关闭的话,填-1;全部版快都使用的话填all$imgsum=10; //每贴限制的个数$useflag=0;if($use_fid=='-1') $useflag=0;if($use_fid=='all') $u.
  • [原创]删除回复贴的快捷全选和按扭

    2005-10-08 20:07:42

    应人要求写的,写好了.大家看着要吧!在viewthread.htm查找:$multipage在后面加上:function chk_all(the_input){var input_obj= document.getElementsByTagName("input");for(var i=0;i
  • [原创]发贴前自动复制

    2005-10-06 12:10:32

    安装方法一(直接复制,没有选择复制与否):在post_newthread.htm , forumdisplay.htm:查找:theform.topicsubmit.disabled = true;在:viewthread.htmpost_newreply.htm查找:theform.replysubmit.disabled = true;在post_editpost.htm查找:theform.editsubmit.disabled = true;在下面加上:copycode(document.input.message);3:如果短消息也用的话:在pm_send.htm查找:onSubmit="javascript: this.pmsubmit.disabled=true"替换为:onSubmit="javascrip.
  • [转贴]搜索/发/改/删帖子无消息显示直接跳转[10.20更新]

    2005-10-05 23:22:12

    安装方法:1:打开include/newthread.php查找showmessage('post_newthread_succeed', "viewthread.php?tid=$tid");改为: 选择一个:回到楼主的位置header("Location: viewthread.php?tid=$tid");:回到版块位置:header("Location: forumdisplay.php?fid=$fid");2:回复帖子后马上跳转打开include/newreply.php查找showmessage('post_reply_succeed', "viewthread.php?tid=$tid&pid=$pid&page=$topicpages#pid$pid");改为: 选择一个: 到回复帖子位置header("Location: viewthread.php.
  • [原创]隐藏时效(过了隐藏时效,隐藏自动失效)

    2005-10-01 21:41:38

    =================================全新安装方法:=================================1:备份你要修改文件和模板.2:升级数据库:代码:ALTER TABLE `cdb_threads` ADD `hidetime` INT( 5 ) UNSIGNED AFTER `creditsrequire` ;3:修改include/discuzcode.php查找:$table_posts,后面加上:$thread, $mtime, $dateformat, $timeformat, $timeoffset,查找:(安装过中文化的,有些不同,但是可以找对照下)if($ismoderator || $db->result($query, 0)) {$message = pr.
  • [10.1更新][原创]标记主题已阅(javascript版)

    2005-09-27 20:56:11

    截图:2楼插件名称:标记主题已阅插件作者: lu5266修改模板: viewthread.htmpost_editpost.htm演示支持: www.5466.ik8.com[/quote]1:在viewthread.htm查找:{template header}下面加:function mark_Set(mark_Cookie_name,mark_cookie_value,mark_cookie_time){var mark_Then = new Date();mark_Then.setTime(mark_Then.getTime() + mark_cookie_time) ;document.cookie =mark_Cookie_name+"="+mark_cookie_value+";expires="+ mark_Then.toGMTString();}f.
  • [转贴]文本字体新增10种效果

    2005-09-24 07:34:11

    打开 post_bbinsert.htm查找Arial上面添加新宋体隶书楷体楷体_GB2312幼圆华文彩云华文细黑华文新魏华文行楷华文中宋[ 本帖最后由 lu5266 于 2005-9-24 14:23 编辑 ]
  • [原创]一楼和二楼之间插入论坛公告

    2005-09-22 21:50:49

    安装方法:1:修改include/cache.php查找:'smilies'在后面加上:,'announcements'2:修改viewthread.php查找:include template('viewthread');在上面加上://==============每页的一.二楼的之间的公告 start by lu5266========$announcements = '';if($_DCACHE['announcements']) {$space = '';foreach($_DCACHE['announcements'] as $announcement) {if($timestamp >= $announcement['starttime'] && ($timestamp$bbname ★{lang index_announcements}★.
  • [原创]快捷回复 (真正的快速回复)[更新9.24]

    2005-09-22 07:57:02

    安装方法:1:修改viewthread.htm查找:在上面加上: 快捷回复----我顶谢谢不错认同差劲查找: (有两处,要的是第二处)在 下面加上: 快捷回复----我顶谢谢不错认同差劲2:修改post_newreply.htm查找:{template footer}在上面加上:function get_var(var_name){var_object= location.href;var_object= var_object.replace("?",".
  • [转贴]全颜色选择标签[色带,调色板,拾色器]

    2005-09-21 13:47:17

    原帖:http://old.freediscuz.net/old/viewthread.php?tid=28003&fpage=1由于有N个人问了我这个怎么弄.所以转过来作者:ninelife修改方法:1:在 post_bbcodeinsert.htm查找:在上面加上:var height1 = 10;//define the height of the color barvar pas = 28;// define the number of color in the color barvar width1=Math.floor(-2/15*pas+6);//define the width of the color bar here (for forum with little w.
  • [原创]论坛新贴子等待插件

    2005-09-18 23:14:48

    安装方法: (可为极其简单)修改viewthread.php查找:if($forum['password'] && $forum['password'] != $_COOKIE["fidpw$fid"]) {在上面加上://=======start========论坛新贴子等待插件 By lu5266=====================global $min_nolimit;$min_nolimit=100 ;// 不受限制的最小积分$use_fid='all'; //设置使用新贴限制的版快的fid,多个版快就用_分开;1关闭的话,填-1,全部版快都使用的话填all$useflag=0;if($use_fid=='-1') $useflag=0;if($use_fid=='all') $usefla.
  • [分享][任意级树]生成器

    2005-09-17 12:16:25

  • 在每页的一楼和二楼之间插入广告

    2005-09-10 10:47:26

    演示: 我不做广告,所以没安装.嘿.看这个吧: http://www.xdxdxd.com/bbs/viewthread.php?tid=511&fpage=1方法简单:在viewthread.htm里查找:在前面加上:这里是广告位[ 本帖最后由 lu5266 于 2005-9-10 11:06 编辑 ]
  • [10.7更新:]标题使用颜色[用论坛bbcode标签]

    2005-09-09 10:33:03

    标题使用颜色和论坛其他的这个小hack的功能,好象是把高亮的功能"毁灭"了(有了这个,每个人都可以自己高亮了;P;P,你不告诉会员,就可以了哦)但是你只要某些字高亮的时候,就要用到了和高亮是没冲突的呵呵,所以呢需要的话,就安装吧演示: http://free4.e-168.cn/luzhenling/bbs/forumdisplay.php?fid=12&page=1安装方法:1: 修改forumdisplay.php查找:$thread[subject] = cutstr($thread[subject],77);在下面加上://==========标题使用DZ代码===================================.
903/5<12345>
Open Toolbar