David
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Political Campaign] Direct SupportI need assistance with the pro version. How do I contact the premium support team?
Forum: Plugins
In reply to: [Force Refresh] Daily Schedule@ruanna Yes, +1 does mean tomorrow. Below are some other related JS date and time methods including constructor properties that returns it’s function
var today = new Date('12/31/2015'); var tomorrow = new Date(today); tomorrow.setDate(today.getDate()+1); tomorrow.toLocaleDateString();
JS Date constructor getDate() getDay() getFullYear() getHours() getMilliseconds() getMinutes() getMonth() getSeconds() getTime() getTimezoneOffset() getUTCDate() getUTCDay() getUTCFullYear() getUTCHours() getUTCMilliseconds() getUTCMinutes() getUTCMonth() getUTCSeconds() now() parse() prototype setDate() setFullYear() setHours() setMilliseconds() setMinutes() setMonth() setSeconds() setTime() setUTCDate() setUTCFullYear() setUTCHours() setUTCMilliseconds() setUTCMinutes() setUTCMonth() setUTCSeconds() toDateString() toISOString() toJSON() toLocaleDateString() toLocaleTimeString() toLocaleString() toString() toTimeString() toUTCString() UTC() valueOf()
Did you take the code from my previous post to cut and paste as is but only to amend the scheduled (see below) to something like a minute or two after the current time you save it to see if it works? The code shows 8:30am as what I needed it for and what I have it set I used as an example istead of zeros. I know it’s a dumb question but its the small stuff such as that which causes most problems.
refreshAt(08,30,0);
I assume you put it in the header of the heaer/footer section right, and the snippet you used was set to active? See screenshot link below for my settings. I use the same script for both scheduled times just changing the “refreshAt” time.
Forum: Plugins
In reply to: [Force Refresh] Daily ScheduleYou’re right, same here. PHP can’t tell the browser what to do on it’s own, but Javascript can!
After a few late nights and early mornings, my production site is using this and wouldn’t ya know, just 16 minutes ago AT 8:46am CST, it triggered and automatically refreshed the MS Edge, Firefox and Chrome browsers I had open for testing upon the scheduled time I have it set for 8:30am CST.
I suspect the copied code I used to duplicate a 4:30pm CST refresh will occur in 7 hours and 59 minutes from now.
An effective substitute for if or when the Force Refresh plugin develops a schedule tool.
The script tag below works using the cited Header Footer Code Manager plugin –
<script> function refreshAt(hours, minutes, seconds) { var now = new Date(); var then = new Date(); if(now.getHours() > hours || (now.getHours() == hours && now.getMinutes() > minutes) || now.getHours() == hours && now.getMinutes() == minutes && now.getSeconds() >= seconds) { then.setDate(now.getDate() + 1); } then.setHours(hours); then.setMinutes(minutes); then.setSeconds(seconds); var timeout = (then.getTime() - now.getTime()); setTimeout(function() { window.location.reload(true); }, timeout); } refreshAt(08,30,0); //Will refresh the page at 8:30am </script>
Forum: Plugins
In reply to: [Force Refresh] Daily ScheduleFor a specific date and time without waiting to use code, I was using “Widget Visibility Time Scheduler” By a German developer at Kybernetik Services together with “Widget Shortcode” plugins with no issues but my site got malware and had to restore it and now I cant get it working but it’s due to the malware.
The site has been repaired and is backup but unfortunately, I used an older backup to restore and needed something quick so I used PHP while I figure out how to get this plugin to work again.. OR such time Force Refresh adds a schedule feature. #fingerscrossed
You can find “Widget Visibility Time Scheduler” in the new plugin search box after clicking the “Add New” button on the plugins page.. But, For each day to have a set start and stop you need to pay for the pro version for something like $20 USD you can find below. I thought it was well worth the money when I had it working, I just dont have the time to connect using my purchase key for them to send me the newer pro version so I can set it up but it’s reltaively easy.
More managable than code and more viable than running Force Refresh manually.
I would be willing to shell out a cost something similar or less to get it with Force Refresh.
Widget Visibility Time Scheduler Pro
- This reply was modified 3 years, 8 months ago by David.
Forum: Plugins
In reply to: [Force Refresh] Daily ScheduleI found a solution since @ruanna asked. Until if or when this plugin adds this feature, here’s what Im doing –
I installed and activted the Header Footer Code Manager (HFCM) plugin by 99 Robots and added the below php for 1800 seconds aka 15 minute intervals to a specific page of my site ie page id for me being 5539.
<?php if(is_page(5539)) { echo ‘<META HTTP-EQUIV=”REFRESH” CONTENT=”1800″>’ ; } ?>
If running another plugin is something you don’t want to do or php is too intimidating you can instead html below to your header.php or use the mentioned HFCM –
<meta http-equiv="refresh" content="1800">
To flush cache I installed and activated the WP Fastest Cache plugin and added extra settings as seen with the screenshot below –
Forum: Plugins
In reply to: [WP Fastest Cache] Scheduled Cache UpdateAfter determining cache wasn’t the problem after conducting your suggestions, you would have known if you practiced attention to detail and basic deduction by reading your emails. Emails of which I cited the subject line “Fastest Cache Premium Question” I sent days ago. In that email I referenced the following..
“..below are two links describing the use of javascript to refresh/reload a WordPress page using intervals -”
“…but I’m wanting to have my site, specifically a certain page of my site, to refresh at 8:30am and again at 4:30pm”
Your reply referred to this link –
https://www.wpfastestcache.com/features/cache-timeout-with-hour-and-minute/
If that wasn’t enough and realizing you weren’t distinguishing between cache and cookies, hours later I posted in this thread above –
Would any of the commands actually auto-refresh or trigger a scheduled refresh of either the site or a specific page? That is what I need but wont setup WP-CLI if it can’t. Thanks in advance.
If after all that you were still unable to decipher, interpret, and understand to “refresh” you needed to me specifically specify cookies and not cache, That’s my fault. I apologize I assumed I, being the support recipient, would receive legitimate support versus the time I had to take to spell everything out to you but ultimately relied on other users who had the sense to conclude my situation and offer simple resolutions.
Perhaps, just a thought, after reading these other threads by users who either, ask for clarification, heaven forbid ask you to replicate issues, or you take the time to explain things in better context without a condescending attitude, you could also exercise general laws or basic principles of reasoning.
Forum: Plugins
In reply to: [WP Fastest Cache] Scheduled Cache UpdateI did everything from that link per the screenshot links below. Even if I do it manually from url as cited in the link, which wouldnt be a feasable option to do twice a day everyday, nothing is being auto-refreshed/reloaded only static cache is being cleared for what I could tell.
https://snipboard.io/ops7mE.jpg
https://snipboard.io/jVcUPw.jpg
https://snipboard.io/YbJjGE.jpg
https://snipboard.io/ocfbUq.jpg
I need the page to literally auto-fresh aka auto-reload like the code examples above to flush, not just the cache, but cookie connected browsers and to do it during specific times.
After purchasing the WP Fastest Cache Premium version, reviewing the CLI commands, loading and calling the cron jobs, and all the other documentation links you provided in this thread and other threads found within the support page of this plugin all instruct the effective ways to clear the cache.
I still havent determined yet if this plugin can actually auto-fresh or auto-reload a website or a specific page, much less during specific times.
It seems you’re not understanding the difference between my need of refreshing or some refer to as “reloading” the site and what you keep suggesting to flush the cache. Flushing the cache will still requrire visitors to reload their browser to take effect.
If you need more clarification between clearing cache and my request to auto-refresh, you can run either of the meta scripts below inside the <head> tag that will actually trigger the page to REFRESH every few seconds, as to just clearing static cache you been suggesting –
<META HTTP-EQUIV="refresh" CONTENT="5">
<meta http-equiv="refresh" content="10; url="<?php echo $_SERVER['PHP_SELF']; ?>">
If you added either of those lines inside the <head> tag you would have seen the page reload every 5 or 10 second intervals. Running at intervals won’t work. I need to refresh my site one time, twice a day.
Better yet, to understand using a WodPress plugin, while its not your plugin, you can install and activate the “Force Refresh” plugin and click either the Force Refresh Site at the top or the Refresh [page name] button on any page of the site to see the same action as using the meta tag but instead using a plugin to do it manually.
The problem using this plugin is only for on-demand execution each time the plugin is used. It’s not feasable for me having to manually run a plugin twice a day every day.
Either one of the scripts or the refresh plugin will show you exactly what Im trying to accomplish without the need for the visitor to reload their browser. The difference, I don’t want to use meta tags every 5 or 10 seconds or a plugin I need to use manually, I want to trigger the refresh at two specific times a day, once at 8:30am and again at 4:30pm.
I hope this helps to understand what Im requesting.I’ve also been emailing the same information in this thread including more details to fastestcache (at) gmail.com as recent as 9 hours ago with the subject line “Fastest Cache Premium Question”.
If it will help, I cloned a staging site as well as a new, fresh WordPress install with my copy of WP Fastest Cache Premium plugin I can give admin access to your gmail address I been using. I can also set up an FTP connection if needed.
I’ll await your reply with hopes you will provide the same level of detail and specific instruction as I did in this message resulting in a successful outcome.
Forum: Plugins
In reply to: [Widget Visibility Time Scheduler] Content Update SchedulerPlease check your email.
Forum: Plugins
In reply to: [WP Fastest Cache] Scheduled Cache UpdateWould any of the commands actually auto-refresh or trigger a scheduled refresh of either the site or a specific page? That is what I need but wont setup WP-CLI if it can’t. Thanks in advance.
Forum: Plugins
In reply to: [WP Fastest Cache] Scheduled Cache UpdateI do but it took some work to convince my host (shared hosting) to allow it via SSH. Im able to use Putty.
You suggesting it, I do a lot of technical writing and like to the as detail orientated as possible without any implied direction. By suggesting I use it and understanding the fundementals of WP-CLI (command line admin interface) could you offer specifics as to what the commands/command type, the arguments, etc.. you think I should use to achomplish my request to auto-refresh via script I can edit?
If you email me or I can email you, I can provide WP access and FTP is that works.
Forum: Plugins
In reply to: [Task Scheduler] daily content schedulerContact form now worked. FYI, that error is if the message is too long in case you get that in the future. I sent a test and broke my message into two messages (1/2) and (2/2)
Forum: Plugins
In reply to: [Task Scheduler] daily content schedulerLook for an email by david at lutchenpc.com or please email me to that address and I will email you back. I also sent the same email from a gmail account. I tried the contact form again and I keep getting the same error as shown from the screenshot.
Forum: Plugins
In reply to: [Task Scheduler] daily content schedulerCHeck your spam. It showed as it be received. Ill see about using a different address
Forum: Plugins
In reply to: [Task Scheduler] daily content schedulerThis being carried over to to troubleshoot via email, I will mark as resolved.
Forum: Plugins
In reply to: [Task Scheduler] daily content schedulerI sent you an email a minute ago.