Advertisement:

Author Topic: Simple Portal Manşet Haber Eklentisi - Admin panelden ayarlı  (Read 8792 times)

Offline bolubeyi61

  • Sr. Member
  • ****
  • Posts: 758
  • Gender: Male
    • Spina Bifida Turkey
Demo: Üye buluşmalarından seçmeler başlıklı blok
Ekteki modifikasyonu paketlerden kurunuz.
Admin panel / kullanılan tema ayarlarından haber başlıklarını, haber linklerini ve haberlere ait resim linklerini giriniz.
Aşağıdaki kodlarla php blok oluşturunuz.
Code: [Select]
<?php
{
global 
$context$settings$options$txt$scripturl$modSettings;
echo
'
       <table border="1" width="100%" style="border-width: 0px">   
        <tr>
            <td class="header_news_bg">
                 <img id="smf_header_news_1" src="'
$settings['smf_header_news_1_img'] . '" alt="news" width="290" height="220" />                 
                 <img id="smf_header_news_2" src="'
$settings['smf_header_news_2_img'] . '" alt="news" width="290" height="220" />
                 <img id="smf_header_news_3" src="'
$settings['smf_header_news_3_img'] . '" alt="news" width="290" height="220" />
                 <img id="smf_header_news_4" src="'
$settings['smf_header_news_4_img'] . '" alt="news" width="290" height="220" />
                 <img id="smf_header_news_5" src="'
$settings['smf_header_news_5_img'] . '" alt="news" width="290" height="220" />                   
                    <img id="smf_header_news_6" src="'
$settings['smf_header_news_6_img'] . '" alt="news" width="290" height="220" />               
                 <img id="smf_header_news_7" src="'
$settings['smf_header_news_7_img'] . '" alt="news" width="290" height="220" />               
                 <img id="smf_header_news_8" src="'
$settings['smf_header_news_8_img'] . '" alt="news" width="290" height="220" />                   
                    <img id="smf_header_news_9" src="'
$settings['smf_header_news_9_img'] . '" alt="news" width="290" height="220" />               
                 <img id="smf_header_news_10" src="'
$settings['smf_header_news_10_img'] . '" alt="news" width="290" height="220" />   
                 <img id="smf_header_news_11" src="'
$settings['smf_header_news_11_img'] . '" alt="news" width="290" height="220" />                 
                 <img id="smf_header_news_12" src="'
$settings['smf_header_news_12_img'] . '" alt="news" width="290" height="220" />
                 <img id="smf_header_news_13" src="'
$settings['smf_header_news_13_img'] . '" alt="news" width="290" height="220" />
                 <img id="smf_header_news_14" src="'
$settings['smf_header_news_14_img'] . '" alt="news" width="290" height="220" />
                 <img id="smf_header_news_15" src="'
$settings['smf_header_news_15_img'] . '" alt="news" width="290" height="220" />                   
                    <img id="smf_header_news_16" src="'
$settings['smf_header_news_16_img'] . '" alt="news" width="290" height="220" />               
                 <img id="smf_header_news_17" src="'
$settings['smf_header_news_17_img'] . '" alt="news" width="290" height="220" />               
                 <img id="smf_header_news_18" src="'
$settings['smf_header_news_18_img'] . '" alt="news" width="290" height="220" />                   
                    <img id="smf_header_news_19" src="'
$settings['smf_header_news_19_img'] . '" alt="news" width="290" height="220" />               
                 <img id="smf_header_news_20" src="'
$settings['smf_header_news_20_img'] . '" alt="news" width="290" height="220" />               
                 
            </td>
            
            <td class="header_news">
          
                <a title="go to the topic" href ="'
$settings['smf_header_news_1'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_1\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_1\').style.visibility = \'hidden\';" > '$settings['smf_header_news_1_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_2'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_2\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_2\').style.visibility = \'hidden\';" > '$settings['smf_header_news_2_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_3'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_3\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_3\').style.visibility = \'hidden\';" > '$settings['smf_header_news_3_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_4'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_4\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_4\').style.visibility = \'hidden\';" > '$settings['smf_header_news_4_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_5'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_5\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_5\').style.visibility = \'hidden\';" > '$settings['smf_header_news_5_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_6'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_6\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_6\').style.visibility = \'hidden\';" > '$settings['smf_header_news_6_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_7'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_7\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_7\').style.visibility = \'hidden\';" > '$settings['smf_header_news_7_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_8'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_8\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_8\').style.visibility = \'hidden\';" > '$settings['smf_header_news_8_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_9'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_9\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_9\').style.visibility = \'hidden\';" > '$settings['smf_header_news_9_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_10'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_10\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_10\').style.visibility = \'hidden\';" > '$settings['smf_header_news_10_title'] . '</a>
                          
            </td>    
            
            <td class="header_news">
          
                <a title="go to the topic" href ="'
$settings['smf_header_news_11'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_11\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_11\').style.visibility = \'hidden\';" > '$settings['smf_header_news_11_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_12'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_12\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_12\').style.visibility = \'hidden\';" > '$settings['smf_header_news_12_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_13'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_13\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_13\').style.visibility = \'hidden\';" > '$settings['smf_header_news_13_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_14'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_14\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_14\').style.visibility = \'hidden\';" > '$settings['smf_header_news_14_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_15'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_15\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_15\').style.visibility = \'hidden\';" > '$settings['smf_header_news_15_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_16'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_16\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_16\').style.visibility = \'hidden\';" > '$settings['smf_header_news_16_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_17'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_17\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_17\').style.visibility = \'hidden\';" > '$settings['smf_header_news_17_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_18'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_18\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_18\').style.visibility = \'hidden\';" > '$settings['smf_header_news_18_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_19'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_19\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_19\').style.visibility = \'hidden\';" > '$settings['smf_header_news_19_title'] . '</a><br />
                
                <a title="go to the topic" href ="'
$settings['smf_header_news_20'] . '" target="_top" onmouseover="document.getElementById(\'smf_header_news_20\').style.visibility = \'visible\';" onmouseout="document.getElementById(\'smf_header_news_20\').style.visibility = \'hidden\';" > '$settings['smf_header_news_20_title'] . '</a>
                          
            </td>                    
        </tr>
        </table>

'
;}
?>

Offline MrBlue

  • Semi-Newbie
  • *
  • Posts: 17
Re: Simple Portal Manşet Haber Eklentisi - Admin panelden ayarlı
« Reply #1 on: June 23, 2013, 02:39:42 PM »
Eline sağlık

Offline Alpay

  • Local Moderator
  • SMF Hero
  • *
  • Posts: 3,634
  • Gender: Male
  • test
    • Personal Web Page
Re: Simple Portal Manşet Haber Eklentisi - Admin panelden ayarlı
« Reply #2 on: June 23, 2013, 02:59:16 PM »
Gayet kullanışlı, teşekkür ederim.

Offline bolubeyi61

  • Sr. Member
  • ****
  • Posts: 758
  • Gender: Male
    • Spina Bifida Turkey
Re: Simple Portal Manşet Haber Eklentisi - Admin panelden ayarlı
« Reply #3 on: June 23, 2013, 03:00:14 PM »
İyi günlerde kullanın.

Offline Antes

  • Evil Black Cat
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,934
  • Gender: Male
  • Black cat rulz!
    • Antes on GitHub
    • merta on LinkedIn
    • @XinYenFon on Twitter
    • WoWSnips
Re: Simple Portal Manşet Haber Eklentisi - Admin panelden ayarlı
« Reply #4 on: June 23, 2013, 03:01:43 PM »
Linklere title alırken konuların başlıklarını kullanırsanız daha iyi olur duplicated title hatası alınmaz.
You can support me directly via Patreon

In Catnip We Trust.
The solution is Catnip!
Vote for Catnip!

Current Project(s): [ WoWSnips ]
Past Project(s): [ ezPortal ] # [ Lunarfall ] # [ RDD (HTML5) ]

Offline bolubeyi61

  • Sr. Member
  • ****
  • Posts: 758
  • Gender: Male
    • Spina Bifida Turkey
Re: Simple Portal Manşet Haber Eklentisi - Admin panelden ayarlı
« Reply #5 on: June 23, 2013, 04:19:40 PM »
Şurada da portal kullanmayanlar için paylaştım. Madem konu güncellendi onu da belirteyim.
http://www.simplemachines.org/community/index.php?topic=502592.msg3533528#msg3533528

Offline körcerrah

  • Newbie
  • *
  • Posts: 8
Re: Simple Portal Manşet Haber Eklentisi - Admin panelden ayarlı
« Reply #6 on: August 09, 2013, 03:30:53 AM »
Ellerine sağlık hocam çok güzel olmuş.

Offline bolubeyi61

  • Sr. Member
  • ****
  • Posts: 758
  • Gender: Male
    • Spina Bifida Turkey
Re: Simple Portal Manşet Haber Eklentisi - Admin panelden ayarlı
« Reply #7 on: August 09, 2013, 03:40:22 AM »
Şurada da portal kullanmayanlar için paylaştım. Madem konu güncellendi onu da belirteyim.
http://www.simplemachines.org/community/index.php?topic=502592.msg3533528#msg3533528
Evet. Sonraki sürümde konulara ait titleyi de admin panele ekleyim. Default title bu haliyle go to the topic diye geçiyor.