Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
Live Chat box
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Live Chat box
PostPosted: 11/26/2006 10:33 PM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 5:43 AM
Location: Klang, Malaysia
malaysiC.gif
I have a error msg as like below after i add the live chat box MOD.

Code:
Could not check session for Ghosts

DEBUG MODE

SQL Error : 1146 Table 'wtfone_phpb1.phpbb_chatbox_session' doesn't exist

DELETE FROM phpbb_chatbox_session WHERE lastactive < '1164597943'

Line : 38
File : chatbox_front.php


Brick wall  Brick wall  Brick wall
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Live Chat box
PostPosted: 11/26/2006 10:52 PM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 5:43 AM
Location: Klang, Malaysia
malaysiC.gif
This is a installtion code~~

Code:
##############################################################
## MOD Title: ChatBox
## MOD Author: Smartor < > (Hoang Ngoc Tu) http://smartor.is-root.com
## MOD Description: This will add a LIVE chatbox on your phpBB2
##      Only registered users can chat. Admin can take
##      control chatroom by some commands(/KICK username, /CLEAR). Smilies enabled.
##      Only tested with phpBB 2.0.x/MySQL
## MOD Version: 1.1.9g
##
## Installation Level: easy
## Installation Time: 10 Minutes
## Files To Edit: 3
##   index.php
##   templates/subSilver/index_body.tpl
##   language/lang_english/lang_main.php
##
## Included Files: 10
##   chatbox_db_install.php   (only required for DB install)
##   chatbox_front.php
##   chatbox_mod/chatbox.css
##   chatbox_mod/chatbox.php
##   chatbox_mod/chatbox_config.php
##   chatbox_mod/chatbox_drop.php
##   chatbox_mod/chatbox_function.php
##   chatbox_mod/messenger_list.php
##   chatbox_mod/messenger_send.php
##   chatbox_mod/messenger_view.php
##############################################################
## This MOD is released under the GPL License.
## Intellectual Property is retained by the MOD Author(s) listed above
##############################################################
## Author Notes:
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ OPEN ]---------------------------------------------
#
index.php

#
#-----[ FIND ]---------------------------------------------
#
   $template->assign_vars(array(
      'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
      'TOTAL_USERS' => sprintf($l_total_user_s, $total_users),
      'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'),

#
#-----[ BEFORE, ADD ]--------------------------------------
#
   // ChatBox Mod
   require_once($phpbb_root_path . 'chatbox_front.php');

#
#-----[ FIND ]---------------------------------------------
#
      'L_MARK_FORUMS_READ' => $lang['Mark_all_forums'],

#
#-----[ AFTER, ADD ]--------------------------------------
#
      // ChatBox Mod
      'TOTAL_CHATTERS_ONLINE' => sprintf($lang['How_Many_Chatters'], $howmanychat),
      'CHATTERS_LIST' => sprintf($lang['Who_Are_Chatting' ], $chatters),
      'L_CLICK_TO_JOIN_CHAT' => $lang['Click_to_join_chat'],
      'S_JOIN_CHAT' => append_sid("chatbox_mod/chatbox.$phpEx"),
      'CHATBOX_NAME' => $userdata['user_id'] . '_ChatBox', // To make easier to test on my PC
      'L_LOGIN_TO_JOIN_CHAT' => $lang['Login_to_join_chat'],

#
#-----[ OPEN ]---------------------------------------------
#
language/lang_english/lang_main.php

#
#-----[ FIND ]---------------------------------------------
#
//
// That's all Folks!

#
#-----[ BEFORE, ADD ]--------------------------------------
#
// ChatBox Mod
$lang['How_Many_Chatters'] = 'There are <B>%d</B> user(s) on chat now';
$lang['Who_Are_Chatting' ] = '<B>%s</B>';
$lang['Click_to_join_chat'] = 'Click to join chat';
$lang['ChatBox'] = 'ChatBox';
$lang['log_out_chat'] = 'You have successfully logged out from chat on ';
$lang['Send'] = 'Send';
$lang['Login_to_join_chat'] = 'Login to join chat';


#
#-----[ OPEN ]--------------------------------------------
#
templates/subSilver/index_body.tpl

#
#-----[ FIND ]--------------------------------------------
#
<td class="row1" align="center" valign="middle" rowspan="2"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>

#
#-----[ REPLACE WITH ]------------------------------------
#
<td class="row1" align="center" valign="middle" rowspan="3"><img src="templates/subSilver/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td>

#
#-----[ FIND ]---------------------------------------------
#
  <tr>
   <td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; [ {L_WHOSONLINE_ADMIN} ] &nbsp; [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
  </tr>

#
#-----[ AFTER, ADD ]--------------------------------------
#
  <tr>
   <td class="row1" align="left"><span class="gensmall">{TOTAL_CHATTERS_ONLINE}&nbsp;&nbsp;&nbsp;
   <!-- BEGIN switch_user_logged_out -->
   [ {L_LOGIN_TO_JOIN_CHAT} ]
   <!-- END switch_user_logged_out -->
   <!-- BEGIN switch_user_logged_in -->
   [ <a href="javascript:void(0);" onClick="window.open('{S_JOIN_CHAT}','{CHATBOX_NAME}','scrollbars=no,w idth=540,height=450')">{L_CLICK_TO_JOIN_CHAT}</a> ]
   <!-- END switch_user_logged_in -->
   <br />{CHATTERS_LIST}
   </span>
   </td>
  </tr>

#
#-----[ COPY ]--------------------------------------------
#
copy chatbox_front.php to chatbox_front.php
copy chatbox_mod/*.* to chatbox_mod/

#
#-----[ SQL ]---------------------------------------------
# Run these folloing queries manually or run chatbox_db_install.php once
# Afterthat please remove your chatbox_db_install.php immediately
#
CREATE TABLE phpbb_chatbox (
   id int(11) NOT NULL auto_increment,
   name varchar(99) NOT NULL,
   msg varchar(255) NOT NULL,
   timestamp int(10) unsigned NOT NULL,
   PRIMARY KEY (id));

CREATE TABLE phpbb_chatbox_session (
   username varchar(99) NOT NULL,
   lastactive int(10) DEFAULT '0' NOT NULL,
   laststatus varchar(8) NOT NULL,
   UNIQUE username (username));

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Live Chat box
PostPosted: 11/26/2006 11:48 PM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 5:43 AM
Location: Klang, Malaysia
malaysiC.gif
To Nightrider,i will offline from now..and i hope u can help me to fix the quote and livechatbox problem.Thanks so much..will online after few hours..coz im at the cyber cafe now. I was zip the livechatbox file and upload it into my (/public_html ) . So sorry..coz awayls need your help..
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Live Chat box
PostPosted: 11/27/2006 1:48 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 1:43 AM
Location: St Pete, FL
peace.gif
Quote:
DEBUG MODE

SQL Error : 1146 Table 'wtfone_phpb1.phpbb_chatbox_session' doesn't exist

Those last two words should give you a good clue of what is wrong.  You added a MOD that needed to update the database.  So you altered the phpBB code but failed to finish the MOD install...

I ran the chatbox_db_install.php file for you in my browser.  You really need to be using EM to install your MODs.  If you really hose your board and don't use EM, I won't be able to help you fix it...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Live Chat box
PostPosted: 11/27/2006 9:42 PM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 5:43 AM
Location: Klang, Malaysia
malaysiC.gif
Nightrider wrote:
Quote:
DEBUG MODE

SQL Error : 1146 Table 'wtfone_phpb1.phpbb_chatbox_session' doesn't exist

Those last two words should give you a good clue of what is wrong.  You added a MOD that needed to update the database.  So you altered the phpBB code but failed to finish the MOD install...

I ran the chatbox_db_install.php file for you in my browser.  You really need to be using EM to install your MODs.  If you really hose your board and don't use EM, I won't be able to help you fix it...

munky2


So mean i can't use the livechat box now? OK.. can i know how to using the Em to install MOD? Why my EM need password? and i dunno how to use EM to install MOD.. Embarassed
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Live Chat box
PostPosted: 11/28/2006 1:54 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 1:43 AM
Location: St Pete, FL
peace.gif
If you added the MOD code correctly, then the Live Chat should be working now...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Live Chat box
PostPosted: 11/28/2006 10:51 PM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 5:43 AM
Location: Klang, Malaysia
malaysiC.gif
Nightrider wrote:
If you added the MOD code correctly, then the Live Chat should be working now...

munky2


Ok..i will try install the code now..but should i must try on my (test) forum.  headbang
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Live Chat box
PostPosted: 11/28/2006 11:55 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 1:43 AM
Location: St Pete, FL
peace.gif
You should install the MODs on your Test board first before installing them on your Live board.  The Test board is to work out all the MOD install problems before you ever attempt to install the MOD on your Live board so that there is very little chance of disrupting your Live community...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: Live Chat box
PostPosted: 11/29/2006 12:02 AM Reply with quote
Citation
masteranu84
Citation
Posts 487
Word Cnt. 35,729
BDay Oct 3
Sign Libra
Sex Sex:Male
Joined: Oct 29, 2006
Local time: 5:43 AM
Location: Klang, Malaysia
malaysiC.gif
Nightrider wrote:
You should install the MODs on your Test board first before installing them on your Live board.  The Test board is to work out all the MOD install problems before you ever attempt to install the MOD on your Live board so that there is very little chance of disrupting your Live community...

munky2


Roger,but i was install the mod just now.. got adding the new link on top ( Chat ) but when i click it..same error msg also. I don't get at last step .But i was delete all now.. i think i need ur help to install it for me.Can? i was copy the new version ( chatbox_v3_1_0(beta).zip) and i upload it on my /public_html
Can here me to install..i really headache when i want install this MOD.
Back to Top
View user's profile Find all posts by masteranu84 Send private message   Visit poster's website Yahoo Messenger MSN Messenger Phoogle Map
Re: Live Chat box
PostPosted: 11/29/2006 12:28 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 1:43 AM
Location: St Pete, FL
peace.gif
I don't see the chatbox_v3_1_0(beta) MOD in either your Live or Test board admin/mods folders...

dontknow
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0891s (PHP: 69% - SQL: 31%) - SQL queries: 58 - GZIP disabled - Debug on