Recent content by peregm

  1. peregm

    XF 2.1 Implement Tags to Entity

    Hi there! I want to implement the usage of Tags for my custom entity, just like you can do with Threads. I've been doing some research reading the code that is used when creating a Thread, and so far this is what I got: * I am assuming that my new Entity is called Attachment, and its...
  2. peregm

    XF 2.1 Macro layouts with child content

    Okay, answering my own question because I've actually found a working solution. What I did is enclose my content inside an <xf:set> tag and simply passed the variable to my macro. I really didn't know you could do that! So here's what I finally have, in case anyone wonders: <xf:set...
  3. peregm

    XF 2.1 Macro layouts with child content

    Hi there! I really didn't know how to phrase this, so maybe the title does not have any sense at all, but here is what I'm meaning: Is it possible to have a macro that includes the content specified between the macro tags? Here's an example: Assume I have this macro defined in my test_macros...
  4. peregm

    XF 2.1 Exhausted memory when looping through finder items

    Nice!! That's what I was missing 😅 Thank you for the quick help!
  5. peregm

    XF 2.1 Exhausted memory when looping through finder items

    Hello there! I've been developing some add-ons for my forum and I've been struggling when working with large quantities of data. The thing is I have some data that I must process (let's say over 13,000,000 entries) one by one and do some actions with them. For the sake of the example, let's...
Top Bottom