Mr Lucky
Well-known member
Perfect, that was it! Thanks.Just disable lazy loading in admin options.
Perfect, that was it! Thanks.Just disable lazy loading in admin options.
Thanks,It is up to you to decide.
not yet.By default, backgrounds ads are displayed on the side. Have you tested it yourself?
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
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:You can place this in a XF controller and run it once.
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]
It's there but only 2 users. One user has it checked while the other user doesn't.You have to create a custom field called "showAds" with "Field is required" checked.
Got it working, thanks. I realized I put it as a "number" (0 & 1) for no/yes and not as no/yes for the value. Worked flawlessly.You have to create a custom field called "showAds" with "Field is required" checked.
We use essential cookies to make this site work, and optional cookies to enhance your experience.