Per 2016, RMID pindah ke RMID Discord (Invite link dihapus untuk mencegah spambot -Theo @ 2019). Posting sudah tidak bisa dilakukan lagi.
Mohon maaf atas ketidaknyamanannya dan mohon kerjasamanya.

Share | 
 

 [Suggestion] Regexp Word Censor?

Topik sebelumnya Topik selanjutnya Go down 
[Suggestion] Regexp Word Censor? Empty2014-07-04, 14:39
Post[Suggestion] Regexp Word Censor?
#1
TheoAllen 
♫ RMID Rebel ♫
♫ RMID Rebel ♫
TheoAllen

Kosong
Posts : 4935
Thanked : 63
Awards:




[Suggestion] Regexp Word Censor? Vide
Seperti yang udah kita tau, imgur diblock oleh beberapa provider di Indo. Itu image hosting vital banget buat beberapa situs macem prntscr.com gunain imgur buat ngeprovide gambar2nya. Nah, kebetulan gwa buka galeri lightshot / prntscr gw... emang bener gambarnya ga keload. Tapi pas gwa buka salah satu gambarnya keload. Ternyata tu situs nambahin "sedikit" url tambahan

Ini link imgur
https://i.imgur.com/wphsPs6.png

Ini link prntscr.com (work walopun kena internet positif)
http://img.prntscr.com/img?url=https://i.imgur.com/wphsPs6.png

Gwa sempet kepikiran, gimana kalo sensornya pake semacem regular expression. Jadi semisal kalo ada orang masukin link imgur, langsung kereplace ama link diatas. Gwa browsing, dan gwa nemu trit ini
http://www.avacweb.com/t1529-javascript-word-censoring-with-regular-expressions

Mungkin admin laen ngerti gimana masukin ini ke admin CP?
[Suggestion] Regexp Word Censor? Empty2014-07-04, 14:49
PostRe: [Suggestion] Regexp Word Censor?
#2
richter_h 
Salto Master
Hancip RMID
richter_h

Kosong
Posts : 1705
Thanked : 30
Engine : Other
Skill : Skilled
Type : Developer
Awards:

[Suggestion] Regexp Word Censor? Vide
Bisa dicoba. Tapi javascript ya...
Javascriptnya ane ngerti. Masukin ke forumotion, beda cerita :ogw:

Mungkin ada yang lebih ngerti ma backend forum?
[Suggestion] Regexp Word Censor? Empty2014-07-04, 14:52
PostRe: [Suggestion] Regexp Word Censor?
#3
TheoAllen 
♫ RMID Rebel ♫
♫ RMID Rebel ♫
TheoAllen

Kosong
Posts : 4935
Thanked : 63
Awards:




[Suggestion] Regexp Word Censor? Vide
Well... loling pernah ngutik2 JS tuh, di name generator. Bisa kok masukin ke forumotion, lewat modul > JS management. Cuman gw rada2 ga ngeh ama JS jadi ya ... :ming:
[Suggestion] Regexp Word Censor? Empty2014-07-04, 15:05
PostRe: [Suggestion] Regexp Word Censor?
#4
LowlingLife 
Administrator
Administrator
LowlingLife

Kosong
Posts : 2000
Thanked : 25
Engine : Multi-Engine User
Awards:

[Suggestion] Regexp Word Censor? Vide
Speak of the devil and he shall come. BTW, imgur.com udah gak ke-blok lagi kok. Buktinya sekarang saya bisa buka tapi kemarin malam gak bisa. Udah coba cek lagi blom?

Sebenarnya saya cuma takut masalah 1 doang sih. Kemarin saya coba ngubah tampilan forum pakai javascript tapi membuat loading page lama.
[Suggestion] Regexp Word Censor? Empty2014-07-04, 16:02
PostRe: [Suggestion] Regexp Word Censor?
#5
TheoAllen 
♫ RMID Rebel ♫
♫ RMID Rebel ♫
TheoAllen

Kosong
Posts : 4935
Thanked : 63
Awards:




[Suggestion] Regexp Word Censor? Vide
Well, ISP gwa barusan ngetroll sih. Tadi kena sensor, BENTAR. Dan sekarang bisa lagi :ming:
Buat beberapa orang sih keknya masih ada yg keblock. Tapi entah dah
Kalo emang bikin loading lemod emang mendingan ga usah keknya :hmm:
Toh cara kerja word censoring asli forumotion itu replace dan masuk database. Kalo tiap loading page dicek sensor emang bikin lemod
[Suggestion] Regexp Word Censor? Empty
PostRe: [Suggestion] Regexp Word Censor?
#6
Sponsored content 




[Suggestion] Regexp Word Censor? Vide
 

[Suggestion] Regexp Word Censor?

Topik sebelumnya Topik selanjutnya Kembali Ke Atas 
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
RPGMakerID :: Community Central :: Feedback and Help-