sadams101
-
Posts
778 -
Joined
-
Last visited
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by sadams101
-
-
1) Mine shows no ads;
2) It may be showing the regular forum search engine's results and not google's. I don't see any difference in results when I turn it off or on. For example 226 results no matter which I use:
ON:
https://www.celiac.com/gluten-free/search/?q=cancer celiac genes&fromCSE=1
OFF:
https://www.celiac.com/gluten-free/search/?&q=cancer celiac genes
I'm using the latest version of your plugin (DP42) CSE Google 1.0.5 [P] (en).zip) and am putting in my correct google CSE ID.
Feel free to test:
-
-
6 hours ago, Upgradeovec said:
You can't do this with cron. I mean got this time for make a while inside php script. I didn't share this while for prevent copy-paste my version without understanding. Because too much while repeats may work more than 60 seconds and that can overflow your memory. You get 0.039s per one working. So you can create a 40-60 repeats this working per one minute (started with cron). So just write something for ($i=1; $i<60; $i++) { $generator->buildNextSitemap(); } inside example script instead line $generator->buildNextSitemap(); and that make a 60 runs per minute.
I wish I could understand what you mean here. Any chance you can just paste a copy of an example a mycustomsitemapupdater.php with this code in it, and then I'll set it up to run every second?
-
On 12/25/2017 at 4:51 AM, Upgradeovec said:
Little improvement (5214 elements will update more than 3 days). So you can speed up more this. Just get time needed for one
time php mycustomsitemapupdater.php // return something like 4 sec
So with that you can create a cycle inside for X times to run $generator->buildNextSitemap(); For example in my case - 10 times in one minute. So for 5214 elements i will need 521 minuts for all update (~= 8 hours - not bad).
So I am still 4 days behind on my last indexed item in my sitemap. When I run the command above I get:
Quotereal 0m0.039s
user 0m0.019s
sys 0m0.020sDo I need to run my cron on mycustomsitemapupdater.php more often than 1 minute?
Also, even though this has been running for ~1 week, I've not seen any improvement in the google index graph shown above. Any idea how long improvement could take (if the issue is related to the sitemap)?
-
Thank you...but isn't a better fix to make the link a rel="nofollow"
Scott
-
This could be totally unrelated, but shortly after making these changes I got a notice from google about an increase in crawler errors:
QuoteGooglebot for smartphones identified a significant increase in the number of URLs on https://www.celiac.com/ that return a 404 (not found) error. If these pages exist on your desktop site, showing an error for mobile users can be a bad user experience. This misconfiguration can also prevent Google from showing the correct page in mobile search results. If these URLs don't exist, no action is necessary.
When looking at the errors I see they relate to the Report Comments Link, for example:
and
Here is the error:
QuoteSorry, there is a problem
AdminError code: 2S136/4
Would your changes cause this?
-
Thank you Matt!
-
One last question...is putting this file in root ok, or should I put it in admin?
mycustomsitemapupdater.php
-
-
I have some questions:
1) Do I need to turn off the IPB's every 15 minute site map feature, or do anything?
2) I did set this up to run every minute: mycustomsitemapupdater.php. But I did not understand the improvements you mentioned below. Is this a code change in the file? Can you explain?
On 12/25/2017 at 4:51 AM, Upgradeovec said:Little improvement (5214 elements will update more than 3 days). So you can speed up more this. Just get time needed for one
time php mycustomsitemapupdater.php // return something like 4 sec
So with that you can create a cycle inside for X times to run $generator->buildNextSitemap(); For example in my case - 10 times in one minute. So for 5214 elements i will need 521 minuts for all update (~= 8 hours - not bad).
3) I could not find the code mentioned in this file:
/applications/core/extensions/core/Sitemap/Content.php
Is it located somewhere else, or has IPB changed it?
-
I wasn't able to find this code in the file mentioned:
Quoteif (get_class($node) === 'IPS\forums\Forum' && isset($node->last_post)) { $data['lastmod'] = $node->last_post; }
Perhaps they included this in a recent update?
-
Could you please tell me if these two plug ins will work in 4.2.x?
(NB40) Ads After X Topics
(NB40) Ads After X Posts
-
Yes, they are correct...in any case, the switch to asynch worked...not sure why, but that was the cause of my recent issue. Thank you for your help!
-
Ok, interesting. Around the same time I switched to PHP 7 I also changed some of the call tags I use to call the ads (I use Revive Adserver). The Iframe call is what caused the issue:
Quote<iframe id='a2357a9d' name='a2357a9d' src='https://www.celiac.com/adserv/www/delivery/afr.php?zoneid=198&source=rel%3D%5C%27nofollow%5C%27&target=_blank&cb=INSERT_RANDOM_NUMBER_HERE&ct0=INSERT_ENCODED_CLICKURL_HERE' frameborder='0' scrolling='no' width='468' height='60'><a href='https://www.celiac.com/adserv/www/delivery/ck.php?n=a478afba&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='https://www.celiac.com/adserv/www/delivery/avw.php?zoneid=198&source=rel%3D%5C%27nofollow%5C%27&cb=INSERT_RANDOM_NUMBER_HERE&n=a478afba&ct0=INSERT_ENCODED_CLICKURL_HERE' border='0' alt='Celiac.com Sponsor' /></a></iframe>
When I switched it back to asynch call tag the problem doesn't happen:
Quote<ins data-revive-zoneid="198" data-revive-source="rel%3D%5C%27nofollow%5C%27" data-revive-target="_blank" data-revive-ct0="INSERT_ENCODED_CLICKURL_HERE" data-revive-id="b6ff4bd95242b64ee391a5fd4b82dc64"></ins>
<script async src="/adserv/www/delivery/asyncjs.php"></script>Any idea why?
-
Update: Due to issues I had with the site menu and running Ajax Pagination with ads turned on, I have had it off for years. I just turned Ajax back on, and the Quote works, but I need to test for menu issues. I hope this is helpful.
So your plugins used to work fine with Ajax pagination off, now they seem to require it after I switched to PHP 7.0
Very strange...this did not totally fix the issue. In any case it looks like the issue is still there, even with Ajax back on.
-
Anyway, do you still need to test?
-
They are now disabled. Be sure to re-load the page to test.
-
If you'd like me to turn off the NB40 plug ins for your testing, just let me know.
-
sure...I will leave this account for ~1/2 hour.
Does the forum you just tested run PHP 7.0?
-
As mentioned, I've tested extensively, and the only way to get the quote feature in topics working again is to disable both NB40 plug ins, not one, but both. Disabling the other plug ins doesn't affect this issue.
Also, it is strange that you cannot see the Quote buttons in topics, as that is not a reported issue on our forums...only its functionality is the issue:
https://www.celiac.com/gluten-free/topic/118507-quote-feature-not-working/
Of course, to see that button you would need to create an account and be logged in...
-
Sorry but our company policy would not allow that. If you doubt me I'd be happy to help you see this problem first hand...you could test this in our forum: https://www.celiac.com/gluten-free/
I've done extensive testing and the issue is these plug ins when running PHP 7.0.
Also, if there is anything in the ACP I can check, please share it. It may help others with this issue...
-
It is breaking the ability to use the Quote feature...again, this started after I switched my forum to PHP 7.0, so it is likely a compatibility issue.
I've uninstalled and re-installed the plug ins, and my Quote feature is broken unless I disable both NB40 topic and post plug ins...after they are disabled I can use the quote feature without issues.
-
There is a bug with your plug in. After I updated to PHP 7.0 running this plug in now breaks the quote feature in posts...so you can no longer click quote and have it inserted into your post automatically. Please fix this bug.
-
Mine is still behaving this way--the top search results, although they do correctly display google search results on the /search page, do not show any ads.
(DP42) CSE Google
in Marketplace
Posted
Unfortunately my employer would not allow that, but when I say that I see no ads, I mean that I'm not seeing any paid search results above the organic ones. Also, I am not seeing any difference in the search results with your plugin on or off. Can you explain this?