Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[插件] 家族門派Full House版1.5 for Discuz4.1[最新修正7月15]

[复制链接]
 楼主| ytc 发表于 2006-3-12 07:47:28 | 显示全部楼层
原帖由 ljrlovezhh 于 2006-3-11 22:04 发表



怎么调教啊??我不懂。能不能说明白点。。谢谢了

進入phpmyadmin 選擇你的數據庫 將有關家族數據表的校對改為和你其他數據表一樣的校對
回复

使用道具 举报

xueyu 发表于 2006-3-12 09:51:06 | 显示全部楼层
我的提问怎么不回答? 真是。。。。看来你自己也不知道!
回复

使用道具 举报

飞龙骑士 发表于 2006-3-12 11:22:06 | 显示全部楼层
终于搞定,挖哈哈哈哈哈~~~~谢谢楼主~~
回复

使用道具 举报

飞龙骑士 发表于 2006-3-12 12:08:25 | 显示全部楼层
家族LOGO上传会出错,郁闷啊.
回复

使用道具 举报

ljrlovezhh 发表于 2006-3-12 12:26:25 | 显示全部楼层
原帖由 ytc 于 2006-3-12 07:47 发表

進入 phpmyadmin選擇你的數據庫 將有關家族數據表的校對改為和你其他數據表一樣的校對


找不到phpmyadmin文件啊
回复

使用道具 举报

fuozu 发表于 2006-3-12 13:13:35 | 显示全部楼层
不能浏览帖子怎么解决
回复

使用道具 举报

fuozu 发表于 2006-3-12 13:40:17 | 显示全部楼层
原帖由 fuozu 于 2006-3-12 13:13 发表
不能浏览帖子怎么解决

不能浏览帖子问题终于发现了问题所在,原来我的数据表前缀不是cdb_,把下面代码cdb_修改为自己的前缀就好了。
//家族Begin

              //$query=$db->query("select * from cdb_members where username='$post[author]'");
               //$fmu=@mysql_fetch_array($query);
               $query_mp=$db->query("select * from cdb_fam where fmname='$post[fam]'");
               $fcu=@mysql_fetch_array($query_mp);

               if(!$post['fam'] || $post['fam']=="0")
               {
                $post[fam]="沒有家族";     //沒有加入家族要顯示的資訊
               }
                 else{
                     if($post[author]==$fcu['username'])
                       {
                         $post['fam']=$post['fam']."-".$fcu['firstname'];   //家族長要顯示的資訊
                       }
                     elseif($post[author]==$fcu['first']||$post[author]==$fcu['seven']){
                         $post['fam']=$post['fam']."-".$fcu['firstname2'];   //家族長老要顯示的資訊
                       }
                     elseif($post[author]==$fcu['second']||$post[author]==$fcu['third']){
                         $post['fam']=$post['fam']."-".$fcu['secondname'];   //家族長老要顯示的資訊
                       }
                     elseif($post[author]==$fcu['four']||$post[author]==$fcu['five']||$post[author]==$fcu['six']) {
                       $post['fam']=$post['fam']."-".$fcu['thirdname'];   //家族唐主要顯示的資訊
                      }
                     else {
                      $post['fam']=$post['fam']."-".$fcu['mbname'];     //家族成員要顯示的資訊
                     }
                }

                //家族End
回复

使用道具 举报

ljrlovezhh 发表于 2006-3-12 13:47:15 | 显示全部楼层
这段代码在哪个文件里?
回复

使用道具 举报

ljrlovezhh 发表于 2006-3-12 13:54:43 | 显示全部楼层
Discuz! info: MySQL Query Error

User: 小鬼
Time: 2006-3-12 6:48pm
Script: /bbs/plugin.php

SQL: SELECT createtime, newmember FROM cdb_fam WHERE username='小鬼'
Error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (gbk_chinese_ci,COERCIBLE) for operation '='
Errno.: 1267

Similar error report has beed dispatched to administrator before.


我装的哪里错了..怎样解决啊???
回复

使用道具 举报

fuozu 发表于 2006-3-12 14:41:20 | 显示全部楼层
发现问题,前台家族门派管理上面的字体有问题。看不清楚。
http://bbs.taichibbs.com/ceshi/p ... min&act=adomain
账号:test
密码:test
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-5-18 09:32 , Processed in 0.098751 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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