Jump to content

newbie LAC

Members
  • Joined

  1. StreamGro started following newbie LAC
  2. tragopan started following newbie LAC
  3. Sirmadsen started following newbie LAC
  4. sulervo started following newbie LAC
  5. Viktor Levytskyi started following newbie LAC
  6. Linux-Is-Best started following newbie LAC
  7. Junior Space Force started following newbie LAC
  8. My Sharona started following newbie LAC
  9. newbie LAC started following Aleksandr72
  10. Aleksandr72 started following newbie LAC
  11. Hello, I don't know. Do you have the same issue with other custom widgets?
  12. Hello, Yes I cleaned my PM box
  13. Hello, This will require additional coding
  14. Hello, {{if request.app == 'forums' and request.module == 'forums' and request.controller == 'topic' and isset(\IPS\Output::i()->hiddenElements['nbenhadverts_node_class']) and \IPS\Output::i()->hiddenElements['nbenhadverts_node_class'] == 'IPS\forums\Forum' and \IPS\Output::i()->hiddenElements['nbenhadverts_node_id'] == 11}}1{{endif}}
  15. Hello, I sell the files only on marketplace. Ask IPS via ticket.
  16. Yes Show the advert if the topic_meta_data value is 1 {{if request.app == 'forums' and request.module == 'forums' and request.controller == 'topic'}} {{$topic = \IPS\Output::i()->hiddenElements['nbenhadverts_item_item'];}} {{if $topic and $topic->topic_meta_data == 1}} 1 {{endif}} {{endif}}
  17. That column contains 0 (topic hasn't meta data) or 1 (topic has meta data)
  18. Which field do you mean? The topic meta data (topic messages, featured comments) is stored in the core_content_meta table
  19. You can load the topic object and use the field if it available,
  20. Hello, You can use conditions
  21. newbie LAC replied to newbie LAC's post in a topic in Marketplace
    I can not reproduce. Where did you add the code? I added in core - global - plugins - nbPinnedPostsSeparators
  22. newbie LAC replied to newbie LAC's post in a topic in Marketplace
    Hello, I guess you can use conditions + css {{if request.page > 2}} <style> #nbPinnedSeparatorTop, #nbPinnedSeparatorBottom, .cNbPinnedPost { display: none; } </style> {{endif}}
  23. Hello, The plugin displays the adverts on mobile.
  24. https://invisioncommunity.com/forums/topic/421457-nb40-ads-after-x-posts/?do=findComment&comment=2689291
  25. The plugin will not display advert after those posts. ------------------------------------------------------------------------ Looks like you want to show the advert after 5th post because 5 -> 1st page 5th post 30 -> 2nd page 5th post 55 -> 3rd page 5th post 80 -> 4th page 5th post 105 -> 5th page 5th post 130 -> 6th page 5th post 155 -> 7th page 5th post 180 -> 8th page 5th post 205 -> 9th page 5th post 230 -> 10th page 5th post If so check the Every page