Members: 10,140
Threads: 38,830
Posts: 159,367
Online: 28

Newest Member: Xoote


Old 30.05.2004, 15:03   #1
TheGreek
Mamber
 
TheGreek's Avatar
 
Join Date: Apr 2004
Location: Leicester, UK & Allihies,Ireland
Posts: 97
TheGreek is on a distinguished road
Default Installing a mambot

I notice in Arthur's very fine comment componnent he instals a mambot by using this code:

PHP Code:
 # Copy Mambot to corresponding diretory
          
echo "Start copying AkoCommentBot to Mambot directory.<br />";
          
$botsrc $mosConfig_absolute_path."/components/com_akocomment/akocommentbot.php";
          
$botdst $mosConfig_absolute_path."/mambots/akocommentbot.php";
          if (!@
copy($botsrc$botdst)) {
            echo 
"<font color='red'>ERROR:</font> AkoCommentBot could not be copied. Please copy the bot by hand.<br />";
          } else {
            echo 
"<font color='green'>FINISHED:</font> AkoCommentBot has been copied to bot directory.<br />";
          } 
Does this work around the fact that you cannot install directly to the mambot sub directory?

Thanks for any help.
TheGreek is offline   Reply With Quote
Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MosBanner Mambot -> how do I use? scorplev Mambots 4 27.05.2004 10:38
when installing Component warning 'mysql_insert_id' warteschlange Mambo 4.5 Bugs 0 17.05.2004 20:23
MosBanner Mambot -> how do I use scorplev Mambots 3 07.05.2004 02:08
mambot mosDMlist webracer Mambots 19 23.04.2004 22:50
Improper PDF output when using Mosphp and Mosaddphp mambot afru Mambots 1 11.04.2004 17:00


All times are GMT +2. The time now is 19:15.

Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.