jesuralem Posted November 18, 2020 Posted November 18, 2020 10 minutes ago, Paul E. said: This application creates a page that is available to anyone by default with statistics involving ad impressions. Why is this a thing? I don't see it documented anywhere. For those of you with it installed, check your FURL configuration. Disabling application access via permissions is a workaround, yet why is this here? i honestly don't care but i have to say i agree with you, this is both useless and unexpected. Plus to disable it you have to take the app offline (i have to say i thought it would mask all my ads...).
newbie LAC Posted November 18, 2020 Author Posted November 18, 2020 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
CoffeeCake Posted November 18, 2020 Posted November 18, 2020 Thanks for the insight, newbie LAC. I don't understand what it is, or why it exists. It has untranslated strings, and it is turned on without granting it access, potentially exposing privileged information about advertising campaigns and impressions without any advance indication it would do so. I'd encourage you to reconsider turning on something like this only as an explicit opt-in. Sonya* 1
Guest Posted December 7, 2020 Posted December 7, 2020 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? Video: https://streamable.com/cnj2k9 Here are some template errors I have in my logs. Not sure if it's significant. Error: Call to undefined method IPS\forums\Forum::canChangeThumb() in /home/breatheh/public_html/exhale/system/Theme/Theme.php(860) : eval()'d code:61 Stack trace: #0 /home/breatheh/public_html/exhale/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_tthumb_front_widgets->tthumbWidget(Array, '45d3cc77f5fa63b...', Array, 'horizontal') #1 /home/breatheh/public_html/exhale/applications/tthumb/widgets/tthumbWidget.php(122): IPS\Theme\_SandboxedTemplate->__call('tthumbWidget', Array) #2 /home/breatheh/public_html/exhale/system/Content/Widget.php(521): IPS\tthumb\widgets\_tthumbWidget->output(Array, '45d3cc77f5fa63b...') #3 /home/breatheh/public_html/exhale/system/Widget/Widget.php(826): IPS\Content\_Widget->render() #4 /home/breatheh/public_html/exhale/system/Widget/Widget.php(889): IPS\_Widget->_render() #5 /home/breatheh/public_html/exhale/system/Theme/Theme.php(860) : eval()'d code(18257): IPS\_Widget->__toString() #6 /home/breatheh/public_html/exhale/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer('footer', 'horizontal') #7 /home/breatheh/public_html/exhale/system/Theme/Theme.php(860) : eval()'d code(6648): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array) #8 /home/breatheh/public_html/exhale/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('BreatheHeavy.co...', '\n<div id="elCms...', Array) #9 /home/breatheh/public_html/exhale/system/Dispatcher/Dispatcher.php(172): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #10 /home/breatheh/public_html/exhale/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish() #11 /home/breatheh/public_html/exhale/system/Dispatcher/Front.php(640): IPS\Dispatcher\_Standard->finish() #12 /home/breatheh/public_html/exhale/system/Dispatcher/Dispatcher.php(154): IPS\Dispatcher\_Front->finish() #13 /home/breatheh/public_html/exhale/index.php(13): IPS\_Dispatcher->run() #14 {main} #0 /home/breatheh/public_html/exhale/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(Error), 'template_error') #1 /home/breatheh/public_html/exhale/applications/tthumb/widgets/tthumbWidget.php(122): IPS\Theme\_SandboxedTemplate->__call('tthumbWidget', Array) #2 /home/breatheh/public_html/exhale/system/Content/Widget.php(521): IPS\tthumb\widgets\_tthumbWidget->output(Array, '45d3cc77f5fa63b...') #3 /home/breatheh/public_html/exhale/system/Widget/Widget.php(826): IPS\Content\_Widget->render() #4 /home/breatheh/public_html/exhale/system/Widget/Widget.php(889): IPS\_Widget->_render() #5 /home/breatheh/public_html/exhale/system/Theme/Theme.php(860) : eval()'d code(18257): IPS\_Widget->__toString() #6 /home/breatheh/public_html/exhale/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->widgetContainer('footer', 'horizontal') #7 /home/breatheh/public_html/exhale/system/Theme/Theme.php(860) : eval()'d code(6648): IPS\Theme\_SandboxedTemplate->__call('widgetContainer', Array) #8 /home/breatheh/public_html/exhale/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('BreatheHeavy.co...', '\n<div id="elCms...', Array) #9 /home/breatheh/public_html/exhale/system/Dispatcher/Dispatcher.php(172): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #10 /home/breatheh/public_html/exhale/system/Dispatcher/Standard.php(113): IPS\_Dispatcher->finish() #11 /home/breatheh/public_html/exhale/system/Dispatcher/Front.php(640): IPS\Dispatcher\_Standard->finish() #12 /home/breatheh/public_html/exhale/system/Dispatcher/Dispatcher.php(154): IPS\Dispatcher\_Front->finish() #13 /home/breatheh/public_html/exhale/index.php(13): IPS\_Dispatcher->run() #14 {main} Any help would be greatly appreciated. Btw my version is up to date.
newbie LAC Posted December 7, 2020 Author Posted December 7, 2020 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?
Guest Posted December 7, 2020 Posted December 7, 2020 9 hours ago, newbie LAC said: Hello, I can not reproduce. 1. What url does the 404 page have? 2. Have you tried use simple text instead of html? Yes it takes me to this page that results as a 404: https://www.breatheheavy.com/exhale/admin/?app=core&module=promotion&controller=advertisements&do=form&id=75 And also if I insert just a letter, like "x" it will save. But if I try adding HTML it "breaks."
Guest Posted December 7, 2020 Posted December 7, 2020 @newbie LAC Just found out what the issue it was. It was related to modsecurity. My server manager disabled it and it fixed the issue =] Sorry about that!
virap Posted December 18, 2020 Posted December 18, 2020 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.
newbie LAC Posted December 19, 2020 Author Posted December 19, 2020 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
virap Posted December 19, 2020 Posted December 19, 2020 Can the condition be a variable from the meta field of topics table?
newbie LAC Posted December 20, 2020 Author Posted December 20, 2020 16 hours ago, Arman Galstyan said: Can the condition be a variable from the meta field of topics table? You can load the topic object and use the field if it available,
virap Posted December 20, 2020 Posted December 20, 2020 17 hours ago, newbie LAC said: You can load the topic object and use the field if it available, 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? Sorry I am new this all and want to make sure the app can do what I look for before I buy it. Thank you.
newbie LAC Posted December 21, 2020 Author Posted December 21, 2020 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
virap Posted December 21, 2020 Posted December 21, 2020 I mean the topic_meta_data field of forums_topics table
newbie LAC Posted December 21, 2020 Author Posted December 21, 2020 1 hour ago, Arman Galstyan said: I mean the topic_meta_data field of forums_topics table That column contains 0 (topic hasn't meta data) or 1 (topic has meta data)
virap Posted December 22, 2020 Posted December 22, 2020 On 12/21/2020 at 10:18 AM, newbie LAC said: That column contains 0 (topic hasn't meta data) or 1 (topic has meta data) wonderful. Will I be able to read the value of the topic_meta_data? what the statement will look like? I can setup my robot to flag topics where ads need to appear by setting topic_meta_data=2 If you app can read that value then I am all set and ready to purchase and implement.
newbie LAC Posted December 23, 2020 Author Posted December 23, 2020 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}} virap 1
virap Posted December 23, 2020 Posted December 23, 2020 7 hours ago, newbie LAC said: 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}} Thank you very much for explaining and answering. Will be purchasing today.
virap Posted December 24, 2020 Posted December 24, 2020 (edited) please ignore this. all worked out. Edited December 24, 2020 by Arman Galstyan
mark2012 Posted January 1, 2021 Posted January 1, 2021 (edited) Hi Im trying to add a new html ad for a particulary subforum (id 11) for all topics included here and i have this extra condition : {{if request.app == 'forums' and request.module == 'forums' and request.controller == 'forums' and in_array(request.id, array(11))}}1{{endif}} with custom css : .cPost:nth-child(9n) with Insert ad after chosen element but the advert does not shows up. Whats wrong with my extras condition ?? Edited January 1, 2021 by mark2012
mark2012 Posted January 1, 2021 Posted January 1, 2021 I also tried with this extra condition: {{if isset(\IPS\Output::i()->hiddenElements['nbenhadverts_node_class']) and \IPS\Output::i()->hiddenElements['nbenhadverts_node_class'] instanceof \IPS\forums\Forum and \IPS\Output::i()->hiddenElements['nbenhadverts_node_id'] == 11}} 1 {{endif}} and still the ad does not shows up
newbie LAC Posted January 2, 2021 Author Posted January 2, 2021 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}}
Guest Posted January 14, 2021 Posted January 14, 2021 @newbie LAC Hi there! Wondering... would it be possible in a future update to add a placement spot? I'd be interested to see if we could populate an ad at the very very top of the page (before the login/navigation section). That is the most-visible spot for an ad and tends to perform better. I know it doesn't provide a better UX, but I'd still be curious to see how it could function and perhaps generate more revenue. Example 🙂
mark2012 Posted February 3, 2021 Posted February 3, 2021 (edited) On 1/2/2021 at 8:40 AM, newbie LAC said: 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}} newbie what Custom CSS and position should i have in orderd to display an html advert after 15 th post in all pages from a topic This one: .cPost:nth-child(15n) is not working all fixed Edited February 7, 2021 by mark2012
Christ30 Posted March 1, 2021 Posted March 1, 2021 Hello, Clicks counter is enable, but the stats have no data. Something to do ?
Recommended Posts