Scarah wrote: As long as the users had a phpbb interface to edit all their profile info, I don't see why you couldn't just disable the guest's ability to change their profile in Digichat? Then you wouldn't need the bot for the profile stuff.
Sarah
Could not insert data into users table
DEBUG MODE
SQL Error : 1054 Unknown column 'realname' in 'field list'
INSERT INTO phpbb_users (user_id, username, user_regdate, user_password, user_email, user_icq, user_website, user_occ, user_from, user_interests, realname, age, gender, exitmessage, comments, blockprofile, iconid, user_sig, user_sig_bbcode_uid, user_avatar, user_avatar_type, user_viewemail, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, user_popup_pm, user_timezone, user_dateformat, user_lang, user_style, user_level, user_allow_pm, user_active, user_actkey) VALUES (3, 'Nikki Ti', 1173240270, '5ec8d9ef35bd6cb03a21b3dfe5a993e0', '[email protected]', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 0, 0, '', '', '', 1, 1, 0, 1, 1, 0, 1, 1, 0, 'D M d, Y g:i a', 'english', 1, 0, 1, 1, '')
Line : 655
File : usercp_register.php
Code: Select all
Warning: include(./language/lang_english/lang_chat.php) [function.include]: failed to open stream: No such file or directory in /home/insomni/public_html/sheets/chat.php on line 51
Warning: include(./language/lang_english/lang_chat.php) [function.include]: failed to open stream: No such file or directory in /home/insomni/public_html/sheets/chat.php on line 51
Warning: include() [function.include]: Failed opening './language/lang_english/lang_chat.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/insomni/public_html/sheets/chat.php on line 51
Warning: Cannot modify header information - headers already sent by (output started at /home/insomni/public_html/sheets/chat.php:51) in /home/insomni/public_html/sheets/includes/page_header.php on line 485
Warning: Cannot modify header information - headers already sent by (output started at /home/insomni/public_html/sheets/chat.php:51) in /home/insomni/public_html/sheets/includes/page_header.php on line 487
Warning: Cannot modify header information - headers already sent by (output started at /home/insomni/public_html/sheets/chat.php:51) in /home/insomni/public_html/sheets/includes/page_header.php on line 488
Code: Select all
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_chat.' . $phpEx);
Looks like I had a bad file in my archive. I'm very sorry. The addfields.txt file was incorrect. Specifically line 415. The fields you added are fine, but you'll need to fix the line in includes/usercp_register.php that's messed up, or get the (now) updated version of addfields.txt from the archive and start over.Zahtevnik wrote:Hey all,
It's the same problem for both my manual and EasyMod installation. I used MyPHPAdmin in the cpanel to make changes to the MySQL database. chat_realname is what the mod called for, and that's what I tossed in. Do I need to change that to user_realname or have both chat_realname and user_realname in the database?
Code: Select all
$sql = "UPDATE " . USERS_TABLE . "
SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) ."', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', realname = '" . str_replace("\'", "''", $realname) . "', age = '" . str_replace("\'", "''", $age) . "', gender = '" . str_replace("\'", "''", $gender) . "', exitmessage = '" . str_replace("\'", "''", $exitmessage) . "', comments = '" . str_replace("\'", "''", $comments) . "', blockprofile = '" . str_replace("\'", "''", $blockprofile) . "', iconid = '" . str_replace("\'", "''", $iconid) . "', user_custom_title = '" . str_replace("\'", "''", $custom_title) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm, user_popup_pm = $popup_pm, user_ou_sig = $user_ou_sig, user_ou_avatar = $user_ou_avatar, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_topics_per_page = '" . str_replace("\'", "''", $user_topics_per_page) . "', user_posts_per_page = '" . str_replace("\'", "''", $user_posts_per_page) . "', user_hot_threshold = '" . str_replace("\'", "''", $user_hot_threshold) . "', user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_active = $user_active, user_actkey = '" . str_replace("\'", "''", $user_actkey) . "'" . $avatar_sql . "
WHERE user_id = $user_id";
Code: Select all
SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) ."', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', chat_realname = '" . str_replace("\'", "''", $realname) . "', chat_age = '" . str_replace("\'", "''", $age) . "', chat_gender = '" . str_replace("\'", "''", $gender) . "', chat_exitmessage = '" . str_replace("\'", "''", $exitmessage) . "', chat_comments = '" . str_replace("\'", "''", $comments) . "', chat_blockprofile = '" . str_replace("\'", "''", $blockprofile) . "', chat_iconid = '" . str_replace("\'", "''", $iconid) . "', user_custom_title = '" . str_replace("\'", "''", $custom_title) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm, user_popup_pm = $popup_pm, user_ou_sig = $user_ou_sig, user_ou_avatar = $user_ou_avatar, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_topics_per_page = '" . str_replace("\'", "''", $user_topics_per_page) . "', user_posts_per_page = '" . str_replace("\'", "''", $user_posts_per_page) . "', user_hot_threshold = '" . str_replace("\'", "''", $user_hot_threshold) . "', user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_active = $user_active, user_actkey = '" . str_replace("\'", "''", $user_actkey) . "'" . $avatar_sql . "
The problem is simply that it can't find the lang_chat.php file.Zahtevnik wrote: I also get the following message when I click on the http://www.zahtevnik.com/sheets/chat.php page:
The chat.php file is up. Line 51 is the following:Code: Select all
Warning: include(./language/lang_english/lang_chat.php) [function.include]: failed to open stream: No such file or directory in /home/insomni/public_html/sheets/chat.php on line 51
Code: Select all
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_chat.' . $phpEx);
I believe the header complaint is only a result of the missing file first error, and it will fix itself.Zahtevnik wrote: As for the header information, how do I point it at one or the other so they don't conflict?
I have not actually tried to do this. I think in order to do this you'd need a bot in DigiChat that could execute a php script in the forum that would update the database with current chatter names.[D]J wrote:BUMP, any news on this? I'm looking for a solution to show the number (and possibly names) of users in chatrooms on my index page... I tried writing something but didn't work I'd be very grateful to anyone who can help me with this as my site is going online in 2 days. Thank you!
I'm guessing that DigiChat does not support those characters, but phpBB does?[D]J wrote:Hmm, I found a problem in the mod, some Macintosh users of my Forum get their nicknames screwed up when they try to login into Digichat. I noticed that this happens only to users who have special chars like "à" "è" "ì" "ò" "ù" "©" "®", etc. in their usernames. Is there any way to solve this issue? Thank you!
Code: Select all
$nickname= str_replace("à", "a", $nickname);
$nickname= str_replace("è", "e", $nickname);
$nickname= str_replace("©", "(c)", $nickname);