collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: TWC  (Read 43283 times)

0 Members and 1 Guest are viewing this topic.

Offline jimango

  • BeBot User
  • **
  • Posts: 36
  • Karma: +0/-0
Re: TWC
« Reply #90 on: November 11, 2008, 09:06:36 am »
I have tried to find an answer to this problem but cant figure it out..


This is the message i get when i try to install:

Quote
# Checking bot message Table... TABLE not Found

Table 'bebot.twc_msgs' doesn't exist

    * Updateing settings file...
      Warning: fopen(../settings.php) [function.fopen]: failed to open stream: Permission denied in ............../install/install.php on line 500

      Warning: fwrite(): supplied argument is not a valid stream resource in .............../install.php on line 501

      Warning: fclose(): supplied argument is not a valid stream resource in .............../install.php on line 502

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: TWC
« Reply #91 on: November 11, 2008, 03:42:46 pm »
the table gets made by your bot when you load 1 of your bots after putting the TWC.php module from /bot/ on your bot

and it loooks like the your user prob www-data doesnt have permission to create a file in the root diretory of TWC get your folder permissions

Offline jimango

  • BeBot User
  • **
  • Posts: 36
  • Karma: +0/-0
Re: TWC
« Reply #92 on: November 11, 2008, 04:36:30 pm »
ah.. that sounds right yes.. then i can fix it..

thank you!


jimango

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: TWC
« Reply #93 on: November 16, 2008, 08:24:02 am »
2.1 Released

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: TWC
« Reply #94 on: November 16, 2008, 04:47:28 pm »
ive noticed alot of people that get TWC are not english as main language
there for im going to add support for diferent languages
but i only speak english so im going to get a list of words/sentences and post them all here for some 1 to translate for me
« Last Edit: November 16, 2008, 05:39:44 pm by Temar »

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: TWC
« Reply #95 on: November 16, 2008, 05:39:12 pm »
Code: [Select]
<?php
<?php
$txt
["login req"] = "Login is Required to View this";
$txt["acc req nor"] = "You have Requested Access but no one has Replied yet";
$txt["acc req to"] = "You have Requested Access but no one has Replied and it has Timed out";
$txt["acc req dec"] = "You have Requested Access but have been Declined";
$txt["acc exp"] = "Your Temporary Access has Expired";
$txt["need higher acc"] = "Higher Access is Required to View this";
$txt["msg notf"] = "Message not found";
$txt["no blob"] = "Message has no Blob";
$txt["ur banned"] = "You are Banned";
$txt["reload ar"] = "Reload Page to See Access Request Form";
$txt["no msgs"] = "No Messages";
$txt["online"] = "Online";
$txt["monline"] = "Members Online";
$txt["no1 online"] = "No 1 is Online";
$txt["msgs"] = "Messages";
$txt["mod already reg"] = "Module &rep1& is Already Registered by another Module.";
$txt["mod not exist"] = "Module &rep1& does not exist or is not loaded.";
$txt["logged out"] = "Logged out...";
$txt["hack"] = "Hack attempt....";
$txt["bk2main"] = "Back to Main";
$txt["prefs saved"] = "Prefs Saved";
$txt["save"] = "Save";
$txt["no settings file"] = "No Settings File Found Please Run Install";
$txt["updated files"] = "Updated Files Detected Please Run Install to Update";
$txt["unknown sendt"] = "Error Unknown SendType";
$txt["use index"] = "Include File only, use index.php";
$txt["reload"] = "Click here to Reload";
$txt["logged in as"] = "You are logged in as";
$txt["logout"] = "Logout";
$txt["install"] = "Install";
$txt["ask org for acc"] = "Ask Org for Access";
$txt["ask for acc"] = "Ask for Access";
$txt["later rel"] = "A later release is Available";
$txt["act chat"] = "Activate Chat";
$txt["prefs"] = "Preferances";
$txt["admin"] = "Admin";
$txt["lastmsg"] = "lastmsg";
$txt["reload 4 acc req"] = "Reload Page to See Access Request Form";
$txt["must be num"] = "Error: value must be a Number!";
$txt["unknown type"] = "Error Unknown Type";
$txt["unknown user type"] = "Unknown User Data Type";
$txt["username"] = "Username";
$txt["password"] = "Password";
$txt["reg"] = "Register";
$txt["cpassword"] = "Confirm Password";
$txt["case sens min5"] = "case Sensitive, min 5";
$txt["cant find uname"] = "Unable to Find Username";
$txt["wrong uname pw"] = "Incorrect username/password. Please, try again";
$txt["2pw not same"] = "The 2 Passwords you Entered Were not the same";
$txt["min5 error"] = "The Password must be Atleast 5 Characters Long";
$txt["uname taken"] = "That username is Already Taken";
$txt["setting saved"] = "Settings Saved";
$txt["sa only"] = "SuperAdmin Only!";
$txt["version"] = "Version";
$txt["twc f login"] = "TWC Forum Login Details";
$txt["upgrade twc"] = "Upgrade TWC";
$txt["error get vers"] = "Error Getting available Versions";
$txt["checking folders"] = "Checking all Folders";
$txt["source"] = "Source";
$txt["created"] = "Created";
$txt["failed"] = "Failed";
$txt["already exists"] = "Already Exists";
$txt["files"] = "Files";
$txt["check rem failed"] = "Check on remote File Failed!";
$txt["file not w"] = "The file is not writable";
$txt["file updated"] = "File Updated";
$txt["a only"] = "Admin Only!";
$txt["member lvl saved"] = "Member Levels Saved";
$txt["smf phpbb member notice"] = "Note: User may have Higher Access Given by SMF/PHPBB forum (support for those levels coming soon)";
$txt["cant change"] = "Unable to Change";
$txt["change"] = "Change";
$txt["has xx access"] = "has &rep1& Access";
$txt["test ok"] = "Test OK";
?>


the &rep1& in the output text will be replaced when output with apropriate value eg a username

That should be most of it exept install folder
« Last Edit: November 24, 2008, 07:10:53 pm by Temar »

Offline jimango

  • BeBot User
  • **
  • Posts: 36
  • Karma: +0/-0
Re: TWC
« Reply #96 on: November 23, 2008, 12:20:22 pm »
I can translate it to norwegian =)
If that may help ;)

i actualy started on it, and will finish it by tomorrow :)

jim

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: TWC
« Reply #97 on: November 23, 2008, 06:47:42 pm »
ok i have changed the above post to how i want langage files formated
i have already done English as i can see and i also have french
any other such as yours jimango seen to be in the format above
you can simple get that above and replace the part after the =
as for file name please use the language as part of name eg english.php french.php
and please post on http://www.twc-bebot.co.uk

Offline jimango

  • BeBot User
  • **
  • Posts: 36
  • Karma: +0/-0
Re: TWC
« Reply #98 on: November 24, 2008, 01:47:33 am »
btw i never got this mod to work, i got a little further.. but it still sais permission denied.

this is the message now:
Quote
* Updateing settings file...
      Warning: fopen(../settings.php) [function.fopen]: failed to open stream: Permission denied in ............../install/install.php on line 500

      Warning: fwrite(): supplied argument is not a valid stream resource in .............../install.php on line 501

      Warning: fclose(): supplied argument is not a valid stream resource in .............../install.php on line 502

i have the bebot installer under the same user as the forum, so i dont see why i get permission denied now :|
« Last Edit: November 24, 2008, 02:13:24 am by jimango »

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: TWC
« Reply #99 on: November 24, 2008, 02:15:45 am »
usually apache is run by www-data
the folder need to be writeable by the apache user

you can try creating the File your self if you want, here is mine

This is the Setup for TWC user mode not a forum
ofc  you need to change stuff like url
Code: [Select]
<?php
// TWC Settings

$settings["forum_sql_server"] = 'localhost';
$settings["forum_sql_username"] = '';
$settings["forum_sql_password"] = '';
$settings["bot_sql_server"] = 'localhost';
$settings["bot_sql_username"] = '';
$settings["bot_sql_password"] = '';
$settings["forum_pre"] = 'twc_';
$settings["forum_db"] = 'twc';
$settings["orgbot_db"] = 'Bots';
$settings["twc_db"] = 'twc';
$settings["twc_pre"] = 'twc_';
$settings["login_table"] = '';
$settings["loginbots_prefix"] = '';
$settings["orgchat"] = TRUE;
$settings["loginchat"] = FALSE;
$settings["forum_root"] = 'C:\Users\temar\Documents\SVN\twc\trunk';
$settings["twc_root"] = 'C:\Users\temar\Documents\SVN\twc\trunk';
$settings["twc_url"] = 'http://127.0.0.1/twc';
$settings["user_data"] = 3;


////////// Do not Edit Below this line /////////////

$settings["installedv"] = 202.006;
« Last Edit: November 24, 2008, 02:19:03 am by Temar »

Offline jimango

  • BeBot User
  • **
  • Posts: 36
  • Karma: +0/-0
Re: TWC
« Reply #100 on: November 24, 2008, 03:31:47 am »
i did it ;)

i simply logged in as root to my server and:

chown -R www-data chat
chgrp -R www-data chat


;)

Offline xen

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: TWC
« Reply #101 on: May 03, 2009, 01:30:46 pm »
Is TWC still available somewhere and does it work with the latest version of Bebot? The twc-bebot.co.uk website seems to be down...

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: TWC
« Reply #102 on: May 03, 2009, 05:25:17 pm »
ah yer the website, the domain is offline becuse lycos shutdown all its hosting
and im jobless at moment so dont have the spare money to have it transfered
ill try sort out a temp site

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: TWC
« Reply #103 on: May 04, 2009, 12:06:01 pm »

Offline xen

  • BeBot Rookie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: TWC
« Reply #104 on: May 09, 2009, 05:10:02 pm »
Thanks Temar, appreciate it.

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 561
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal