Share this topic on Del.icio.usShare this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on SlashdotShare this topic on StumbleUponShare this topic on TechnoratiShare this topic on TwitterShare this topic on YahooShare this topic on Google buzz

Author Topic: banner SMF  (Read 750 times)

0 Members and 1 Guest are viewing this topic.

Offline safril

  • Bibit IF
  • *
  • Posts: 24
  • Reputasi: 0

  • Aktivitas bulan ini
    0%
banner SMF
« on: 22 July 2009, 11:34:36 »
masih bingung nih tuk buat banner di SMF.............gimana mengganti banner dgn memakai banner sendiri?? trus tuk sitename, gimana cari gantinya??? gimana pula dengan banner yang memakai flash, memasukkannya lewat mana???

Forum Informatika

banner SMF
« on: 22 July 2009, 11:34:36 »
Sponsored Links:


Offline 1nf0rm4t1c5

  • Administrator
  • *
  • Posts: 1090
  • Reputasi: 15
  • Informatics Developer

  • Aktivitas bulan ini
    4%
    • Forum Informatika
  • Lokasi: Indonesia
  • Jenis Kelamin: Laki-laki
Re: banner SMF
« Reply #1 on: 22 July 2009, 13:23:46 »
Banner atau saya sebut header, bisa dimodifikasi secara hardcode, tapi kudu hati2.

Buka file index.template.php di folder theme yang sedang dipakai, modifikasi bagian setelah <body>:

Code: (php) [Select]
&lt;/head>
&lt;body>';

echo '
&lt;div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
&lt;table width="100%" cellpadding="0" cellspacing="0" border="0">
&lt;tr>
&lt;td>';

if (empty($settings['header_logo_url']))
echo '
&lt;span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '&lt;/span>';
else
echo '
&lt;a href="', $boardurl,'" target="_self" title="',$context['forum_name'],' - ',$boardurl,'">
&lt;img src="', $boardurl, '/' , $settings['header_logo_url'], '" width="100%" height="120px" alt="', $context['forum_name'], '" />
            &lt;/a>';

echo '
&lt;/td>
&lt;/tr>
&lt;/table>';

Bisa menyisipkan kode flash kalau Anda bisa kodingnya.

Untuk mengganti nama forum, masuk ke Administrasi (login admin).
Masuk ke menu Server Settings, kemudian ganti isinya di Forum Title

Good luck!  ;)
Full access for guest [REGISTER]
Please read the rule [RULES]
Promosi?  [STEP-BY-STEP]

RAR PASSWORD : http://if.web.id --> buat buka file rar