Webboard

Pełna wersja: Kto był dostepny na forum
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
witam mam pytanie czy jest jakaś możliwość zeby zbanowani nie wyświetlali sie      "Kto był dziś online"
Raczej nie ma takiej mozliwosci, poniewaz jak sie zaloguja, to chyba byli dzis online, prawda?
Otwórz ./index.php i znajdź:
Kod:
// Create a key to test if this user is a search bot.
        $botkey = my_strtolower(str_replace("bot=", '', $user['sid']));
i dodaj to:
Kod:
// Baneados no aparecen en los online.
        if (in_array($user['usergroup'],array(7))) continue;
Pamiętaj, że jest to ingerencja w pliki MyBB, więc będziesz musiał to powtarzać po każdej aktualizacji MyBB
tak ma byc dodane ?

Kod:
while($user = $db->fetch_array($query))
{
// Create a key to test if this user is a search bot.
$botkey = my_strtolower(str_replace('bot=', '', $user['sid']));
   // Baneados no aparecen en los online.
       if (in_array($user['usergroup'],array(7))) continue;
// Decide what type of user we are dealing with.
if($user['uid'] > 0)
(20.02.2018, 13:52)DaFi napisał(a): [ -> ]tak ma byc dodane ?

Kod:
while($user = $db->fetch_array($query))
{
// Create a key to test if this user is a search bot.
$botkey = my_strtolower(str_replace('bot=', '', $user['sid']));
   // Baneados no aparecen en los online.
       if (in_array($user['usergroup'],array(7))) continue;
// Decide what type of user we are dealing with.
if($user['uid'] > 0)

tak