D-eye's Blog | Buitenzorg

Tambahan untuk DBS V1.3

Tambahan untuk DBS V1.3

Update blog Wah ternyata masih ada yang salah di v1.3 :) ,yaitu di bagian function dy_bl($ip) .cuma dikit sih,tapi tetep aja tombol wat ban ip dalam komentar dan online lis jadi gak tampil :) .
Langsung aja ubah function dy_bl($ip) nya .function ini ada dalam file dbs-inc/dbs-functions.php paling bawah (function terakhir)

Asalnya seperti ini:

1function dy_bl($ip)
2{if(isset($_SESSION['owner']))
3{$dy_cek=mysql_query("select dy_ip from dy_iplist where dy_ip='$ip'") or die(mysql_error());
4if(mysql_num_rows($dy_cek) == 0)
5{$dy_blip='';}
6else{$dy_blip='<form action="'.dy_site().'admin.php?ok&act=tip" method="post">';
7$dy_blip.='<input type="hidden" name="ip" value="'.$ip.'" />';
8$dy_blip.='<input type="submit" value="Banned IP" class="dy_input_submit" />';
9$dy_blip.='</form>';}
10return $dy_blip;}}


Di ubah menjadi :

1function dy_bl($ip)
2{if(isset($_SESSION['owner']))
3{$dy_cek=mysql_query("select dy_ip from dy_iplist where dy_ip='$ip'") or die(mysql_error());
4if(mysql_num_rows($dy_cek) != 0)
5{$dy_blip='';}
6else{$dy_blip='<form action="'.dy_site().'admin.php?ok&act=tip" method="post">';
7$dy_blip.='<input type="hidden" name="ip" value="'.$ip.'" />';
8$dy_blip.='<input type="submit" value="Banned IP" class="dy_input_submit" />';
9$dy_blip.='</form>';}
10return $dy_blip;}}
.
Jadi yang di ubah cuma dikit aja ( == menjadi != ).

Kalau yang gak mau repot,langsung download aja yang udah dibenerin dbs v1.3 nya trus ganti deh dbs-functions.php yang lama

Lalu bbcode.php dan di dbs-themes,ternyata dbs-arsip.php gak ikut ke pack ,silahkan download Default themes v 1.3
Posted Posted: 03 Oct 2011 Author Author: D-eye
Views Views: 4872 Comments Comments: 156 comments
Categories Categories: dbs
Tags Tags: update blog,cara membuat blog
Share Share: Twitter, Facebook, Reddit, Digg

Incoming search terms :

1.dbs v (2)
2.dbs v1 3 (1)
3.pembayaran admob november 2011 (1)
4.DBS V 1 3 (1)
5.Dbs v1 2 (1)
6.Tentang dbs v1 3 (1)
7.Bugs dbs v (1)
How to get Earning from website
How to get Earning from wapsite

Blog Title Comment
 

Write | View comments ( 156 )

  • Tayyab's avatar#5756 Tayyab
    [Quote by D-eye] Nanti :D...
    weeeeeeeeew :D
    24 Jul 2015 - 09:13
    141.0.13.35
    Reply
  • D-eye's avatar#5755 D-eye
    [Quote by Tayyab] ya mas deye, please update dbs ;)...
    Nanti :D
    23 Jul 2015 - 23:41
    Howdy Kisanak
    Reply
  • Tayyab's avatar#5748 Tayyab
    [Quote by Naruto] dbs 1.5 kpan?...
    ya mas deye, please update dbs ;)
    14 Jun 2015 - 19:56
    82.145.220.99
    Reply
  • Naruto's avatar#5747 Naruto
    dbs 1.5 kpan?
    14 Jun 2015 - 11:49
    120.164.45.87
    Reply
  • Fajar's avatar#4406 Fajar
    [Quote by Wawan] kang dbs v1.3 gak d tmbhin upload foto kya v1.4 ne...
    Kalo d tmbahin dbsnya gak update2 dong.. confused
    27 Apr 2012 - 09:50
    141.0.9.151
    Reply

Write comment

Write comment in Tambahan untuk DBS V1.3
Name :

Email :

Website :

Comment :

Kode : rk7


Bbcode ON | Smiley ON

Category

Belajar seo ( 11 )
Belajar mysql ( 8 )
Kontes ( 1 )
Belajar php ( 21 )
Php script ( 25 )
Dbs ( 29 )
Themes ( 6 )
Tips dan trick ( 14 )
Umum ( 25 )

Archive

Statistic

Online : 5
Hits : 2018/8314566
Hosts : 438/965070

Most commented