Webmaster Genel Forumları kategorimiz yenilendi!
SMF 2.0 sürümleri için yeni modül/eklentiler sitemizde! İlgili kategorilere gözatabilirsiniz.
Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
Hoşgeldiniz Ziyaretçi. Lütfen giriş yapın veya kayıt olun
Tarih/Saat: 18 Mayıs 2012, 14:14:28
Sayfa: [1] Yazdır
Gönderen Konu: smf 2.0 BoardHover Modülü (Manuel kurulum)  (Okunma sayısı 308 defa)
System Administrator
Yönetici
*
İleti: 4153
Teşekkür Sayısı: 339
Çevrimdışı Çevrimdışı
Cinsiyet: Bay
« : 05 Şubat 2011, 00:29:54 »

Paket kurulum;
Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin


./Sources/Admin.php bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
// Note the comma!! The setting with automatically appear with the first mod to be added.
sonrasına ekle;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
                 
                  'linktreehover' => array($txt['boardhover']),

./Sources/ManageSettings.php bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
      'general' => 'ModifyGeneralModSettings',
sonrasına ekle;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
      'linktreehover' => 'ModifyLinktreeHoverSettings',
bul (dosyanın en sonunda)

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
?>
öncesine ekle;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
function ModifyLinktreeHoverSettings($return_config = false)
{
   global $txt, $scripturl, $context, $settings, $sc, $modSettings;
     
   $config_vars = array(
         array('check', 'enable_linktree_hover'),
      '',
         array('check', 'disable_linktree_first_page'),
      '',
   );

   if ($return_config)
      return $config_vars;

   // Saving?
   if (isset($_GET['save']))
   {
      checkSession();
      saveDBSettings($config_vars);
      writeLog();
      redirectexit('action=admin;area=modsettings;sa=linktreehover');
   }

   $context['post_url'] = $scripturl . '?action=admin;area=modsettings;save;sa=linktreehover';
   $context['settings_title'] = $txt['linktree_hover'];

   prepareDBSettingContext($config_vars);
}

./index.php bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
require_once($sourcedir . '/Security.php');
sonrasına ekle;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
//  add Linktree hover include
require_once($sourcedir . '/Boardhover-linktree.php');

./SSI.php bul;

require_once($sourcedir . '/Security.php');

sonrasına ekle;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
//  add Linktree hover include
require_once($sourcedir . '/Boardhover-linktree.php');

Tema/index.template.php de bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
// Some browsers need an extra stylesheet due to bugs/compatibility issues.
öncesine ekle;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
// Board hover mod needs to determine if IE exists to select hover stylesheet due to bugs/compatibility issues.
      if ($context['browser']['is_ie']) {
         echo '
   <link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/css/boardhover-ie.css?rc4" />'; }
      else {
         echo '
   <link rel="stylesheet" type="text/css" href="', $settings['theme_url'], '/css/boardhover.css?rc4" />'; }

   

bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
echo '
   <div class="navigate_section">
      <ul>';

   // Each tree item has a URL and name. Some may have extra_before and extra_after.
   foreach ($context['linktree'] as $link_num => $tree)
   {
      echo '
         <li', ($link_num == count($context['linktree']) - 1) ? ' class="last"' : '', '>';

      // Show something before the link?
      if (isset($tree['extra_before']))
         echo $tree['extra_before'];

      // Show the link, including a URL if it should have one.
      echo $settings['linktree_link'] && isset($tree['url']) ? '
            <a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span></a>' : '<span>' . $tree['name'] . '</span>';

      // Show something after the link...?
      if (isset($tree['extra_after']))
         echo $tree['extra_after'];

      // Don't show a separator for the last one.
      if ($link_num != count($context['linktree']) - 1)
         echo ' »';

      echo '
         </li>';
   }
   echo '
      </ul>
   </div>';

   $shown_linktree = true;
}

değiştir;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
// Show the navigation tree with or without hovers.
   LinktrhMain();

   $shown_linktree = true;
}

function SMFLinkTree()
{
   global $context, $settings, $options;

   // Each tree item has a URL and name. Some may have extra_before and extra_after.
   foreach ($context['linktree'] as $link_num => $tree)
   {
      echo '
         <li', ($link_num == count($context['linktree']) - 1) ? ' class="last"' : '', '>';

      // Show something before the link?
      if (isset($tree['extra_before']))
         echo $tree['extra_before'];

      // Show the link, including a URL if it should have one.
      echo $settings['linktree_link'] && isset($tree['url']) ? '
            <a href="' . $tree['url'] . '"><span>' . $tree['name'] . '</span></a>' : '<span>' . $tree['name'] . '</span>';

      // Show something after the link...?
      if (isset($tree['extra_after']))
         echo $tree['extra_after'];

      // Don't show a separator for the last one.
      if ($link_num != count($context['linktree']) - 1)
         echo ' »';

      echo '
         </li>';
   }
}

bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
// Show the load time?
   if ($context['show_load_time'])

değiştir;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
echo '
      <ul class="reset">
      <li>', '<a href="http://www.eastcoastrollingthunder.com" target="_blank" class="new_win">BH Mod &copy; 2010</a>', '</li>
      </ul>';

   // Show the load time?
   if ($context['show_load_time'])

Tema/MessageIndex.template.php de bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<tr id="board_', $board['id'], '" class="windowbg2">
değiştir;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<tr id="board_', $board['id'], '" class="windowbg2 windowbg2_hover">
bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<td class="info">
değiştir;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<td class="info" onclick="window.location.href=\'', $board['href'], '\'" name="b', $board['id'], '">
bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
</td>
               <td class="lastpost">';

         /* The board's and children's 'last_post's have:
         time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
         link, href, subject, start (where they should go for the first unread post.),
         and member. (which has id, name, link, href, username in it.) */
         if (!empty($board['last_post']['id']))
            echo '
                  <p><strong>', $txt['last_post'], '</strong>  ', $txt['by'], ' ', $board['last_post']['member']['link'], '<br />
                  ', $txt['in'], ' ', $board['last_post']['link'], '<br />
                  ', $txt['on'], ' ', $board['last_post']['time'],'
                  </p>';

         echo '

değiştir;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
</td>';

         /* The board's and children's 'last_post's have:
         time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
         link, href, subject, start (where they should go for the first unread post.),
         and member. (which has id, name, link, href, username in it.) */
         if (!empty($board['last_post']['id'])) {
            echo '
               <td class="lastpost" onclick="window.location.href=\'',$board['last_post']['href'],'\'">
                  <p><strong>', $txt['last_post'], '</strong>  ', $txt['by'], ' ', $board['last_post']['member']['link'], '<br />
                  ', $txt['in'], ' ', $board['last_post']['link'], '<br />
                  ', $txt['on'], ' ', $board['last_post']['time'],'
                  </p>';
         } else {
            echo '
               <td class="lastpost">';
         }
         echo '

bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
if ($context['can_approve_posts'] && $topic['unapproved_posts'])


            $color_class = !$topic['approved'] ? 'approvetbg' : 'approvebg';


         // We start with locked and sticky topics.


         elseif ($topic['is_sticky'] && $topic['is_locked'])


            $color_class = 'stickybg locked_sticky';


         // Sticky topics should get a different color, too.


         elseif ($topic['is_sticky'])


            $color_class = 'stickybg';


         // Locked topics get special treatment as well.


         elseif ($topic['is_locked'])


            $color_class = 'lockedbg';


         // Last, but not least: regular topics.


         else


            $color_class = 'windowbg';





         // Some columns require a different shade of the color class.


         $alternate_class = $color_class . '2'

değiştir;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
if ($context['can_approve_posts'] && $topic['unapproved_posts']) {


            $color_class = !$topic['approved'] ? 'approvetbg' : 'approvebg';


            $hover_class = !$topic['approved'] ? 'approvetbg' : 'approvebg'; }


         // We start with locked and sticky topics.


         elseif ($topic['is_sticky'] && $topic['is_locked']) {


            $color_class = 'stickybg locked_sticky';


            $hover_class = 'stickybg'; }


         // Sticky topics should get a different color, too.


         elseif ($topic['is_sticky']) {


            $color_class = 'stickybg';


            $hover_class = 'stickybg'; }


         // Locked topics get special treatment as well.


         elseif ($topic['is_locked']) {


            $color_class = 'lockedbg';


            $hover_class = 'lockedbg'; }


         // Last, but not least: regular topics.


         else {


            $color_class = 'windowbg';


            $hover_class = 'windowbg'; }





         // Some columns require a different shade of the color class.


         $alternate_class = $color_class . '2';


         $alt_hover_class = $hover_class . '2';





         if($topic['new'] && $context['user']['is_logged'])



            $boardhover_loc=$topic['new_href'];



         else



            $boardhover_loc=$topic['first_post']['href']

bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<td class="subject ', $alternate_class, '">
değiştir;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<td class="subject ', $alternate_class, ' ', $alt_hover_class, '_hover', '">
bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
'\');"' : ''), '>
değiştir;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
'\');"' : ''), ' onclick="window.location.href=\'', $boardhover_loc, '\'">
bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<td class="lastpost ', $alternate_class, '">
değiştir;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<td class="lastpost ', $alternate_class, ' ', $alt_hover_class, '_hover' , '" onclick="window.location.href=\'' ,$topic['last_post']['href'],'\'">
Tema/BoardIndex.template.php de bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<tr id="board_', $board['id'], '" class="windowbg2">
değiştir;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<tr id="board_', $board['id'], '" class="windowbg2 windowbg2_hover">
bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<dt><strong>', $post['link'], '</strong> ', $txt['by'], ' ', $post['poster']['link'], ' (', $post['board']['link'], ')</dt>
               <dd>', $post['time'], '</dd>

değiştir;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<div class="windowbg2_hover" onclick="window.location.href=\'', $post['href'], '\'">
               <dt><strong>', $post['link'], '</strong> ', $txt['by'], ' ', $post['poster']['link'], ' (', $post['board']['link'], ')</dt>
               <dd>', $post['time'], '</dd></div>

bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<td class="info">
değiştir;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<td class="info" onclick="window.location.href=\'', $board['href'], '\'" name="b', $board['id'], '">
bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
</td>


               <td class="lastpost">';





            /* The board's and children's 'last_post's have:


            time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),


            link, href, subject, start (where they should go for the first unread post.),


            and member. (which has id, name, link, href, username in it.) */


            if (!empty($board['last_post']['id']))


               echo '


                  <p><strong>', $txt['last_post'], '</strong>  ', $txt['by'], ' ', $board['last_post']['member']['link'] , '<br />


                  ', $txt['in'], ' ', $board['last_post']['link'], '<br />


                  ', $txt['on'], ' ', $board['last_post']['time'],'


                  </p>';


            echo '

değiştir;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
</td>';





            /* The board's and children's 'last_post's have:


            time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),


            link, href, subject, start (where they should go for the first unread post.),


            and member. (which has id, name, link, href, username in it.) */


            if (!empty($board['last_post']['id']))


               echo '


                  <td class="lastpost" onclick="window.location.href=\'',$board['last_post']['href'],'\'">


                  <p><strong>', $txt['last_post'], '</strong>  ', $txt['by'], ' ', $board['last_post']['member']['link'] , '<br />


                  ', $txt['in'], ' ', $board['last_post']['link'], '<br />


                  ', $txt['on'], ' ', $board['last_post']['time'],'


                  </p>';


            else



               echo '



               <td class="lastpost">';


            echo '

Tema/PersonalMessage.template.php de bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<td>', ($context['display_mode'
değiştir;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<td class="windowbg2_hover" onclick="window.location.href=\'#msg', $message['id'], '\'">', ($context['display_mode'
Tema/Memberlist.template.php de bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<td class="windowbg lefttext">', $member['link'], '</td>
değiştir;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
<td class="windowbg windowbg2_hover lefttext" onclick="window.location.href=\'index.php?action=profile;u=',$member['id'],'\'">', $member['link'], '</td>
Dil dosyası eklemesi;

Tema/languages/Modifications.turkish.php de bul;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
?>
üstüne ekle;

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
// Begin BoardHover
$txt['boardhover'] = 'BoardHover';
$txt['linktree_hover'] = 'Linktree ayarları';
$txt['enable_linktree_hover'] = 'Agac hover tum kullanicilar icin etkinlestir:';
$txt['disable_linktree_first_page'] = 'On sayfadan navigasyon agacini kaldir:';
// End BoardHover

Önemli notlar;

Pakette bulunan "RC3/Boardhover-linktree.php" dosyasını "./Sources" dizinine kopyalayın.
Pakette bulunan "RC4/boardhover.css" dosyasını "./Themes/default/css/" dizinine kopyalayın.
Pakette bulunan "RC4/boardhover-ie.css" dosyasını "./Themes/default/css/" dizinine kopyalayın.
Pakette bulunan "pseudo-hover.htc" dosyasını "./Themes/default/scripts" dizinine kopyalayın.
Paketteki install_db.php dosyasını forum anadizinine atıp 1 kerelik çalıştırın ve silin.
« Son Düzenleme: 05 Şubat 2011, 00:31:56 Gönderen: Nati » Kayıtlı



SimpleTurk - Türkiye'nin Lider SMF Destek Portalı!
Yönetim Ekibi - Yönetici
Sayfa: [1] Yazdır