Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Difus: Problem With Chatbox 
 
I wanted to install chabox i found in contrib folder but I noticed a thing I don't understand... in the installation .txt I find:


Quote:
MOD Version: 1.1.9g XS
## for phpBB XS by difus
## Installation Level: easy
## Installation Time: 10 Minutes
## Files To Edit: 3
##    index.php
##    templates/subSilver/index_body.tpl
##    language/lang_english/lang_main.php






And then, in the instructions:


Quote:
#-----[ OPEN ]---------------------------------------------
#
forum.php


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

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




The files I have to modify are different... why?
 



 
VortexSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Difus: Problem With Chatbox 
 
i've installed this on my xs and i've only made :

Code: [Download] [Hide]
  1. #  
  2. #-----[ OPEN ]---------------------------------------------  
  3. #  
  4. forum.php  
  5.  
  6. #  
  7. #-----[ FIND ]---------------------------------------------  
  8. #  
  9.     $template->assign_vars(array(  
  10.         'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),  
  11.         'TOTAL_USERS' => sprintf($l_total_user_s, $total_users),  
  12.         'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&amp;" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'),  
  13.  
  14. #  
  15. #-----[ BEFORE, ADD ]--------------------------------------  
  16. #  
  17.     // ChatBox Mod  
  18.     require_once($phpbb_root_path . 'chatbox_front.php');  
  19.  
  20. #  
  21. #-----[ FIND ]---------------------------------------------  
  22. #  
  23.         'L_MARK_FORUMS_READ' => $lang['Mark_all_forums'],  
  24.  
  25. #  
  26. #-----[ AFTER, ADD ]--------------------------------------  
  27. #  
  28.         // ChatBox Mod  
  29.         'TOTAL_CHATTERS_ONLINE' => sprintf($lang['How_Many_Chatters'], $howmanychat),  
  30.         'CHATTERS_LIST' => sprintf($lang['Who_Are_Chatting' ], $chatters),  
  31.         'L_CLICK_TO_JOIN_CHAT' => $lang['Click_to_join_chat'],  
  32.         'S_JOIN_CHAT' => append_sid("chatbox_mod/chatbox.$phpEx"),  
  33.         'CHATBOX_NAME' => $userdata['user_id'] . '_ChatBox', // To make easier to test on my PC  
  34.         'L_LOGIN_TO_JOIN_CHAT' => $lang['Login_to_join_chat'],  
  35.  
  36. #  
  37. #-----[ OPEN ]---------------------------------------------  
  38. #  
  39. language/lang_english/lang_main.php  
  40.  
  41. #  
  42. #-----[ FIND ]---------------------------------------------  
  43. #  
  44. //  
  45. // That's all Folks!  
  46.  
  47. #  
  48. #-----[ BEFORE, ADD ]--------------------------------------  
  49. #  
  50. // ChatBox Mod  
  51. $lang['How_Many_Chatters'] = 'There are <B>%d</B> user(s) on chat now';  
  52. $lang['Who_Are_Chatting' ] = '<B>%s</B>';  
  53. $lang['Click_to_join_chat'] = 'Click to join chat';  
  54. $lang['ChatBox'] = 'ChatBox';  
  55. $lang['log_out_chat'] = 'You have successfully logged out from chat on ';  
  56. $lang['Send'] = 'Send';  
  57. $lang['Login_to_join_chat'] = 'Login to join chat';  
  58.  
  59.  
  60.  
  61. #  
  62. #-----[ COPY ]--------------------------------------------  
  63. #  
  64. copy chatbox_front.php to chatbox_front.php  
  65. copy chatbox_mod/*.* to chatbox_mod/  
  66.  
  67. #  
  68. #-----[ SQL ]---------------------------------------------  
  69. # Run these folloing queries manually or run chatbox_db_install.php once  
  70. # Afterthat please remove your chatbox_db_install.php immediately  
  71. #  
  72. CREATE TABLE phpbb_chatbox (  
  73.     id int(11) NOT NULL auto_increment,  
  74.     name varchar(99) NOT NULL,  
  75.     msg varchar(255) NOT NULL,  
  76.     timestamp int(10) unsigned NOT NULL,  
  77.     PRIMARY KEY (id));  
  78.  
  79. CREATE TABLE phpbb_chatbox_session (  
  80.     username varchar(99) NOT NULL,  
  81.     lastactive int(10) DEFAULT '0' NOT NULL,  
  82.     laststatus varchar(8) NOT NULL,  
  83.     UNIQUE username (username));  
  84.  
  85. #  
  86. #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------  
  87. #  
  88. # EoM 

 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Difus: Problem With Chatbox 
 
Hi Zucker,


I did exactly that, but it didn't work... reading carefully I found that files to edit and instructions don't match  


Now I'm trying again, putting a block in the portal (I'd like a block in which to see users in chat) but it gives:

Quote:
Warning: require_once() [function.require-once]: Unable to access ./chatspot_front.php in /mounted-storage/home28a/sub001/sc20402-TGHZ/www/blocks/blocks_imp_chat.php on line 43

Warning: require_once(./chatspot_front.php) [function.require-once]: failed to open stream: No such file or directory in /mounted-storage/home28a/sub001/sc20402-TGHZ/www/blocks/blocks_imp_chat.php on line 43





Line 43 is this: require_once( $phpbb_root_path . 'chatspot_front.' . $phpEx );
 



 
VortexSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Difus: Problem With Chatbox 
 
Whoa... solved! That was easy...


line 43 is
Code: [Download] [Hide]
  1. require_once( $phpbb_root_path . 'chatspot_front.' . $phpEx ); 



And should be


Code: [Download] [Hide]
  1. require_once( $phpbb_root_path . 'chatbox_front.' . $phpEx ); 




I don't know why they are different... now it seems to work
 



 
VortexSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Difus: Problem With Chatbox 
 
i think tha it's because chatspot_front doesn't exits  
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Difus: Problem With Chatbox 
 
Zuker  0050
 




____________
*VOLVO CLUB*
 
difusSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events