1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

User Profile - Prefixed Threads [Paid] 1.2.2

Add tabs to user profiles that contain threads they started with a certain prefix.

  1. Daniel Hood

    Daniel Hood Well-Known Member

    Daniel Hood submitted a new resource:

    User Profile - Prefixed Threads - Add tabs to user profiles that contain threads they started with a certain prefix.

    Read more about this resource...
     
  2. imthebest

    imthebest Formerly Super120

    Good idea!

    A suggestion: implement an option to list (in a tab) threads posted by the member on a specific node. In other words, node filtering apart of prefix filtering.
     
  3. Daniel Hood

    Daniel Hood Well-Known Member

    It was kind of unintentional, but that can already be done by choosing nodes and leaving the prefix empty.
     
    Last edited: Jun 23, 2015
    imthebest likes this.
  4. imthebest

    imthebest Formerly Super120

    That's good to hear!

    I have been testing your add-on on @electrogypsy's forum and I notice that when there are no threads to display you are still showing the tabs. For example check tabs Photos, Videos o Resources here: https://squattheplanet.com/members/cosmicbrothacam.11347/

    Is that intentional? Maybe if there are no threads to list then you should not display the tab?
     
  5. Daniel Hood

    Daniel Hood Well-Known Member

    That could result in entirely too many queries. Right now there are no scalability issues, you can have 100 tabs if you want. If I were to include checks on what to display it could hurt performance big time. Essentially adding one query per tab.
     
  6. imthebest

    imthebest Formerly Super120

    Well I was asking because that's the default behavior of XF tabs like Warnings and even XFMG tabs like Media and Albums, for all the three cases when there is no content to show the tabs aren't present. I can see however that tabs related to threads like Recent Activity and Posting are always shown and that might be due to the performance constraints that you have explained.

    Maybe you might (if you want... and in a future release) include an option to not show the tab if there is no content to display - obviously leaving a note telling that enabling that option might decrease performance.

    By the way in my case I would like to add a single tab for my Marketplace node where the following prefixes exists: WTS and WTB. So I would choose the Marketplace node and leave the prefix empty so both WTS and WTB threads are going to be listed on the tab. The question is: considering that I'm going to add a single tab, is that single query (the one that will prevent the tab to be shown if there are no threads to display) still going to be too server intensive?
     
    Last edited: Jun 24, 2015
    Daniel Hood likes this.
  7. Daniel Hood

    Daniel Hood Well-Known Member

    I understand why you were asking. Having the option with a warning is a possibility.
     
    imthebest likes this.
  8. Daniel Hood

    Daniel Hood Well-Known Member

  9. imthebest

    imthebest Formerly Super120

    Question: do it shows closed threads, too? I mean for example I have a Classifieds node with two prefixes: WTS and WTB. I would leave the prefix empty and choose the Classifieds node so in a single tab I'll have both WTS and WTB threads listed. However on the Classifieds node those "finished" threads are closed. It would not make sense to list them in the tab.
     
  10. Daniel Hood

    Daniel Hood Well-Known Member

    It will show closed threads. Something you can do though is move all closed threads to an archived sub forum or something like that.

    It's be possible to modify the current code to fit your needs but I don't think that's a very popular desire so making it the default function wouldn't be ideal.

    If you'd like to fund the development of making it an option, that is something we could work out.
     
  11. Terror

    Terror Active Member

    hi, i think i found a bug:

    this tabs show moderated threads to people who should not be able to see it too.

    can you fix this please?
     
  12. Xon

    Xon Well-Known Member

  13. Xon

    Xon Well-Known Member

  14. Xon

    Xon Well-Known Member

  15. Xon

    Xon Well-Known Member

  16. Xon

    Xon Well-Known Member

  17. Xon

    Xon Well-Known Member

  18. Xon

    Xon Well-Known Member

  19. Xon

    Xon Well-Known Member

  20. Xon

    Xon Well-Known Member

Share This Page