reviewmylife
Forum Replies Created
-
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Ads in archives and homepageHi candy32, You can use the ‘template ad’ feature (see the FAQ linked on the right) to get ads on the archives and home page (ads in-between posts aren’t supported from the UI). This along with that tutorial you’ve linked should be enough for you to get started as long as you are comfortable doing some PHP coding in your template. Good luck!
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] ONLY 3 ADS showing upHi arun9020, Are you using AdSense? Have you read their usage policies? You are only allowed 3 AdSense units per page.
If you are using another type of advert turn on Ad Injection’s debug mode, and send me a link to your site and I’ll have a look.
Forum: Fixing WordPress
In reply to: Ads aren't showing up completelyHi Colby, sorry I didn’t see your post. I get auto notified about most posts in this forum, but not for this one ??
Glad you found a solution – even if it is another plugin.
If you do want to try Ad Injection in the future again I’d be happy to look into the problem, but it is likely I’ll only be able to look at the weekends, as I’ve just started a new job!
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] How to start the rotation??!!!Hi suher, Did you set both ads to 50?
Do you have a caching plugin installed? Which one? If so you might be seeing on cached version of the ad. If you have a caching plugin installed and want to use rotation you should use ‘mfunc’ mode instead of ‘direct’ mode.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Place adds on Category ArchiveHi gffb, The top/random/bottom positions insert posts or pages. They won’t appear in archive pages.
WordPress does not include hooks to insert content at these positions.
If you are willing to modify your theme template you can use Ad Injection’s ‘template ads’ feature to put ads in these positions. See the FAQ for details.
Hi MomDad, The only reason I didn’t put the table tag in this time is because I didn’t think of it!
That’s a really good idea and I’ll definitely add the table tag in the next version. Are there any other tags that would be useful?
About your last request – I wish I could implement all suggestions, but due to limited time I can only do selected ones. This one I can do very soon as it is a good idea and will only take a few minutes. Your other suggest I can’t do at the moment – it is a good idea, but it is a lot more complex. It may still get done – but it won’t be soon.
The next update with the table exclusion will probably be in a few weeks time.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Filter Ads From Parent & Child PagesHi 4020, there isn’t an automatic way to exclude ads from child pages right now.
The only ways you could exclude the pages would be via post id, tag, category, or custom field.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Designate Ad-free zones for random-adsHi contraProduct,
It certainly is possible. You can use the
<!--adinj_exclude_start--><!--adinj_exclude_end-->
tags to mark out ‘no ads’ areas.There is also a tick box (in ‘other ad placement settings’) which will prevent ads from appearing in pre and blockquote blocks.
In the next version of Ad Injection there will also be tick boxes to prevent ads from appearing in ol/ul and form blocks.
From the UI you can also define the paragraphs where the ads start or end.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Custom post typesHi KyleGM, This is a good idea and I’ve put it on my future list. In the mean time you could use one of the other filtering methods to prevent ads from appearing on those pages (filter by categories, tags, id).
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Remove ads on specific pagesHi word6w, Ad Injection can only manage the ads that you set up with the plugin. It can’t manage any ads that you have put into your theme settings.
You’ll need to paste the AdSense code into Ad Injection’s ad boxes for it to manage them.
Hi exploremarsgreg, I’ve written about how to do this in the ‘Randomly picking many adverts from a pool of ads’ section of https://www.advancedhtml.co.uk/advert-by-wordpress-post-category/
You’ll have to put a bit of PHP code into the ad box and then store all the ads as txt files on your web server.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Ad FilteringHi xaotikdesigns, As you’ve spotted you could do this using a top ad for one and a bottom ad for the other. That isn’t ideal though.
You can fully support this using widget ads but it sounds like you want to do it for in-content ads.
Your only other option would be to use PHP in the ad boxes to differentiate between the categories (there are some examples in the FAQ). This will only work in direct insertion mode – not mfunc mode.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Doesn't Inject Random Ads if MissingHi Tim, There is a PayPal donate box on the Ad Injection UI (on the right a little bit down the page) if you do want to donate something. Glad the fix worked. It will be released into the main plugin soon, but just keep using your patched version of Ad Injection until you see the next update.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Doesn't Inject Random Ads if MissingHi Tim,
If I look at the source of that page I see
<!– Cached page generated by WP-Super-Cache on 2012-05-20 18:28:18 –>
So this page hasn’t been cleared from the cache since you made the change.
If I force the page to regenerate by passing in a fake URL parameter then I see three adverts after the video.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Doesn't Inject Random Ads if MissingHi Tim, Thanks for that. I think I have a fix. If you want to try it replace the block starting from line 1219 of ad-injection.php with the code below. This fix will be in the next release (probably in the next few weeks).
$length = $content_length; $conditionlength = $ops[$prefix.'no_random_ads_if_shorter_than']; if (!adinj_rule_disabled($conditionlength) && adinj_true_if($length, '<', $conditionlength)){ $debug .= "\nNo random ads because post length < $conditionlength"; return 0; } $conditionlength = $ops[$prefix.'one_ad_if_shorter_than']; if (!adinj_rule_disabled($conditionlength) && adinj_true_if($length, '<', $conditionlength)){ $debug .= "\nOnly 1 random ad because post length < $conditionlength"; return 1; } $conditionlength = $ops[$prefix.'two_ads_if_shorter_than']; if (!adinj_rule_disabled($conditionlength) && adinj_true_if($length, '<', $conditionlength)){ $debug .= "\nLimit on random ads because post length < $conditionlength"; return min(2, $max_num_rand_ads_to_insert); } $conditionlength = $ops[$prefix.'three_ads_if_shorter_than']; if (!adinj_rule_disabled($conditionlength) && adinj_true_if($length, '<', $conditionlength)){ $debug .= "\nLimit on random ads because post length < $conditionlength"; return min(3, $max_num_rand_ads_to_insert); } return $max_num_rand_ads_to_insert; }