Resource icon

Ads Manager 2 by Siropu [Paid] 2.0.6

No permission to buy (€49.99)

Sunka

Well-known member
Another one bug

Sticky thread prefix is not showing at all.

Maybe is connected with enabled prefixes for that node, but if that is true, what is purpose to show and choose from all prefixes on forum?
 
Last edited:

Sunka

Well-known member
Maximum ad title length is not working, also Maximum keyword description length not working.
I did not tried is it working for Maximum ad description length and Maximum words in a keyword
 

Siropu

Well-known member
Also, custom banner position above content - if aligment is center, still shows left (auto aligment is left too).
Custom banner position below content - if aligment is center, not showing at all (if auto is set, then is showed left aligment).
Have you reverted back the template siropu_ads_manager_ad.less?

Another bug, clone package is not working (click on it, nothing executed)
This feature is not even implemented. I've totally forgot about it. :)
 

Sunka

Well-known member
Also, custom banner position above content - if aligment is center, still shows left (auto aligment is left too).
Custom banner position below content - if aligment is center, not showing at all (if auto is set, then is showed left aligment).
Have you reverted back the template siropu_ads_manager_ad.less?
Yep, template is reverted.
I tried setup banners again, and my fault was for no showed banner in position below content, but all other stay.
Aligment for both position is always left, even I set it to auto, center or right, they always stay on left side
 
Hello Siropu :)

There's a little error when I want to view a messages which has been edited in the edit-history : http://prntscr.com/iozorh
Here is the error:
Code:
ArgumentCountError: Too few arguments to function Siropu\Chat\EditHistory\Message::getBreadcrumbs(), 0 passed in /home/realityg/public_html/src/addons/Siropu/AdsManager/Template/Ad.php on line 72 and exactly 1 expected
src/addons/Siropu/Chat/EditHistory/Message.php:29

#0 src/addons/Siropu/AdsManager/Template/Ad.php(72): Siropu\Chat\EditHistory\Message->getBreadcrumbs()
#1 src/addons/Siropu/AdsManager/Listener.php(25): Siropu\AdsManager\Template\Ad->__construct(Object(XF\Pub\App), Object(XF\Mvc\Reply\View))
#2 [internal function]: Siropu\AdsManager\Listener::templaterGlobalData(Object(XF\Pub\App), Array, Object(XF\Mvc\Reply\View))
#3 src/XF/Extension.php(67): call_user_func_array(Array, Array)
#4 src/XF/App.php(2350): XF\Extension->fire('templater_globa...', Array, NULL)
#5 src/XF/App.php(1660): XF\App->fire('templater_globa...', Array)
#6 src/XF/App.php(1550): XF\App->getGlobalTemplateData(Object(XF\Mvc\Reply\View))
#7 src/XF/Pub/App.php(350): XF\App->preRender(Object(XF\Mvc\Reply\View), 'json')
#8 src/XF/Mvc/Dispatcher.php(280): XF\Pub\App->preRender(Object(XF\Mvc\Reply\View), 'json')
#9 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#10 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}
 
Got 77 errors after creating a banner ad and used the HTML OPTION to place adsense code.

  • ErrorException: Template error: array_sum() expects parameter 1 to be array, null given
  • src/addons/Siropu/AdsManager/Template/Ad.php:467
  • ErrorException: Template error: mt_rand(): max(0) is smaller than min(1)
  • src/addons/Siropu/AdsManager/Template/Ad.php:467
etc...
 
Getting this error while attempting to install Ads Manager 2.0.0-beta6
PHP Fatal error: Class '\Siropu\Setup' not found in ...../src/XF/AddOn/AddOn.php on line 452
 
Anyone can answer this (not just Siropu), is there a preferred method of banner view counts?

View count method:
When ad is viewed
When ad is loaded

What do most people use? I'm new to publishing banners and would like to know what potential banner buyers might want to see.
Thanks
 

Siropu

Well-known member

duderuud

Well-known member
Thanks for the update.

After updating I'm getting these errors in the logs:
Code:
ErrorException: [E_NOTICE] Undefined index: siropuAdsManagerPositionVisualization
src/addons/Siropu/AdsManager/Template/Ad.php:299

Stack trace

#0 src/addons/Siropu/AdsManager/Template/Ad.php(299): XF::handlePhpError(8, '[E_NOTICE] Unde...', 's...', 299, Array)
#1 src/addons/Siropu/AdsManager/Listener.php(30): Siropu\AdsManager\Template\Ad->getPositionsForPreview()
#2 [internal function]: Siropu\AdsManager\Listener::templaterGlobalData(Object(XF\Pub\App), Array, Object(XF\Mvc\Reply\View))
#3 src/XF/Extension.php(67): call_user_func_array(Array, Array)
#4 src/XF/App.php(2352): XF\Extension->fire('templater_globa...', Array, NULL)
#5 src/XF/App.php(1662): XF\App->fire('templater_globa...', Array)
#6 src/XF/App.php(1552): XF\App->getGlobalTemplateData(Object(XF\Mvc\Reply\View))
#7 src/XF/Pub/App.php(350): XF\App->preRender(Object(XF\Mvc\Reply\View), 'html')
#8 src/XF/Mvc/Dispatcher.php(280): XF\Pub\App->preRender(Object(XF\Mvc\Reply\View), 'html')
#9 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#11 src/XF.php(328): XF\App->run()
#12 index.php(13): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state

array(4) {
  ["url"] => string(1) "/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Top