Konu üstü bilgi

Başlatan kapt, 24 Ara 2021 23:31

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

*

  1. 48

  2. 14

  3. 3
24 Ara 2021 23:31 Son düzenlenme: 26 Şub 2022 23:35 kapt

Linkler kırılmış, güncelledim sorun devam ediyor. Konu üstündeki info merkezini ikinci resimdeki gibi yapmak istiyorum nasıl yapabilirim?


Böyle olmasını istiyorum. whoisviewing kutu içerisine alamıyorum.




display.template

// Allow adding new buttons easily.
    call_integration_hook('integrate_display_buttons', array(&$normal_buttons));
   
   

        echo '
            <div id="forumposts">
                <div class="cat_bar">
                    <h3 class="catbg">
                        <img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
                        <span id="author">', $txt['author'], '</span>
                        <span id="top_subject">', $txt['topic'], ': ', $context['subject'], ' &nbsp;(', $txt['read'], ' ', $context['num_views'], ' ', $txt['times'], ')</span>
                    </h3>
                </div>';
    if (!empty($settings['display_who_viewing']))
    {
        echo '
       
                <div id="whoisviewing" class="smalltext">';

        // Show just numbers...?
        if ($settings['display_who_viewing'] == 1)
                echo count($context['view_members']), ' ', count($context['view_members']) == 1 ? $txt['who_member'] : $txt['members'];
        // Or show the actual people viewing the topic?
        else
            echo empty($context['view_members_list']) ? '0 ' . $txt['members'] : implode(', ', $context['view_members_list']) . ((empty($context['view_num_hidden']) || $context['can_moderate_forum']) ? '' : ' (+ ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')');

        // Now show how many guests are here too.
        echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['who_viewing_topic'], '
                </div>';
    }

    echo '
                <form action="', $scripturl, '?action=quickmod2;topic=', $context['current_topic'], '.', $context['start'], '" method="post" accept-charset="', $context['character_set'], '" name="quickModForm" id="quickModForm" style="margin: 0;" onsubmit="return oQuickModify.bInEditMode ? oQuickModify.modifySave(\'' . $context['session_id'] . '\', \'' . $context['session_var'] . '\') : false">';

    $ignoredMsgs = array();
    $removableMessageIDs = array();
    $alternate = false;

*

  1. 3,263

  2. 596

  3. 1077
şu şekilde yapınca olması lazım
// Allow adding new buttons easily.
    call_integration_hook('integrate_display_buttons', array(&$normal_buttons));
   
   

        echo '
            <div id="forumposts">
                <div class="cat_bar">
                    <h3 class="catbg">
                        <img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
                        <span id="author">', $txt['author'], '</span>
                        <span id="top_subject">', $txt['topic'], ': ', $context['subject'], ' &nbsp;(', $txt['read'], ' ', $context['num_views'], ' ', $txt['times'], ')</span>
<br>';
if (!empty($settings['display_who_viewing']))
{
echo '
   
<div id="whoisviewing" class="smalltext">';

// Show just numbers...?
if ($settings['display_who_viewing'] == 1)
echo count($context['view_members']), ' ', count($context['view_members']) == 1 ? $txt['who_member'] : $txt['members'];
// Or show the actual people viewing the topic?
else
echo empty($context['view_members_list']) ? '0 ' . $txt['members'] : implode(', ', $context['view_members_list']) . ((empty($context['view_num_hidden']) || $context['can_moderate_forum']) ? '' : ' (+ ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')');

// Now show how many guests are here too.
echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['who_viewing_topic'], '
</div>';
}
                    echo'
</h3>
                </div>';
   

    echo '
                <form action="', $scripturl, '?action=quickmod2;topic=', $context['current_topic'], '.', $context['start'], '" method="post" accept-charset="', $context['character_set'], '" name="quickModForm" id="quickModForm" style="margin: 0;" onsubmit="return oQuickModify.bInEditMode ? oQuickModify.modifySave(\'' . $context['session_id'] . '\', \'' . $context['session_var'] . '\') : false">';

    $ignoredMsgs = array();
    $removableMessageIDs = array();
    $alternate = false;

*

  1. 48

  2. 14

  3. 3
Alıntı yapılan: snrj - 27 Ara 2021 16:14şu şekilde yapınca olması lazım
// Allow adding new buttons easily.
    call_integration_hook('integrate_display_buttons', array(&$normal_buttons));
   
   

        echo '
            <div id="forumposts">
                <div class="cat_bar">
                    <h3 class="catbg">
                        <img src="', $settings['images_url'], '/topic/', $context['class'], '.gif" align="bottom" alt="" />
                        <span id="author">', $txt['author'], '</span>
                        <span id="top_subject">', $txt['topic'], ': ', $context['subject'], ' &nbsp;(', $txt['read'], ' ', $context['num_views'], ' ', $txt['times'], ')</span>
<br>';
if (!empty($settings['display_who_viewing']))
{
echo '
   
<div id="whoisviewing" class="smalltext">';

// Show just numbers...?
if ($settings['display_who_viewing'] == 1)
echo count($context['view_members']), ' ', count($context['view_members']) == 1 ? $txt['who_member'] : $txt['members'];
// Or show the actual people viewing the topic?
else
echo empty($context['view_members_list']) ? '0 ' . $txt['members'] : implode(', ', $context['view_members_list']) . ((empty($context['view_num_hidden']) || $context['can_moderate_forum']) ? '' : ' (+ ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')');

// Now show how many guests are here too.
echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['who_viewing_topic'], '
</div>';
}
                    echo'
</h3>
                </div>';
   

    echo '
                <form action="', $scripturl, '?action=quickmod2;topic=', $context['current_topic'], '.', $context['start'], '" method="post" accept-charset="', $context['character_set'], '" name="quickModForm" id="quickModForm" style="margin: 0;" onsubmit="return oQuickModify.bInEditMode ? oQuickModify.modifySave(\'' . $context['session_id'] . '\', \'' . $context['session_var'] . '\') : false">';

    $ignoredMsgs = array();
    $removableMessageIDs = array();
    $alternate = false;
olmadı

*

  1. 3,263

  2. 596

  3. 1077

display.template dosyasını ekleyin fırsat bulunca bir bakalım

*

  1. 48

  2. 14

  3. 3
19 Şub 2022 21:02 #4 Son düzenlenme: 26 Şub 2022 23:35 kapt
Alıntı yapılan: snrj - 17 Mar 2022 13:36display.template dosyasını ekleyin fırsat bulunca bir bakalım


Buyrun hocam

*

  1. 3,263

  2. 596

  3. 1077
ektekini bir deneyin bakalım

*

  1. 48

  2. 14

  3. 3
20 Şub 2022 13:03 #6 Son düzenlenme: 26 Şub 2022 23:35 kapt
Alıntı yapılan: snrj - 20 Şub 2022 02:32ektekini bir deneyin bakalım

olmadı hocam


Benzer Konular (5)


MENU ×