Ads Manager 2 by Siropu

Ads Manager 2 by Siropu [Paid] 2.5.8

No permission to buy (€49.99)
I was getting the 'upload Maxmind database to dismiss' notice. Uploaded the GeoLite2-City.mmdb file to src/addons/Siropu/AdsManager/Vendor/MaxMind, and am now getting db errors in XF:

Error opening database file (/src/addons/Siropu/AdsManager/Vendor/MaxMind/GeoLite2-City.mmdb). Is this a valid MaxMind DB file?
src/addons/Siropu/AdsManager/Vendor/MaxMind/maxmind-db/reader/src/MaxMind/Db/Reader.php:254

What am I missing here?
 
You can place this in a XF controller and run it once.
I've tried putting this in many different files such as Help and some Controller and some used by cron jobs, but none of them execute and I get a visual error of:
Code:
LogicException: Unknown field 'showAds' in src/XF/CustomField/Set.php at line 139
[LIST=1]
[*]XF\CustomField\Set->set() in src/XF/CustomField/Set.php at line 255
[*]XF\CustomField\Set->__set() in src/XF/Pub/Controller/Help.php at line 133
[*]include() in src/vendor/composer/ClassLoader.php at line 444
[*]Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 322
[*]Composer\Autoload\ClassLoader->loadClass()
[*]spl_autoload_call()
[*]class_exists() in src/XF/Container.php at line 261
[*]XF\Container->createObject() in src/XF/App.php at line 1478
[*]XF\App->XF\{closure}() in src/XF/Container.php at line 228
[*]XF\Container->create() in src/XF/App.php at line 2623
[*]XF\App->controller() in src/XF/Mvc/Dispatcher.php at line 289
[*]XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
[*]XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
[*]XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
[*]XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184
[*]XF\App->run() in src/XF.php at line 391
[*]XF::runApp() in index.php at line 20
[/LIST]

Do you recommend a specific file to put it in, where, and how to execute it? Otherwise, I'll have to look into a custom PHP script / MySQL loop to touch the database, which I really wouldn't want to do.

I hope that you eventually build 'no selection' into user criteria to avoid all of this for future user criteria definitions for ads though, otherwise, they'd always be in limbo for older members when or if a new user field is created to be used in this add on.
 
I don't but I guess I have to start writing one. :) If you have any questions, you can open a support ticket or send me a PM.
 
It's fairly straightforward and does so many different things, depending on your needs. We have it set up strictly to rotate ads that vendors can buy, and it works very well for that.

We created a "package" that has the sizes we will allow, the number of ads we allow, the type of ad (banner), prices, where the banners will be displayed, etc. We set up specific users to have access to use the ADS MANAGER menu on the top bar. (In our case, we add them to a group manually, for access, because we are selective about who may advertise)

I have a second set of ads that I set up for our forum, for internal use, to rotate holiday graphics on the top header of the forum. I have a third set up to put an ad on the widget bar, too, which we do not sell but use for internal things.

That's pretty much it, and it works very well. It can do so much more, we are barely scratching the surface.
 
Back
Top Bottom