Dołącz do zespołu ekspertów! Backend lub Frontend Developer?

Sprawdź najnowsze oferty pracy naszego partnera - 8lines.io!

Avatar przy ostatnich postach i kolor nazwy nicku.

Konfiguracja  Założony przez  Ventri.

wersja skryptu MyBB: 1.8.3
adres forum: mytylkogramy.pl/forum/
na czym polega problem (screen, opis, komunikaty, nazwa i wersja wtyczki): screen w załączniku

Chodzi o miejsce wyświetlania avatara (modyfikacja która go tam wyświetla: https://webboard.pl/thread-23909.html?page=2) Czy mógłby być on po środku,tak aby nazwa tematu i jego czas dodanie były równe z avatarem .
Snake_ napisał 04.12.2014, 15:55:
(pilnuj się zasady, jeden wątek - jeden problem!)


Załączone pliki Obrazki
   
Kolor nazwy nicku: Kolorowe nicki;


ACP → Style i szablony → szablony → opis działu → forumbit_depth2_forum → odszukaj width: 200px, oraz 200 zamień na np. 220, 230.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
Co do avatarów w tym katalogu mam tylko:
<td class="{$bgcolor}" valign="middle" align="left" width="30%" style="white-space: nowrap">{$lastpost}</td>
I nijak to się ma do zmiany miejsca.
Snake_ napisał 04.12.2014, 17:07:
Kody dajemy w [code] bądź [php]. https://webboard.pl/misc.php?action=help&hid=7
Dziwne... miałem wrażenie, że coś nieco innego widziałem wtedy, ale mniejsza, Twój kod zamień na:
<td class="{$bgcolor}valign="middle" align="right" width="30%" style="white-space: nowrap">{$lastpost}</td
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
Teraz jest tak:
[Obrazek: 1zxxi01.jpg]
Ale nadal nie jest to wyrównane do nazwy tematu/użytkownika

Chciał bym brnąć w tą stronę:
[Obrazek: 9k1jz4.jpg]
Podaj tutaj kod pluginu.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
<a href="{$lastpost_link}"><strong>{$lastpost_subject}</strong></a>
<br /><i class="fa fa-clock-o" title="{$lastpost_date}"></i> <span class="smalltext">{$forum['lastposteravatar']}{$lang->by} {$lastpost_profilelink}</span>
Czy chodzi o to ?
Kod pliku PHP... Z inc/plugins.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
<?php

/**
* Avatary przy ostatnich postach - Filip Klar 2011-12
*/

if(!defined("IN_MYBB")) {
    die("Otwarcie tego pliku jest zabronione.");
}

$plugins->add_hook("global_start", "lastposteravatar_rand");
$plugins->add_hook("index_start", "lastposteravatar_parents");
$plugins->add_hook("forumdisplay_start", "lastposteravatar_parents");
$plugins->add_hook("build_forumbits_forum", "lastposteravatar_forums");
$plugins->add_hook("forumdisplay_thread", "lastposteravatar_threads");
$plugins->add_hook("pre_output_page", "lastposteravatar_replace");

function lastposteravatar_info() {
    return array(
        "name"            => "Avatary przy ostatnich postach",
        "description"    => "Wyświetla avatar użytkownika, który napisał ostatni post w danym dziale lub wątku",
        "website"        => "http://fklar.pl",
        "author"           => "Filip Klar",
        "authorsite"    => "http://fklar.pl",
        "version"        => "1.5",
        "guid"             => "",
        "compatibility" => "18*"
    );
}

function lastposteravatar_activate() {
    global $db, $mybb;
    
    $lastposteravatar_group = array(
        "gid"             => "NULL",
        "name"             => "lastposteravatar",
        "title"             => "Avatary przy ostatnich postach",
        "description"     => "Wyświetlanie avatarów na liście działów i wątków",
        "disporder"     => "25",
        "isdefault"     => "yes",
    );
    $db->insert_query("settinggroups", $lastposteravatar_group);
    $gid = $db->insert_id();    
    
    $lastposteravatar_size = array(
        "sid"                => "NULL",
        "name"            => "lastposteravatar_size",
        "title"            => "Maksymalny rozmiar avatara",
        "description"    => "",
        "optionscode"    => "text",
        "value"            => "35px",
        "disporder"        => "1",
        "gid"                => intval($gid),
    );
    $db->insert_query("settings", $lastposteravatar_size);
    
    $lastposteravatar_forums = array(
        "sid"                => "NULL",
        "name"            => "lastposteravatar_forums",
        "title"            => "Wyświetlanie na liście działów",
        "description"    => "",
        "optionscode"    => "yesno",
        "value"            => "1",
        "disporder"        => "2",
        "gid"                => intval($gid),
    );
    $db->insert_query("settings", $lastposteravatar_forums);
    
    $lastposteravatar_threads = array(
        "sid"                => "NULL",
        "name"            => "lastposteravatar_threads",
        "title"            => "Wyświetlanie na liście wątków",
        "description"    => "",
        "optionscode"    => "yesno",
        "value"            => "1",
        "disporder"        => "3",
        "gid"                => intval($gid),
    );
    $db->insert_query("settings", $lastposteravatar_threads);
    
    $lastposteravatar_showdefault = array(
        "sid"                => "NULL",
        "name"            => "lastposteravatar_showdefault",
        "title"            => "Przypisanie domyślnego avatara użytkownikom, którzy go nie posiadają",
        "description"    => "",
        "optionscode"    => "yesno",
        "value"            => "1",
        "disporder"        => "4",
        "gid"                => intval($gid),
    );
    $db->insert_query("settings", $lastposteravatar_showdefault);
    
    $lastposteravatar_defaultsource = array(
        "sid"                => "NULL",
        "name"            => "lastposteravatar_defaultsource",
        "title"            => "Adres domyślnego avatara",
        "description"    => "",
        "optionscode"    => "text",
        "value"            => $mybb->settings['bburl']."/admin/styles/default/images/default_avatar.gif",
        "disporder"        => "5",
        "gid"                => intval($gid),
    );
    $db->insert_query("settings", $lastposteravatar_defaultsource);
    
    rebuild_settings();
    
    require MYBB_ROOT."/inc/adminfunctions_templates.php";
    find_replace_templatesets("forumbit_depth1_forum_lastpost", "#".preg_quote('<span class="smalltext">') . "#i", '<span class="smalltext">{$forum[\'lastposteravatar\']}');
    find_replace_templatesets("forumbit_depth2_forum_lastpost", "#".preg_quote('<span class="smalltext">') . "#i", '<span class="smalltext">{$forum[\'lastposteravatar\']}');
    find_replace_templatesets("forumdisplay_thread", "#".preg_quote('<span class="lastpost smalltext">') . "#i", '<span class="lastpost smalltext">{$thread[\'lastposteravatar\']}');
    
}

function lastposteravatar_deactivate() {
    global $db;
    
    $db->query("DELETE FROM ".TABLE_PREFIX."settinggroups WHERE name='lastposteravatar'");
    $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='lastposteravatar_size'");
    $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='lastposteravatar_forums'");
    $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='lastposteravatar_threads'");
    $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='lastposteravatar_showdefault'");
    $db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='lastposteravatar_defaultsource'");
    
    rebuild_settings();
    
    require MYBB_ROOT."/inc/adminfunctions_templates.php";
    find_replace_templatesets("forumbit_depth1_forum_lastpost", "#".preg_quote('{$forum[\'lastposteravatar\']}') . "#i", '');
    find_replace_templatesets("forumbit_depth2_forum_lastpost", "#".preg_quote('{$forum[\'lastposteravatar\']}') . "#i", '');
    find_replace_templatesets("forumdisplay_thread", "#".preg_quote('{$thread[\'lastposteravatar\']}') . "#i", '');
    
}

function lastposteravatar_rand() {
    global $lastposteravatar_rand;
    $lastposteravatar_rand = uniqid();    
}

function lastposteravatar_parents() {
    global $db, $avForum;
    
    $query = $db->query("SELECT `fid`, `pid`, `lastpost`, `lastposteruid` FROM `".TABLE_PREFIX."forums` WHERE `threads` > '0'");
    $n = 1;
    while($tempforum = $db->fetch_array($query)) {
        $avForum[$n]['fid'] = $tempforum['fid'];
        $avForum[$n]['parent'] = $tempforum['pid'];
        $avForum[$n]['lastpost'] = $tempforum['lastpost'];
        $avForum[$n]['lastposteruid'] = $tempforum['lastposteruid'];
        $n++;
    }
}

function lastposteravatar_forums(&$forum) {
    global $mybb, $fcache, $listOfUsers, $avForum, $lastposteravatar_rand;    
    
    if($mybb->settings['lastposteravatar_forums'] == 1) {
        $numberOfForums = count($avForum);
        $listOfUsers[0] = 0;
        $thisParent = $fcache[$forum['pid']][$forum['disporder']][$forum['fid']]['fid'];
        $fid = $thisParent;
        $lastpost = $fcache[$forum['pid']][$forum['disporder']][$forum['fid']]['lastpost'];
        $uid = $fcache[$forum['pid']][$forum['disporder']][$forum['fid']]['lastposteruid'];
        for($i = 0; $i <= $numberOfForums; $i++) {
            if($avForum[$i]['parent'] == $thisParent && $avForum[$i]['lastpost'] > $lastpost) {
                $lastpost = $avForum[$i]['lastpost'];
                $uid = $avForum[$i]['lastposteruid'];
            }
        }
        if(in_array($uid, $listOfUsers) == FALSE) {
            $listOfUsers[] = $uid;
        }
    
        $forum['lastposteravatar'] = "<!-- ".$lastposteravatar_rand."-avatar-".$uid." -->";
    
    }
    
}

function lastposteravatar_threads() {
    global $mybb, $thread, $listOfUsers, $lastposteravatar_rand;
    
    if($mybb->settings['lastposteravatar_threads'] == 1) {
    
        $listOfUsers[0] = 0;
        $uid = $thread['lastposteruid'];
        if(in_array($uid, $listOfUsers) == FALSE) {
            $listOfUsers[] = $uid;
        }
        
        $thread['lastposteravatar'] = "<!-- ".$lastposteravatar_rand."-avatar-".$uid." -->";
        
    }
    
}

function lastposteravatar_replace($contents) {
    global $db, $mybb, $listOfUsers, $lastposteravatar_rand;
    
    $numberWithAvatar = count($listOfUsers);
    $partQuery = "`uid` = '0'";
    for($i = 0; $i <= $numberWithAvatar; $i++) {
        $partQuery .= "OR `uid` = '".$listOfUsers[$i]."'";
    }
    
    $query = $db->query("SELECT `uid`, `avatar` FROM `".TABLE_PREFIX."users` WHERE ".$partQuery);
    while($rekord = $db->fetch_array($query)) {
        if(empty($rekord['avatar']) && $mybb->settings['lastposteravatar_showdefault'] == 0) {
            $contents = str_replace("<!-- ".$lastposteravatar_rand."-avatar-".$rekord['uid']." -->", "", $contents);
        }
        elseif(empty($rekord['avatar']) && $mybb->settings['lastposteravatar_showdefault'] == 1) {
            $contents = str_replace("<!-- ".$lastposteravatar_rand."-avatar-".$rekord['uid']." -->", "<a href=\"".$mybb->settings['bburl']."/".get_profile_link($rekord['uid'])."\"><img src=\"".$mybb->settings['lastposteravatar_defaultsource']."\" style=\"max-height: ".$mybb->settings['lastposteravatar_size']."; max-width: ".$mybb->settings['lastposteravatar_size']."; float: left; margin: 5px;\" alt=\"avatar\" class=\"favimg\" /></a>", $contents);    
        }
        else {
            $contents = str_replace("<!-- ".$lastposteravatar_rand."-avatar-".$rekord['uid']." -->", "<a href=\"".$mybb->settings['bburl']."/".get_profile_link($rekord['uid'])."\"><img src=\"".$rekord['avatar']."\" style=\"max-height: ".$mybb->settings['lastposteravatar_size']."; max-width: ".$mybb->settings['lastposteravatar_size']."; float: left; margin: 5px;\" alt=\"avatar\" class=\"favimg\" /></a>", $contents);    
        }
    }
    
    if($mybb->settings['lastposteravatar_showdefault'] == 0) {
        $contents = str_replace("<!-- ".$lastposteravatar_rand."-avatar-0 -->", "", $contents);
    }
    else {
        $contents = str_replace("<!-- ".$lastposteravatar_rand."-avatar-0 -->", "<img src=\"".$mybb->settings['lastposteravatar_defaultsource']."\" style=\"max-height: ".$mybb->settings['lastposteravatar_size']."; max-width: ".$mybb->settings['lastposteravatar_size']."; float: left; margin: 5px;\" alt=\"avatar\" class=\"favimg\" />", $contents);
        $contents = str_replace("<!-- ".$lastposteravatar_rand."-avatar", "<img src=\"".$mybb->settings['lastposteravatar_defaultsource']."\" style=\"max-height: ".$mybb->settings['lastposteravatar_size']."; max-width: ".$mybb->settings['lastposteravatar_size']."; float: left; margin: 5px;\" alt=\"avatar\" class=\"favimg\" /><!-- avatar", $contents);
    }
    
    return $contents;
    
}


?>
<?php

/**
* Avatary przy ostatnich postach - Filip Klar 2011-12
*/

if(!defined("IN_MYBB")) {
    die(
"Otwarcie tego pliku jest zabronione.");
}

$plugins->add_hook("global_start""lastposteravatar_rand");
$plugins->add_hook("index_start""lastposteravatar_parents");
$plugins->add_hook("forumdisplay_start""lastposteravatar_parents");
$plugins->add_hook("build_forumbits_forum""lastposteravatar_forums");
$plugins->add_hook("forumdisplay_thread""lastposteravatar_threads");
$plugins->add_hook("pre_output_page""lastposteravatar_replace");

function 
lastposteravatar_info() {
    return array(
        
"name"            => "Avatary przy ostatnich postach",
        
"description"    => "Wyświetla avatar użytkownika, który napisał ostatni post w danym dziale lub wątku",
        
"website"        => "http://fklar.pl",
        
"author"           => "Filip Klar",
        
"authorsite"    => "http://fklar.pl",
        
"version"        => "1.5",
        
"guid"             => "",
        
"compatibility" => "18*"
    
);
}

function 
lastposteravatar_activate() {
    global 
$db$mybb;
    
    
$lastposteravatar_group = array(
        
"gid"             => "NULL",
        
"name"             => "lastposteravatar",
        
"title"             => "Avatary przy ostatnich postach",
        
"description"     => "Wyświetlanie avatarów na liście działów i wątków",
        
"disporder"     => "25",
        
"isdefault"     => "yes",
    );
    
$db->insert_query("settinggroups"$lastposteravatar_group);
    
$gid $db->insert_id();    
    
    
$lastposteravatar_size = array(
        
"sid"                => "NULL",
        
"name"            => "lastposteravatar_size",
        
"title"            => "Maksymalny rozmiar avatara",
        
"description"    => "",
        
"optionscode"    => "text",
        
"value"            => "45px",
        
"disporder"        => "1",
        
"gid"                => intval($gid),
    );
    
$db->insert_query("settings"$lastposteravatar_size);
    
    
$lastposteravatar_forums = array(
        
"sid"                => "NULL",
        
"name"            => "lastposteravatar_forums",
        
"title"            => "Wyświetlanie na liście działów",
        
"description"    => "",
        
"optionscode"    => "yesno",
        
"value"            => "1",
        
"disporder"        => "2",
        
"gid"                => intval($gid),
    );
    
$db->insert_query("settings"$lastposteravatar_forums);
    
    
$lastposteravatar_threads = array(
        
"sid"                => "NULL",
        
"name"            => "lastposteravatar_threads",
        
"title"            => "Wyświetlanie na liście wątków",
        
"description"    => "",
        
"optionscode"    => "yesno",
        
"value"            => "1",
        
"disporder"        => "3",
        
"gid"                => intval($gid),
    );
    
$db->insert_query("settings"$lastposteravatar_threads);
    
    
$lastposteravatar_showdefault = array(
        
"sid"                => "NULL",
        
"name"            => "lastposteravatar_showdefault",
        
"title"            => "Przypisanie domyślnego avatara użytkownikom, którzy go nie posiadają",
        
"description"    => "",
        
"optionscode"    => "yesno",
        
"value"            => "1",
        
"disporder"        => "4",
        
"gid"                => intval($gid),
    );
    
$db->insert_query("settings"$lastposteravatar_showdefault);
    
    
$lastposteravatar_defaultsource = array(
        
"sid"                => "NULL",
        
"name"            => "lastposteravatar_defaultsource",
        
"title"            => "Adres domyślnego avatara",
        
"description"    => "",
        
"optionscode"    => "text",
        
"value"            => $mybb->settings['bburl']."/admin/styles/default/images/default_avatar.gif",
        
"disporder"        => "5",
        
"gid"                => intval($gid),
    );
    
$db->insert_query("settings"$lastposteravatar_defaultsource);
    
    
rebuild_settings();
    
    require 
MYBB_ROOT."/inc/adminfunctions_templates.php";
    
find_replace_templatesets("forumbit_depth1_forum_lastpost""#".preg_quote('<span class="smalltext">') . "#i"'<span class="smalltext">{$forum[\'lastposteravatar\']}');
    
find_replace_templatesets("forumbit_depth2_forum_lastpost""#".preg_quote('<span class="smalltext">') . "#i"'<span class="smalltext">{$forum[\'lastposteravatar\']}');
    
find_replace_templatesets("forumdisplay_thread""#".preg_quote('<span class="lastpost smalltext">') . "#i"'<span class="lastpost smalltext">{$thread[\'lastposteravatar\']}');
    
}

function 
lastposteravatar_deactivate() {
    global 
$db;
    
    
$db->query("DELETE FROM ".TABLE_PREFIX."settinggroups WHERE name='lastposteravatar'");
    
$db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='lastposteravatar_size'");
    
$db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='lastposteravatar_forums'");
    
$db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='lastposteravatar_threads'");
    
$db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='lastposteravatar_showdefault'");
    
$db->query("DELETE FROM ".TABLE_PREFIX."settings WHERE name='lastposteravatar_defaultsource'");
    
    
rebuild_settings();
    
    require 
MYBB_ROOT."/inc/adminfunctions_templates.php";
    
find_replace_templatesets("forumbit_depth1_forum_lastpost""#".preg_quote('{$forum[\'lastposteravatar\']}') . "#i"'');
    
find_replace_templatesets("forumbit_depth2_forum_lastpost""#".preg_quote('{$forum[\'lastposteravatar\']}') . "#i"'');
    
find_replace_templatesets("forumdisplay_thread""#".preg_quote('{$thread[\'lastposteravatar\']}') . "#i"'');
    
}

function 
lastposteravatar_rand() {
    global 
$lastposteravatar_rand;
    
$lastposteravatar_rand uniqid();    
}

function 
lastposteravatar_parents() {
    global 
$db$avForum;
    
    
$query $db->query("SELECT `fid`, `pid`, `lastpost`, `lastposteruid` FROM `".TABLE_PREFIX."forums` WHERE `threads` > '0'");
    
$n 1;
    while(
$tempforum $db->fetch_array($query)) {
        
$avForum[$n]['fid'] = $tempforum['fid'];
        
$avForum[$n]['parent'] = $tempforum['pid'];
        
$avForum[$n]['lastpost'] = $tempforum['lastpost'];
        
$avForum[$n]['lastposteruid'] = $tempforum['lastposteruid'];
        
$n++;
    }
}

function 
lastposteravatar_forums(&$forum) {
    global 
$mybb$fcache$listOfUsers$avForum$lastposteravatar_rand;    
    
    if(
$mybb->settings['lastposteravatar_forums'] == 1) {
        
$numberOfForums count($avForum);
        
$listOfUsers[0] = 0;
        
$thisParent $fcache[$forum['pid']][$forum['disporder']][$forum['fid']]['fid'];
        
$fid $thisParent;
        
$lastpost $fcache[$forum['pid']][$forum['disporder']][$forum['fid']]['lastpost'];
        
$uid $fcache[$forum['pid']][$forum['disporder']][$forum['fid']]['lastposteruid'];
        for(
$i 0$i <= $numberOfForums$i++) {
            if(
$avForum[$i]['parent'] == $thisParent && $avForum[$i]['lastpost'] > $lastpost) {
                
$lastpost $avForum[$i]['lastpost'];
                
$uid $avForum[$i]['lastposteruid'];
            }
        }
        if(
in_array($uid$listOfUsers) == FALSE) {
            
$listOfUsers[] = $uid;
        }
    
        
$forum['lastposteravatar'] = "<!-- ".$lastposteravatar_rand."-avatar-".$uid." -->";
    
    }
    
}

function 
lastposteravatar_threads() {
    global 
$mybb$thread$listOfUsers$lastposteravatar_rand;
    
    if(
$mybb->settings['lastposteravatar_threads'] == 1) {
    
        
$listOfUsers[0] = 0;
        
$uid $thread['lastposteruid'];
        if(
in_array($uid$listOfUsers) == FALSE) {
            
$listOfUsers[] = $uid;
        }
        
        
$thread['lastposteravatar'] = "<!-- ".$lastposteravatar_rand."-avatar-".$uid." -->";
        
    }
    
}

function 
lastposteravatar_replace($contents) {
    global 
$db$mybb$listOfUsers$lastposteravatar_rand;
    
    
$numberWithAvatar count($listOfUsers);
    
$partQuery "`uid` = '0'"
    for(
$i 0$i <= $numberWithAvatar$i++) {
        
$partQuery .= "OR `uid` = '".$listOfUsers[$i]."'";
    }
    
    
$query $db->query("SELECT `uid`, `avatar` FROM `".TABLE_PREFIX."users` WHERE ".$partQuery);
    while(
$rekord $db->fetch_array($query)) {
        if(empty(
$rekord['avatar']) && $mybb->settings['lastposteravatar_showdefault'] == 0) {
            
$contents str_replace("<!-- ".$lastposteravatar_rand."-avatar-".$rekord['uid']." -->"""$contents);
        }
        elseif(empty(
$rekord['avatar']) && $mybb->settings['lastposteravatar_showdefault'] == 1) {
            
$contents str_replace("<!-- ".$lastposteravatar_rand."-avatar-".$rekord['uid']." -->""<a href=\"".$mybb->settings['bburl']."/".get_profile_link($rekord['uid'])."\"><img src=\"".$mybb->settings['lastposteravatar_defaultsource']."\" style=\"max-height: ".$mybb->settings['lastposteravatar_size']."; max-width: ".$mybb->settings['lastposteravatar_size']."; float: left; margin: -13px 0 0 70px;\" alt=\"avatar\" class=\"favimg\" /></a>"$contents);    
        }
        else {
            
$contents str_replace("<!-- ".$lastposteravatar_rand."-avatar-".$rekord['uid']." -->""<a href=\"".$mybb->settings['bburl']."/".get_profile_link($rekord['uid'])."\"><img src=\"".$rekord['avatar']."\" style=\"max-height: ".$mybb->settings['lastposteravatar_size']."; max-width: ".$mybb->settings['lastposteravatar_size']."; float: left;margin: -13px 0 0 70px;\" alt=\"avatar\" class=\"favimg\" /></a>"$contents);    
        }
    }
    
    if(
$mybb->settings['lastposteravatar_showdefault'] == 0) {
        
$contents str_replace("<!-- ".$lastposteravatar_rand."-avatar-0 -->"""$contents);
    }
    else {
        
$contents str_replace("<!-- ".$lastposteravatar_rand."-avatar-0 -->""<img src=\"".$mybb->settings['lastposteravatar_defaultsource']."\" style=\"max-height: ".$mybb->settings['lastposteravatar_size']."; max-width: ".$mybb->settings['lastposteravatar_size']."; float: left;margin: -13px 0 0 70px;\" alt=\"avatar\" class=\"favimg\" />"$contents);
        
$contents str_replace("<!-- ".$lastposteravatar_rand."-avatar""<img src=\"".$mybb->settings['lastposteravatar_defaultsource']."\" style=\"max-height: ".$mybb->settings['lastposteravatar_size']."; max-width: ".$mybb->settings['lastposteravatar_size']."; float: left; margin: -13px 0 0 70px;\" alt=\"avatar\" class=\"favimg\" /><!-- avatar"$contents);
    }
    
    return 
$contents;
    
}


?>
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
Na samej górze strony jest error:
[Obrazek: 4ljdk3.jpg]
Zapewne edytowałeś notatnikiem od Windowska...
https://webboard.pl/wiki.php?blad-cannot...-sent.html
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.



Użytkownicy przeglądający ten wątek:

1 gości