reviewmylife
Forum Replies Created
-
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Injecting a .php file?Hi Fking, What PHP inclusion plugin are you using?
Instead of using these tags, try using actual PHP. e.g.
<?php include 'ad.php'; ?>
That should get executed by Ad Injection directly rather than relying on your other plugin.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Injecting a .php file?I don’t quite understand your question.
But what you need to do is to have your PHP plugin run after the Ad Injection plugin. This can be done by tinkering with the plugin priorities.
Hi, if you just want ads to appear on your most popular pages you could add a tag to all those pages and then restrict the ads to that tag.
If you want ads to appear in a specific place on a page you can use the ad placement tags. See the tags section in the advanced tab of the plugin.
Hope that helps.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Injecting a .php file?Hi Fking, if you want the PHP to be processed the PHP plugin that you are using needs to be run after Ad Injection (right now I’d guess your PHP plugin is running, and then Ad Injection is inserting its content). You can try altering the priority of Ad Injection from the advanced settings page, but it might help to know what priority the PHP plugin is set at.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] FEATURE REQUEST: VISIBILITY BY ROLEHi jonmike, Thanks for your suggestion. I’ll add it to my list. I can’t make any promises though about when it might get done.
Hi Lakjin, have a look at adinj_num_rand_ads_to_insert in ad-injection.php
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Cookie prevents server-side cachingHi moepstar, thanks for trying it. I’ll test the fix in more detail and if it is ok it will be in the next release.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Cookie prevents server-side cachingHi moepstar, If the proposed fix works for you then I can get it released. Do let me know if it helps.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Ad is not showing upHi nima1981, I can see your ad!
You might now be able to see it yet as Google might not have an ad to show *you*, but they do have an ad to show *me*. I’m sure even if you can’t see an actual ad, you’ll see a blank box where the ad should be.
If you check the HTML you’ll see the ad code is there.
If you wait another day or so then I’m sure Google will have found some ads to show you as well.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Cookie prevents server-side cachingHi moepstar, the cookie is for the ‘search engine visitors only’ feature. If a user visits from a search engine then the cookie is set so that ads are shown on subsequent pages.
There is also a cookie relating to blocking adverts.
Are you using the ‘search engine visitors only’ feature?
For the ‘search engine visitors only’ feature the cookie should (in theory) only be used if the box is ticked, but looking at the code it seems to set it regardless.
If you aren’t using this feature you could try changing the condition at the bottom of adshow_show_adverts() in adshow.php to the below. I haven’t tested this but let me know what happens if you try it.
// Only set the cookie if we search engine only option is ticked if (adinj_config_allow_referrers()){ //Set cookie if (!headers_sent()){ setcookie('adinj', '1', time()+3600, '/'); } }
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Ads Disappearing after 1 or 2 secondsHi, There is no Fitvid in Ad Injection.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Ads Disappearing after 1 or 2 secondsHi keyfound,
One way of checking if the problem is related to JavaScript in the ads would be to replace the ads with some static content (just temporarily for testing).
E.g. replace them with ‘***This is a test ad***’ or something like that. Then see if they disappear!
And did you try with the same number of ads on each page?
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Ads Disappearing after 1 or 2 secondsHi keyfound, This sounds like a clear problem with your adverts rather than the plugin/service you are using to insert the ads. I’d suggest you contact your ad service.
Forum: Plugins
In reply to: [Ad Injection] [Plugin: Ad Injection] Ads Disappearing after 1 or 2 secondsHi keyfound, I’d guess your advert provider is using JavaScript to enforce a maximum number of ads per page. Have you checked how many ads you are allowed on each page?
Hi shp1367, I’m afraid I don’t understand your question well enough to answer it properly.
If the ads aren’t appearing where you want them, then you may have put the code in the wrong place in your theme. If you experiment with moving the code around you should be able to find the correct place.