Server Error Log
Error Info
ErrorException: Undefined index: - library/DigitalPointAdPositioning/ViewPublic/Thread/View.php:34
Generated By: Unknown Account, Thursday at 2:02 AM
Stack Trace
#0 /home/bill/public_html/library/DigitalPointAdPositioning/ViewPublic/Thread/View.php(34): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/bill/publ...', 34, Array)
#1 /home/bill/public_html/library/Tinhte/XenTag/XenForo/ViewPublic/Thread/View.php(5): DigitalPointAdPositioning_ViewPublic_Thread_View->renderHtml()
#2 /home/bill/public_html/library/XenForo/ViewRenderer/Abstract.php(215): Tinhte_XenTag_XenForo_ViewPublic_Thread_View->renderHtml()
#3 /home/bill/public_html/library/XenForo/ViewRenderer/HtmlPublic.php(67): XenForo_ViewRenderer_Abstract->renderViewObject('XenForo_ViewPub...', 'Html', Array, 'thread_view')
#4 /home/bill/public_html/library/XenForo/FrontController.php(533): XenForo_ViewRenderer_HtmlPublic->renderView('XenForo_ViewPub...', Array, 'thread_view', NULL)
#5 /home/bill/public_html/library/XenForo/FrontController.php(156): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#6 /home/bill/public_html/index.php(13): XenForo_FrontController->run()
#7 {main}
Request State
array(3) {
["url"] => string(94) "http://www.domain.com/threads/welcome.62636/page-3"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
No.Doesn't this addon allow you to pick and choose where ads are displayed on the forum homepage and other locations?
Well, I got help in another thread for this question I asked:I know you somewhat answered it earlier, but is there a way we can "hack" or modify this to exclude a certain style? As the other user stated, I'd also like to exclude the mobile style from using this. Or if there is an if condition based on style, to show an ad size based on style chosen.
In templates, the variable to check is
Code:{$visitorStyle.style_id}
In php (through a template listener) you can get this variable doing:
PHP:$style_session = $template->getParam('visitorStyle'); $styleId = $style_session['style_id'];
Edit: so the conditional in template would be:
X being a number (your styleid)Code:{xen:if "{$visitorStyle.style_id} == X", "Do this", "Else do that"}
or
Code:<xen:if is="{$visitorStyle.style_id} == X"> Do this <xen:else /> Do that <xen:if />
How about excluding a Forum/Node?Well, I got help in another thread for this question I asked:
Works perfectly now! Have the big ads in the regular skins and the mobiles ads on the mobile skin
Are you using XenTag by chance?I'm getting this error. No one pointed this out because I just had it enabled for guests. Then today I added it for members and admins, but when I go to certain threads (only certain threads, I can PM you if you would like to see the 2 threads I've found that it does it on), I get this error:
Fatal error: Method XenForo_BbCode_TextWrapper::__toString() must not throw an exception in /home/*****/public_html/forums/library/DigitalPointAdPositioning/ViewPublic/Thread/View.php on line 29
No.Are you using XenTag by chance?
http://xenforo.com/community/resources/custom-bb-code-manager.173/Do you have any addons that add custom BBCode? If so, which ones?
Yeah, I'll check it out in a bit and report back. Thanks for your help.Just as a test can you see if disabling that one for a minute makes the error go away?
We use essential cookies to make this site work, and optional cookies to enhance your experience.