Recent content by ghostwolfling

  1. ghostwolfling

    [XFA] Who Read This Thread - XF2 [Deleted]

    I guess I found a solution. I'm not quite sure it's perfect, but it works. Replace in getWhoViewReadStatsWRT and getWhoViewReadListWRT methods: ->where('params', '=', 'thread_id='.$this->thread_id) With: ->whereOr( ['params', '=', 'thread_id='.$this->thread_id], ['params', 'LIKE'...
  2. ghostwolfling

    [XFA] Who Read This Thread - XF2 [Deleted]

    I think I can, but not right now. But it's easy to reproduce. Create a thread with two pages (if you don't have one already). Open this thread on the second page. At this point you don't see yourself in the viewers list. So, in the database: select * from xf_session_activity where user_id =...
  3. ghostwolfling

    [XFA] Who Read This Thread - XF2 [Deleted]

    I think it's because you look for params, where "thread_id=N" ->where('params', '=', 'thread_id='.$this->thread_id) While if user is on another page, it looks like "thread_id=N&page=N". Probably this code doesn't expect another params after thread_id.
  4. ghostwolfling

    [XFA] Who Read This Thread - XF2 [Deleted]

    But I can see that someone is viewing a thread no matter what page they are (in their profiles). Am I missing something? I mean, it's pointless if it works only with the first page. In a multi-page threads users read fresh posts on the last page.
  5. ghostwolfling

    [XFA] Who Read This Thread - XF2 [Deleted]

    It works a little bit weird. I don't see people viewing a thread (for example myself), unless they are on the first page. Open second page of the thread -> you're gone. Is it expected?
  6. ghostwolfling

    XF 2.0 Insert posts directly into database

    Could you please show me a simple class with a method to create a new reply in a thread? Or recommend some addon, that implements this functionality? I find it very difficult to understand XF's structure.
  7. ghostwolfling

    XF 2.0 Insert posts directly into database

    I want to add new posts to a thread using 3rd party application. The easiest way I can think of is inserting data directly into the database. What tables/records should I insert and update? xf_post is obvious, but it's not enough as I can see.
  8. ghostwolfling

    s9e Media Sites

    Please add telegram. https://t.me/durov/68 <script async src="https://telegram.org/js/telegram-widget.js?1" data-telegram-post="durov/68" data-width="100%"></script>
  9. ghostwolfling

    XF 2.0 Can I put XenForo phrases to nav/node titles?

    Sad to hear this, but thank you for the information.
  10. ghostwolfling

    XF 2.0 Can I put XenForo phrases to nav/node titles?

    Subj. I have several languages on my forum and I though it would be good to translate node titles and my custom nav items too.
  11. ghostwolfling

    [TH] Holidays

    Beautiful, my users like it. Mucho gracias.
  12. ghostwolfling

    s9e Media Sites

    Finally! Thanks.
  13. ghostwolfling

    Members recently online [Paid]

    Can I buy only this one addon? Not sure if I want to pay $25 for what I don't need.
  14. ghostwolfling

    Fixed Spoiler is not inserted when press enter on a keyboard

    Steps to reproduce: Open any thread. Go to the reply form. Insert -> Spoiler. Press enter on a keyboard. Result: spoiler is not inserted. Expected: spoiler should be inserted without the title. Workaround: click on the continue button, an empty spoiler will be inserted as expected. Happens...
  15. ghostwolfling

    Lack of interest XF2: Please make smiles list fixed size & scrollable

    If you have a lot of smiles, the list takes too much space, making very it uncomfortable to use, especially on the mobile devices. In XF1 this list had fixed height and was scrollable.
Top Bottom