Forumchem - Forum with AI(ALICE BOT & HAL9000) and TTS

More dificult for us, more easy for you
It is currently Fri Sep 03, 2010 2:05 am

All times are UTC





Post new topic Reply to topic  Page 1 of 1
 [ 7 posts ] 
Author Message
 Post subject: Modbot for get bot in your own forum - easy installation
PostPosted: Tue Aug 11, 2009 5:51 pm 
Offline
User avatar

Joined: Sat Nov 08, 2008 1:17 am
Posts: 169


Hi










This mod is beta version. :razz:

Instalation level : Basic

Installation time : 7 minutes.

Autor : petrocad3d.com team

Name : modbot

WWW : http://www.petrocad3d.com

File to edit

    * Posting.php

Includes file

  • root/posting_bot.php

  • root/ai/posting_bot_option.php

  • root/ai/config_bot.php

  • root/ai/libraryfunction.php

  • root/ai/addpost_bot.php

  • root/ai/bot_ai.php

  • root/ai/posting_bot2.php

  • root/ai/index.htm

  • root/ai/.htaccess

  • root/includes/acp/acp_modbot.php

  • root/includes/acp/info/acp_modbot.php

  • root/adm/style/acp_modbot.html

  • root/language/en/mods/info_acp_modbot.php


Mod history

    Oct 12,2009 - Version 0.3.1 Beta

        * First public release (Ago 11,2009)

DIY Instructions

These are manual instructions that cannot be performed automatically. You should follow these instructions carefully.

STEP 1) REQUIRED


Go to viewtopic.php?f=12&t=462&p=1069#p1069 and download the latest Modbot release.

Unpack downloaded file and copy modbot directory into your phpbb3 folder.

STEP 2) OPTIONAL :happy:

Create 3 acounts with nickname "alissa", "hal9000" and "pandorabot". Set the avatar if you wish.

SQL
Prevent Alissa, Hal9000 and Pandorabot response again with someone re-edit one's post.

ALTER TABLE `phpbb_posts` ADD post_bot_respond varchar(250) NULL default "";

File Copy


  1. Copy:  root/ai/posting_bot_option.php To: ai/posting_bot_option.php

  2. Copy:  root/posting_bot.php To:  posting_bot.php
  3. Copy:  root/ai/config_bot.php To: ai/config_bot.php

  4. Copy: root/ai/libraryfunction.php To: ai/libraryfunction.php

  5. Copy: root/ai/index.htm To: ai/index.htm

  6. Copy: root/ai/.htaccess To: ai/.htaccess




  7. Only for tester :razz:
  8. Copy: root/ai/addpost_bot.php To: ai/addpost_bot.php
  9. Copy: root/ai/bot_ai.php To: ai/bot_ai.php

  10. Copy: root/ai/posting_bot2.php To: ai/posting_bot2.php



  11. Admin version(if you wish) :wow:
  12. Copy : root/includes/acp/acp_modbot.php To : includes/acp/acp_modbot.php

  13. Copy : root/includes/acp/info/acp_modbot.php To : includes/acp/info/acp_modbot.php

  14. Copy : root/adm/style/acp_modbot.html To : adm/style/acp_modbot.html

  15. Copy : root/language/en/mods/info_acp_modbot.php To : language/en/mods/info_acp_modbot.php



Edit

Open:  posting.php

    Find ~ 1034 line - This may be a partial find and not the whole line.

    meta_refresh(3, $redirect_url);

    $message = ($mode == 'edit') ? 'POST_EDITED' : 'POST_STORED';

    $message = $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="' . $redirect_url . '">', '</a>');

    Replace With

    meta_refresh(15, $redirect_url);

    $message = ($mode == 'edit') ? 'POST_EDITED' : 'POST_STORED';

    $message = include 'ai/posting_bot_option.php';

    $message .= $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="' . $redirect_url . '">', '</a>');


Author notes

This version is similar with 0.3.0, only added modbot.xml and addpost_bot.php(change) this file is only for tester.


    You can test this mod with our bot(Alissa, HAL9000, Colossus(pandorabots), Ralpha(verbot)).

You can install the admin version if you wish, the mod is ready to use, admin version is only if you want to set the name of the bots, botid, hiden, uncheck, or set the bot error message.

Dont Forget Clear de cache(in the admin control panel).

Admin version :
Bot management [acp_modbot]
Bot settings module

the file alissa.php, you wont need in the test. Only when you install the program E.

the french, japanese and portugues version is available by defaul. :wow:

All the comments has been moved to here

:geek:


Attachments:
modbot_v0.3.1.zip [84.96 KB]
Downloaded 169 times
alissa_0.0.1.zip [277 Bytes]
Downloaded 154 times
Top
 Profile  
 
 Post subject: Trigger by message - since 0.3.0 version
PostPosted: Wed Sep 02, 2009 4:03 am 
Offline
User avatar

Joined: Sat Nov 08, 2008 1:17 am
Posts: 169
Only for tester :thumbsup:

Edit

Open: index.php

Find ~ 134 line - This may be a partial find and not the whole line.

page_footer();

ADD Before

include($phpbb_root_path . 'ai/bot_ai.php');

Create forum (hiden) called 'bots'

Create
subforum (hiden) called 'trigger by message' (case sensitive)

Create into 'trigger by message' new post
Write :
FIND : 'test'
DELAT : 1-3min
FORUM TARJET : test_forum

Replay this post
Write
BOTNAME : Hal9000
SEND : MESSAGE

And wait, and wait. :surrender:


COMMAND :

  • FIND : 'text'
    Text is the string that program will search
  • DELAY : number-number hr/min
    number is the hours or minutes that program will wait before to post again.
  • FORUM TARJET : forum
    forum is the name of the forum, the program will work
  • ENABLE : ON/OFF
    Uses when you want to enable or desable the event
  • BOTNAME : NAME
    Name is the name of the bot that will post the message
  • SEND : text
    text is the string will be sent to the bot, if the text = MESSAGE, the original message will be sent to the bot
  • RETURN : text
    text is the string will post like message, you can use SEND AND RETURN IN THE SAME POST
  • START : DATE
    DATE indicates when the event will star or started
  • RANGE : DATE-DATE
  • SORT : ON/OFF


Top
 Profile  
 
 Post subject: Re: Modbot for get bot in your own forum - easy installation
PostPosted: Mon May 17, 2010 7:57 pm 
Offline

Joined: Mon May 17, 2010 7:54 pm
Posts: 2
Hello,


How about the settings for the acp? I have everything installed program e is responding with all the amil files I have installed, but I can not seem to get it to tie in with the forums at all.



Any suggestions? Your instructions are good, but that is the one thing that is missing, the details of how to tie everything in with program e and the acp mod settings.


Top
 Profile  
 
 Post subject: Re: Modbot for get bot in your own forum - easy installation
PostPosted: Tue Jun 08, 2010 8:09 am 
Offline
User avatar

Joined: Sat Nov 08, 2008 1:17 am
Posts: 169
sorry for the delay.


The mod is ready for use, you dont need to set nothing, unless you want to bot response in specific forum.



If you have other question, i will response, or maybe my bots. :laugh3:


Top
 Profile  
 
 Post subject: Re: Modbot for get bot in your own forum - easy installation
PostPosted: Tue Aug 10, 2010 10:19 am 
Offline

Joined: Tue Aug 10, 2010 10:16 am
Posts: 1
There isn't an Admin CP version, and the bot isn't working at all.
How do I install the Admin CP version, and how do I get the bot working?


Top
 Profile  
 
 Post subject: Re: Modbot for get bot in your own forum - easy installation
PostPosted: Wed Aug 11, 2010 9:07 pm 
Offline
User avatar

Joined: Sat Nov 08, 2008 1:17 am
Posts: 169
Quote:
YamiHoshi wrote:
There isn't an Admin CP version, and the bot isn't working at all.
How do I install the Admin CP version, and how do I get the bot working?

It is not necesary to install Admin CP Version. the bot must be response without anychange.


Could you set the default options?


Top
 Profile  
 
 Post subject: Re: Modbot for get bot in your own forum - easy installation
PostPosted: Thu Aug 19, 2010 3:05 am 
Offline
User avatar

Joined: Sat Nov 08, 2008 1:17 am
Posts: 169
No change for 3.0.7 version of PHPBB, just in the line :




Search ~ 1124 line
meta_refresh(3, $redirect_url);

$message = ($mode == 'edit') ? 'POST_EDITED' : 'POST_STORED';
$message = $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="' . $redirect_url . '">', '</a>');



replace with :


meta_refresh(15, $redirect_url);

$message = ($mode == 'edit') ? 'POST_EDITED' : 'POST_STORED';
$message = include 'ai/posting_bot_option.php';
$message .= $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="' . $redirect_url . '">', '</a>');



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  Page 1 of 1
 [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: uceiioy and 5 guests


 
Search for:
 
Jump to:  

cron
Click me:
Powered by phpBB © 2000, 2002, 2005, 2007, 2008, 2009 phpBB Group
Chronicles phpBB3 theme by Jakob Persson. Stone textures by Patty Herford.
With special thanks to RuneVillage

This site have 4 type of tecnology in order to convert text to speech. By default you use the vozme tecnology. In order to know the other you need to sign for.