question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Пришло мне тут письмо:

Здравствуй, Y0ba.

Вознамерился я тут добавить в Куклоскрипт поддержку движка TinyIB https://github.com/tslocum/TinyIB. Стадия “пустой страницы” была успешно пройдена вот таким куском кода: unnamed

А вот дальше застрял. Проблема в том, что Кукла не видит самый последний пост в треде. Выглядит это как-то так https://a.pomf.cat/boojkv.png.

Тут стоит упомянуть, что TinyIB генерирует такой html-код, где треды не “обёрнуты” в какой-либо отдельный класс, вроде .thread. Как и ОП-посты. unnamed1

То есть отделяются они друг от друга только <hr>.

Нашёл в классе дельформы такой метод unnamed2 Но чёт неосилил подправить.

Ещё метод aib.getOmitted() почему-то возвращает на один пост больше. Я попробовал переопределить его в своём классе TinyIB, и декрементировать возвращаемое значение, но это не помогло. Пробовал убавлять/прибавлять единицу к разным счетчикам, которые находил в классах DelForm, Post и Thread

Честно говоря, не знаю куда дальше копать. Помоги, пожалуйста

P.S.: Ещё, поясни пожалуйста, чем отличается cReply от qRPost.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:17 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
SthephanShinkufagcommented, Jun 3, 2016

Все борды с этим движком умерли. Неиспользуемый хлам ненужен.

0reactions
asliancommented, Jun 7, 2016

@SthephanShinkufag Хорошо. Работает. Спасибо. Можно закрывать issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

tslocum/TinyIB: MOVED TO GITLAB - Lightweight PHP ...
TinyIB - A Lightweight and Efficient Image Board Script. Got database? Get speed. Use MySQL, PostgreSQL or SQLite for an efficient set-up able...
Read more >
TinyIB Alternatives: Top 9 Imageboards and similar apps
TinyIB is described as 'Lightweight PHP image board with MySQL, SQLite, or flat file database support. Very easy to install and use' and...
Read more >
tinyib-mappy - ivysaur.me
Tinyib -mappy is a simple imageboard in PHP, supporting most of the basic features one would expect. It deviates slightly from the standard...
Read more >
/aw/ - So I keep thinking about tinyib. It is only 1.5 mb of ...
The big reason TinyIB is so small is because it lacks third-party PHP libraries and features like themes, advanced moderation with multiple ...
Read more >
TinyIB - Claire.ws
TinyIB. Lang: php. Site: https://github.com/tslocum/TinyIB. Č. Updating... ċ. TinyIB-master.zip. (72k). Melissa Calaway,. 29 окт. 2014 г., 10:23.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found