DISCUZ論壇開發點滴

來源:互聯網
上載者:User

標籤:style   home   配置   使用   session   body   discuz   不顯示   論壇   

序號 問題點 方法
1 首頁頭像不顯示的問題: 修改UCENTER中的localhost為目標伺服器的IP地址或網域名稱。
2 關閉驗證碼 後台->防灌水->驗證設定->看著辦
3 關閉UCENTER驗證碼 uc_server\view\default\admin_login.htm   32行
    uc_server\admin\user.php 69行
4 通訊失敗 \uc_server\control\admin\app.php   133行添加echo ‘alert(\‘‘.$url.‘\‘);‘;
    由資料庫配置引起的失敗需要修改
    \DiscuzNew\examples\config.inc.php中的$dbname和$tablepre變數值
5 UCENTER註冊的使用者需要在前端啟用後才能寫入到使用者主表 \DiscuzNew\examples\config.inc.php中添加define(‘DISCUZ_DBTABLEPRE‘,   ‘`discuz`.pre_common_‘);
    在./uc_client/model/user.php中添加自動啟用的代碼。要寫入6張表分別是
    common_member
    common_member_status
    common_member_profile
    common_member_field_forum
    common_member_field_home
    common_member_count
6 通過example登陸後SESSION無法穿透到主論壇頁面中的問題 1、可以在UCENTER中將應用配置頁裡同步登陸的鉤鉤打上。 2、應用list($uid, $username, $password, $email) = uc_user_login($usernames, $passwords);
    後使用uc_user_synlogin($uid);都很關鍵。

DISCUZ論壇開發點滴

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.