/////////////ycaoa johncms 4.4 /////////////////////////
Aop: Chtulhu
Cca a ey:http://johncms.com/forum/index.php?id=718373
1. a a users/bot.php
2. oa  users/profile.php o( yooe  ac eco).

//(e)aa oa
if($rights==9)
{
   echo '<div><img src="../images/settings.png" width="16" height="16"/>&#160;<a href="bot.php?id=' . $user['id'] . '">'.($user['bot']==1 ? 'B pooa' : 'B pooa').'</a></div>';
}
/////////
3.  ae incfiles/classes/core.php axo cpoy $this->authorize();//Aopa ooaee
 oae e $this->bot_live();  // Oe oo
4.  o e ae coae o eo(oo  oe acca).
    /*
    -----------------------------------------------------------------
     oo
    -----------------------------------------------------------------
    */   
   private function bot_live()
   {
      $places = array('mainpage','pradd', 'usersearch', 'album', 'news', 'library', 'gallery', 'load', 'forum', 'downloads', 'faq', 'forumwho', 'online', 'profile', 'pm', 'userstop', 'userlist');
      
      $sql = mysql_query("SELECT `id` FROM `users` WHERE `bot`='1'");
      if(mysql_num_rows($sql))
      {
         while($bot = mysql_fetch_assoc($sql))
         {
            if($_SESSION['bot'.$bot['id']]<time()-30)
            {
               $place = $places[array_rand($places)];
               mysql_query("update `users` set `lastdate`='".time()."', `place`='$place' where `id`='$bot[id]' limit 1");
               $_SESSION['bot'.$bot['id']] = time();
            }
         }
      }
   }
5. o apoc ALTER TABLE  `users` ADD  `bot` INT NOT NULL
6. y  ce, eep  oee axo  aey oo epa  ea eo oo. o ye oa  ae 30cey, ooceo aoo ooae, e coe eoaxoee a cae.
p.s.  ex o e e incfiles/classes/core.php ppee pep oeo.
/////////////ycaoa johncms 5.2.1 /////////////////////////
Aapoa influcid (lmfao)
May e o  yaa e. 
B apxe ce a.
caaa a c o e 5.2.1
pep http://john-klub.ml