Jump to content

newbie LAC

Members
  • Posts

    5,244
  • Joined

  • Days Won

    40

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by newbie LAC

  1. Hello,

    17 hours ago, mark2012 said:

    Im trying to add a new html ad

    for a particulary subforum (id 11) for all topics included here and i have this extra conditio

    {{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}}

     

  2. 12 hours ago, Arman Galstyan said:

    Will I be able to read the value of the topic_meta_data?

    Yes

    12 hours ago, Arman Galstyan said:

    what the statement will look like?

    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}}
  3. 4 hours ago, Arman Galstyan said:

    Can you please tell me what that if statement would look like? I am not sure as it is my understanding that the meta field from the topics table can contain multiple values. Is the value stored in the meta field of the topic table an array or a variable? And if array how would the if statement in the app access it?

    Which field do you mean?

    The topic meta data (topic messages, featured comments) is stored in the core_content_meta table

  4. 10 hours ago, Arman Galstyan said:

    Is it possible to set individual threads not to display ads, display from different network?

    Adsense is very strict about user generated content and it would be helpful to disable adsense on topics that violate their TOS.

    Thank you.

    Hello,

    You can use conditions

  5. 37 minutes ago, mark2012 said:

    30,55,80,105,130,155,180,205,230

    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

  6. 30 minutes ago, breatheheavy said:

    Hey there @newbie LAC I'm having a little issue. When I add anything to either Mobile or Tablet, it won't save. Instead, it takes me to a 404 page. Any idea why this could be happening?

    Hello,

    I can not reproduce.

    1. What url does the 404 page have?

    2. Have you tried use simple text instead of html?

  7. Hello,

    10 hours ago, livegames.co.il said:

    Can I force the user to submit two tags overall?
    I mean - One tag manually entered, and the second from the app tag group?

    The application adds the boxes with tags. You can still add tags manually.

  8. Hello,

    I'm sorry about that.

    1 hour ago, Paul E. said:

    Why is this a thing? I don't see it documented anywhere. For those of you with it installed, check your FURL configuration.

    https://invisioncommunity.com/files/file/8198-nb41-enhanced-advertisements/?changelog=19306

    Quote

    What's New in Version 1.0.9   

    Released November 30, 2018

    • Bug fixes
    • Added simple stats on public side

    ------------------------------------------------------------------------------

    1 hour ago, Paul E. said:

    Disabling application access via permissions is a workaround, yet why is this here?

     

    1 hour ago, jesuralem said:

    Plus to disable it you have to take the app offline (i have to say i thought it would mask all my ads...).

    You can disable the module

    Quote

    Module permissions

     

  9. 1 hour ago, Joey_M said:

    However, since updating the markers added by CSS have moved. I need to change the 1_x part again. Should I be using a different method now in order to keep the markers/dashes permanently in place?

    Please explain which teams do you want highlight?

  10. 1 hour ago, Joey_M said:

    I can't get it to work, I thought the custom.css might be missing a "}" but it seems fine.

    All your teams has position zero (0)

    1 hour ago, Joey_M said:

    Are these in the language file?

    Could you tell me the string or whatever it is in order to find them.

    Yes. Search by nbFootballWidgetTables_circle_win

  11. 1 hour ago, Nexus_Web_Media said:

    In forum view when box with tags is displayed actually you can choose all tags for filtering. So when you have many tags then we have large query to database. So it will be very helpful when will be possibility to limit choosen tags. Example: in box you have 100 tags but user can have active only 5 tags. User can't choose more tags until he unclick clicked before.

    Thanks for clarification.

    I added this in TODO list.

×
×
  • Create New...