Errore GeneraleCouldn't update forum information
DEBUG MODE
SQL Error : 1054 Unknown column 'forum_color' in 'field list'
UPDATE phpbb_forums SET forum_name = 'Condizioni Meteo(nowcasting):', forum_color = '', cat_id = 4, forum_desc = 'Qui tutte le condizioni meteo attuali', forum_status = 0, prune_enable = 0 WHERE forum_id = 8
Line : 443
File : admin_forums.php
che vordì?![]()
![]()
![]()
chi mi dice in italiano come devo fare
http://www.phpfreechat.net/faq.en.html#phpbb
thanks
ma come ha fatto a sparire il forum color
difatti nel DB del server non ce piu
mentre sul DB di prova in locale ce
ce un sistema x' risincronizare il DB![]()
e questo php chi me lo traduce![]()
http://www.phpfreechat.net/faq.en.html#phpbb
a volte i database si corrompono, prova a fare un repair table, ma il risultato non è assicurato
![]()
L'unica persona a cui mi sento superiore è me stesso del giorno precedente.
~always looking at the sky
How to connect phpBB nicknames to phpfreechat ?
You have to put this piece of code at beginnig of your chat script:
define('IN_PHPBB', true);$phpbb_root_path = dirname(__FILE__).'/forum/'; // adjust this path to your forum installation root$chat_root_phpbbrealtive_path = '../phpfreechat/'; // Chat url relative to phpBB rootinclude( $phpbb_root_path . 'extension.inc' );include( $phpbb_root_path . 'common.' . $phpEx );$userdata = session_pagestart($user_ip, PAGE_INDEX);init_userprefs($userdata);// redirect to phpBB logon page if the user is not logged inif ( !$userdata['session_logged_in'] ) redirect(append_sid($phpbb_root_path . "login.$phpEx?redirect=" . $chat_root_phpbbrealtive_path . "index.$phpEx", true));Then you can write the classique phpfreechat parameter list using $userdata[username] as the phpfreechat nickname. For example:
require_once "src/phpfreechat.class.php";$params["serverid"] = md5(__FILE__);$params["title"] = "phpFreeChat connected to the phpBB forum";$params["channels"] = array("General","phpBB support");$params["language"] = "en_US";$params["nick"] = $userdata[username];$chat = new phpFreeChat($params);
Notice: if your phpbb2 encoding is windows-1251, you have to replace $params["nick"] = $userdata[username]; by $params["nick"] = iconv("windows-1251", "UTF-8", $userdata[username]);
![]()
![]()
Segnalibri