Sabtu, 05 Oktober 2013

PHP Indonesia - Facebook: [ASK] Om2 ane kan bikin buku tamu,,nah gmana car...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Want free Kindle ebooks?

Sign up to receive the best freebie Kindle ebook deals in your email every day.
From our sponsors
[ASK] Om2 ane kan bikin buku tamu,,nah gmana car...
Oct 5th 2013, 12:16, by Trio Ferdiansyah

Trio Ferdiansyah 12:16pm Oct 5
[ASK]

Om2 ane kan bikin buku tamu,,nah gmana caranya agar user ketika megirim komentar tidak langsung terpublish,,tetapi di setujui dulu oleh admin..???

ada link tutorialnya ga?

Makasih

Hengky Mulyono 12:20pm Oct 5
tinggal ditambah field di tabelnya di database sebagai 'flag', awal insert ke tabel, set fieldnya = 0,

di admin side, tinggal update fieldnya jadi = 1 kalau disetujui.

di front end, tampilin yg field 'flag' tadi = 1 ajaa. (udah disetujuin admin).

Gunawan Mujur Wibisono 12:20pm Oct 5
ada field namanya status
saat di kirim.. statusnya 0
dan di list buku tamu.. yg statusnya 1 adalah komentar yg tampil

cara ubah jadi 1.. admin yg hjalan

Fahmi Haidar Zaki 12:20pm Oct 5
dibikin logika aja di db, dibuat semacam value true/false nnti klo dah di approve valuenya true kalo belom ya false

Trio Ferdiansyah 12:21pm Oct 5
ada link'e ga gan,,ane masih ga mudeng

Trio Ferdiansyah 12:22pm Oct 5
ane pangen cari di google,,tapi ga tau keyword'e...hehe

Gunawan Mujur Wibisono 12:22pm Oct 5
:v oke deh.. ntar di share

De Cobain 12:24pm Oct 5
tmbahin aja field status di tabel buku tamu. isi statusnya tserah misal saat user submit komen status awal 'not publish', kalo udah disetujui admin statusnya brubah jdi 'publish'. . bgitulah kira2 logikanya

Made RaUciha 12:28pm Oct 5
pake logika sederhana, dalam table komentar kita tambah field baru dengan nama status_komentar, tinggal set default pending, trus di kotak komentar tinggal kasih logika if aja deh biar yang tampil cuma komentar dengan status approve, kira2 begitu, maaf kalo salah :)

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar