Coder Social home page Coder Social logo

elk-simple-ads's People

Contributors

spuds avatar

Watchers

 avatar  avatar  avatar  avatar

elk-simple-ads's Issues

Call to undefined method ManageAds_Controller

Hello dear developers,
I want to use this plugin, but this error message appears when you add an ad in the back end.

Fatal error: Call to undefined method ManageAds_Controller :: _ check errors () in on line 272 /www/htdocs/xxxxxxxxx/elkarteforum.wpzweinull.ch/sources/admin/ManageAds.controller.php

Can you tell me there might help to resolve the error? Thank you in advance.

I have PHP 5.5 and the latest version of MySQL and use ElkArte 1.0.4.

You left the name field empty - ElkArte 1.0.4

Hello dear developers,
I have just installed the latest plug-in version, but when I create an ad, this error message appears.

You left the name field empty.

I wanted to use Google Adsense and have entered the name of the ad in the Name box and then simply inserted the Adsense code. Am I doing this wrong?

Would be good if you could help me. Thank you in advance.

ads not showing

I'm using ElkArte 1.0.5 and I installed the addons without issues. I created the add in the right positions but its not showing in the forum. Any idea why?

Warning: count(): Parameter must be an array or an object that implements Countable

I get some errors in elkarte log (elkarte 1.1.3, PHP 7.2)
file sources/subs/Ads.subs.php line 303

`

287: {
288: global $user_info;
289: static $group_cache;
290:  
291: $cache_key = $allowed . $denied;
292:  
293: if (!isset($group_cache[$cache_key]))
294: {
295: $allowed = !empty($allowed) ? explode(',', $allowed) : array();
296: $denied = !empty($denied) ? explode(',', $denied) : array();
297:  
298: $is_allowed = false;
299: if (count(array_intersect($user_info['groups'], $denied)) > 0)
300: {
301: $is_allowed = false;
302: }
303: elseif (count(array_intersect($user_info['groups'], $allowed)) > 0)
304: {
305: $is_allowed = true;
306: }
307:  
308: $group_cache[$cache_key] = $is_allowed;
309: }
310:  
311: return $group_cache[$cache_key];
312: }

`
and also on line 299 Warning: array_intersect(): Argument #1 is not an array

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.