This mod is beta version.
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
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
- Copy: root/ai/posting_bot_option.php To: ai/posting_bot_option.php
- Copy: root/posting_bot.php To: posting_bot.php
- Copy: root/ai/config_bot.php To: ai/config_bot.php
- Copy: root/ai/libraryfunction.php To: ai/libraryfunction.php
- Copy: root/ai/index.htm To: ai/index.htm
- Copy: root/ai/.htaccess To: ai/.htaccess
Only for tester
- Copy: root/ai/addpost_bot.php To: ai/addpost_bot.php
- Copy: root/ai/bot_ai.php To: ai/bot_ai.php
- Copy: root/ai/posting_bot2.php To: ai/posting_bot2.php
Admin version(if you wish)
- Copy : root/includes/acp/acp_modbot.php To : includes/acp/acp_modbot.php
- Copy : root/includes/acp/info/acp_modbot.php To : includes/acp/info/acp_modbot.php
- Copy : root/adm/style/acp_modbot.html To : adm/style/acp_modbot.html
- 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.
All the comments has been moved to here