Quote Originally Posted by xs123 View Post
not working lol
Parse error: syntax error, unexpected T_IF in /home/failbook/public_html/forum/admin/applications/forums/tasks/link_bot.php on line 97
PHP Code: 
        // Load the bot member
        
$this->bot_memberData IPSMember::load($this->settings['linkbot_member_id'])
        
//$bot_name = $this->DB->buildAndFetch(array( 'select' => 'members_l_display_name', 'from' => 'members', 'where' => "member_id=".$this->settings['linkbot_member_id'] ));
        
if($this->settings['linkbot_scanfirstpost'] == 1) {
            
$scan_first_option " AND p.new_topic=1";
        } 
Change this :
$this->bot_memberData = IPSMember::load($this->settings['linkbot_member_id'])
to this:
$this->bot_memberData = IPSMember::load($this->settings['linkbot_member_id']);
Just a missing semicolon.

Good Luck .