ankete oy veren üyeleri gösteriyor ve hangi üyenin oy verdiğine baktığınız ekranda rumuza tıklandığında o üyenin profiline gidilmesinide sağlıyor.mod şeklinde yayınlandı ben manuelini anlatıyorum.anlatım yalnızca default içindir. Başlamadan Önce yedek Alınız.


sources/ManagePermissions.php de bul;
// Standard - ie. members.  They can do anything Restrictive can.
 $groupLevels['global']['standard'] = array_merge($groupLevels['global']['restrict'], array(
sonrasına ekle;
'poll_view_voters', // [Who Voted What?]
bul;
'poll' => array(
    'poll_view' => false,
sonrasına ekle;
'poll_view_voters' => false, // [Who Voted What?]
sources/display.php de bul;
// Now add it to the poll's contextual theme data.
   $context['poll']['options'][$i] = array(
    'id' => 'options-' . $i,
sonrasına ekle;
'ID_OPTION' => $i, // [Who Voted What?]
bul;
// Calculate the fastest way to get the messages!
öncesine ekle;
// Get information about the voters... [Who Voted What?]
    $request = db_query("
      SELECT
        lp.ID_CHOICE, lp.ID_MEMBER, m.realName
      FROM {$db_prefix}log_polls AS lp
        LEFT JOIN {$db_prefix}members AS m ON (m.ID_MEMBER = lp.ID_MEMBER)
      WHERE lp.ID_POLL = $topicinfo[ID_POLL]
      ORDER BY m.realName", __FILE__, __LINE__);
    while ($row = mysql_fetch_assoc($request)) {
      if(!isset($context['poll']['options'][$row['ID_CHOICE']]['voters']))
      {
        $context['poll']['options'][$row['ID_CHOICE']]['voters'] = array();
      }
      $voter = array(
        'ID_MEMBER' => $row['ID_MEMBER'],
        'realName' => $row['realName']
      );
      array_push($context['poll']['options'][$row['ID_CHOICE']]['voters'], $voter);
    }
    mysql_free_result($request);
themes/default/display.template.php de bul;
// Show each option with its corresponding percentage bar.
   foreach ($context['poll']['options'] as $option)
    echo '
       <tr>
        <td style="padding-right: 2ex;', $option['voted_this'] ? 'font-weight: bold;' : '', '">', $option['option'], '</td>', $context['allow_poll_view'] ? '
        <td nowrap="nowrap">' . $option['bar'] . ' ' . $option['votes'] . ' (' . $option['percent'] . '%)</td>' : '', '
       </tr>';
değiştir;
// Show each option with its corresponding percentage bar.
   foreach ($context['poll']['options'] as $option)
   {
    echo '
       <tr>
        <td style="padding-right: 2ex;', $option['voted_this'] ? 'font-weight: bold;' : '', '">', $option['option'], '</td>', $context['allow_poll_view'] ? '
        <td nowrap="nowrap">' . $option['bar'] . ' ' . $option['votes'] . ' (' . $option['percent'] . '%)</td>' : '', '';
        // [Who Voted What?]
        if (allowedTo('poll_view_voters'))
        {
          echo '
          <td style="padding-left: 2ex;">
                    <select name="voters' . $option['ID_OPTION'] . '" id="jumpto" onchange="if (this.selectedIndex > 0 &amp;&amp; this.options[this.selectedIndex].value) window.location.href = smf_scripturl + this.options[this.selectedIndex].value.substr(smf_scripturl.indexOf(\'?\') == -1 || this.options[this.selectedIndex].value.substr(0, 1) != \'?\' ? 0 : 1);" style="width: 150px;">';
          if (!empty($context['poll']['options'][$option['ID_OPTION']]['voters']))
          {
            echo '
                      <option selected="selected" value="#">' . $txt['poll_view_voters_expand_to_view'] . '</option>
                      <option disabled="disabled" value="">----------------------</option>';
            foreach ($context['poll']['options'][$option['ID_OPTION']]['voters'] as $voter)
            {
              echo '
                      <option value="?action=profile;u=' . $voter['ID_MEMBER'] . '"> • ' . $voter['realName'] . '</option>';
            }
            echo '
                      <option disabled="disabled" value="">----------------------</option>
                      <option disabled="disabled" value="">' . $txt['poll_view_voters_expanded_help1'] . '</option>
                      <option disabled="disabled" value="">' . $txt['poll_view_voters_expanded_help2'] . '</option>';
          } else
          {
            echo '
                      <option disabled="disabled" selected="selected" value="">Oy Kullanılmamış</option>';
          }
          echo '
                    </select>
                  </td>
          ';
        }
        echo '
       </tr>';
   }
themes/languages/modifications.turkish.php de bul;
?>
üstüne ekle;
// [Ankete Oy Verenler] 
$txt['poll_view_voters_expand_to_view'] = ' Görmek için genişletin';
$txt['poll_view_voters_expanded_help1'] = ' Profilini görmek için ';
$txt['poll_view_voters_expanded_help2'] = 'üye adına tıklayın...';
$txt['cannot_poll_view_voters'] = 'Üzgünüm, siz\'anketi oylamak için izinli değilsiniz.';
$txt['permissionname_poll_view_voters'] = 'Oy verenleri gör';
$txt['permissionhelp_poll_view_voters'] = 'Üye Gruplarına oy verenleri görmek için gerekli izinleri vermelisiniz.';
paket sahibi; Søren Bjerg