Closed zackad closed 4 years ago
Quick-quote should test and need adjustment on several cases:
blok kode php di kaskus juga lagi error. sepertinya bug gara-gara bentrok smilie code.
<?php
if (PHP_SAPI == 'cli-server') {
// To help the built-in PHP dev server, check if the request was actually for
// something which should probably be served as a static file
$url = parse_url($_SERVER['REQUEST_URI']);
$file = __DIR__ . $url['path'];
- if (is_file($file)) {
+ if (is_file($file)<img src="https://s.kaskus.id/images/smilies/sumbangan/13.gif" data-sceditor-emoticon=";)"" border="0" alt="emoticon-Wink" title="Wink"/> {
return false;
}
}
Biasa nih klo ada perubahan structure kudu re-adjust code. Blm klo emng msh ada bug dr sisi kaskus nya nge parse/render element ato atribut. Hehe..
Later ane lanjut patch ya om.. 🙏
update ntar aja dah, soalnya kaskus juga blom stabil sistemnya. pasti bakal banyak perubahan sana-sini. ane bikin list-nya biar ntar ng-ceknya lebih gampang.
anyway thanks buat script-nya.
kaskus mengubah dom dari quote/quoted post. alhasil fitur quick quote tidak bekerja sebagaimana mestinya, fetch quote gak ada masalah.
contoh broken quoted post.
List of fixed parse with quick quote :