Webboard

Pełna wersja: Wyszukiwanie wątków użytkownika
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
Dzień dobry. Otóż gdy wyszuka się wątki danego użytkownika to nie przenosi do nich. 
https://cslobby.pl/search.php?action=res...74e47e49db
Pokaż zawartość szablonu search_results_threads_thread. Masz problem z linkiem w tym szablonie, bo zamiast kierować do tematu, kieruje do profilu usera
(03.02.2018, 16:31)myCreedo napisał(a): [ -> ]Pokaż zawartość szablonu search_results_threads_thread. Masz problem z linkiem w tym szablonie, bo zamiast kierować do tematu, kieruje do profilu usera

Kod PHP:
<div class="row thread">
    <
div class="status"><span class="thread_status {$folder}title="{$folder_label}">&nbsp;</span></div>
    <
div class="icon">{$icon}</div>
    <
div class="thread-info clearfix">
        <
div class="avatar">
            <
avatarep_uid_[{$thread['uid']}]>
        </
div>
        <
div class="info">
            <
div class="thread-name">{$prefix} {$gotounread}{$thread['threadprefix']} <span class="{$inline_edit_class} {$new_class}id="tid_{$inline_edit_tid}"><a href="{$thread['threadlink']}">{$thread['subject']}</a></span>{$thread['multipage']}</div>
            <
div class="forum-name">({$thread['forumlink']})</div>
            <
div class="author">{$thread['profilelink']}</div>
        </
div>
    </
div>
    <
div class="stats">
        <
div class="replies">
            <
span>{$lang->replies}: </span><a href="javascript:void(0)" onclick="MyBB.whoPosted({$thread['tid']}); return false;">{$thread['replies']}</a>
        </
div>
        <
div class="views">
            <
span>{$lang->views}: </span>{$thread['views']}
        </
div>
    </
div>
    <
div class="last-post">
        <
div class="info">
            <
div class="author">{$lastposterlink}</div>
            <
div class="date">{$lastpostdate}</div>
        </
div>
        <
div class="avatar">
            <
avatarep_uid_[{$thread['lastposteruid']}]>
        </
div>
    </
div>
    {
$inline_mod_checkbox}
</
div
Kod:
<div class="row thread">
    <div class="status"><span class="thread_status {$folder}" title="{$folder_label}">&nbsp;</span></div>
    <div class="icon">{$icon}</div>
    <div class="thread-info clearfix">
        <div class="avatar">
            <avatarep_uid_[{$thread['uid']}]>
        </div>
        <div class="info">
            <div class="thread-name">{$prefix} {$gotounread}{$thread['threadprefix']} <span><a href="{$thread_link}{$highlight}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a></span>{$thread['multipage']}</div>
            <div class="forum-name">({$thread['forumlink']})</div>
            <div class="author">{$thread['profilelink']}</div>
        </div>
    </div>
    <div class="stats">
        <div class="replies">
            <span>{$lang->replies}: </span><a href="javascript:void(0)" onclick="MyBB.whoPosted({$thread['tid']}); return false;">{$thread['replies']}</a>
        </div>
        <div class="views">
            <span>{$lang->views}: </span>{$thread['views']}
        </div>
    </div>
    <div class="last-post">
        <div class="info">
            <div class="author">{$lastposterlink}</div>
            <div class="date">{$lastpostdate}</div>
        </div>
        <div class="avatar">
            <avatarep_uid_[{$thread['lastposteruid']}]>
        </div>
    </div>
    {$inline_mod_checkbox}
</div>
jesteś wielki :)