tinsterman
Newbie
Just Getting Started
Member Likes (0)
Hi,
Is it possible to remove the text that appears
"This content is not currently available. It will be available in: 2 Days, 8 Hours, 28 Minutes, 33 Seconds"
I want to use the plugin on a radio show, it will rotate the names of the DJ's depending the day of the week, time etc. But I don't want the other not to show.
Perhaps there is a plugin that can publish posts on a weekly or hourly basis.
Thanks in advance.

Responses (10)
WPMU DEV Fanatic (joined October 2009) Likes (0)
Hi tinsterman,
There's not a way to remove that text without editing the plugin's core code. On line 129 of scheduled-content.php is where that message is defined, though it's not something we'd recommend changing unless you're comfortable with coding.
I'm not aware of any other plugins like this that let you publish at timed intervals myself, I'm afraid.
Cheers,
David
Member (joined December 2010) Likes (0)
Hi, I hope someone can help out on this issue, what exactly on Line 129 do I edit.
$msg = ($onetime && $end <= time()) ? __("This content is not currently available.", 'sc') : __("This content is not currently available. It will be available in:", 'sc');
I can get rid of the text with css, but because I'm using css with a coloured background, i get what is left to disappear as it has the same div id and the current one. I will end up have 6 different.
Any other ideas via css?
Ian
Support Kangaroo (joined March 2011) Likes (0)
Greetings Ian,
You would simply remove or replace with the text of your choice of the below highlighted text:
$msg = ($onetime && $end <= time()) ? __("This content is not currently available.", 'sc') : __("This content is not currently available. It will be available in:", 'sc');
Thank you for being a WPMU Dev member!
If we can be of further assistance please let us know.
Cheers, Joe :-)
Member (joined December 2010) Likes (0)
Thanks Joe, I removed the text, however I still have the outline of the div, please see here http://www.easternplumbingworks.com.au/
Ian
Member (joined December 2010) Likes (0)
was showing as resolved in list, stil hoping for an soulution
Support Kangaroo (joined March 2011) Likes (0)
Greetings Ian,
I cannot see the outline of a div anywhere on the page, screen shot below where I thought I should be able to see it.
In an effort to better understand our members and self critique my support, you had mentioned that the ticket was not resolved and it was marked resolved. What was not resolved about the ticket, please advise?
Thank you for being a WPMU Dev member!
Cheers, Joe :-)
Member (joined December 2010) Likes (0)
Hi Joe, thanks for responding again, I have marked my attachment with the Tuesday Dive, I have 4 more to add so they will probably dhow too.
I removed the text by a display:none; css rule.
Re the resolved tag, because it had a green dot in the main list, I was concerned it would not get looked at again. Guess it got your attention!
Hope this make sense.
Ian
Member (joined December 2010) Likes (0)
Joe, I appreciate you help, I had another go at it and fixed it, Problem I had was a div around each days offer, when I only needed one div around the whole lot. 10 hours, I see if it works.
Thanks
Ian
Member (joined December 2010) Likes (0)
Hi, I have another issue, Have done more testing, and another issue has cone up, When each item cycles through, 6 in total, each one gets pushed down by the countdown clock for the days that have past. Monday being 1st in the list, its exactly where I want it, by the time it gets to the weekend it is pushed so far down that half the content is missing. (Times are set to have Tuesday show at moment)
How can I have the Timer not interfere with content?
Here is the code in the page so you can see:
<div id="specialOffer">[scheduled weekly="1" time="10:33 PM" length="0:0:0:2"]
<h1>Monday Special</h1>
<h2>Save $50 Today on all Plumbing Callouts:</h2>
<h3>Call Ph: 1800 700 115 or 03 9879 1300 & Quote Web-Monday and you save $50.</h3>
*Conditions do apply - Not applicable of fixed price drain unblocking
[/scheduled]
[scheduled weekly="1" time="10:35 PM" length="0:0:15:5"]
<h1>Tuesday Special</h1>
<h2>Save $50 Today on all Plumbing Callouts:</h2>
<h3>Call Ph: 1800 700 115 or 03 9879 1300 & Quote Web-Tuesday and you save $50.</h3>
*Conditions do apply - Not applicable of fixed price drain unblocking
[/scheduled]
[scheduled weekly="1" time="10:25 PM" length="0:0:0:5"]
<h1>Wednesday Special</h1>
<h2>Save $50 Today on all Plumbing Callouts:</h2>
<h3>Call Ph: 1800 700 115 or 03 9879 1300 & Quote Web-Wednesday and you save $50.</h3>
*Conditions do apply - Not applicable of fixed price drain unblocking
[/scheduled]
[scheduled weekly="1" time="10:30 PM" length="0:0:0:1"]
<h1>Thurday Special</h1>
<h2>Save $50 Today on all Plumbing Callouts:</h2>
<h3>Call Ph: 1800 700 115 or 03 9879 1300 & Quote Web-Thursday and you save $50.</h3>
*Conditions do apply - Not applicable of fixed price drain unblocking
[/scheduled]
[scheduled weekly="1" time="10:31 PM" length="0:0:0:1"]
<h1>Friday Special</h1>
<h2>Save $50 Today on all Plumbing Callouts:</h2>
<h3>Call Ph: 1800 700 115 or 03 9879 1300 & Quote Web-Friday and you save $50.</h3>
*Conditions do apply - Not applicable of fixed price drain unblocking
[/scheduled]
[scheduled weekly="1" time="10:32 PM" length="0:0:0:1"]
<h1>Weekend Special</h1>
<h2>Save $50 Today on all Plumbing Callouts:</h2>
<h3>Call Ph: 1800 700 115 or 03 9879 1300 & Quote Web-Weekend and you save $50.</h3>
*Conditions do apply - Not applicable of fixed price drain unblocking
[/scheduled]
</div>
Here is the CSS if it is of Help, Note that I have a display:none on the timer.
#specialOffer {
width: 750px;
height: 270px;
margin-left: 20px;
border-radius:12px;
background:#0085c2 ;
background-image: linear-gradient(bottom, rgb(66,197,237) 7%, rgb(0,133,194) 54%);
background-image: -o-linear-gradient(bottom, rgb(66,197,237) 7%, rgb(0,133,194) 54%);
background-image: -moz-linear-gradient(bottom, rgb(66,197,237) 7%, rgb(0,133,194) 54%);
background-image: -webkit-linear-gradient(bottom, rgb(66,197,237) 7%, rgb(0,133,194) 54%);
background-image: -ms-linear-gradient(bottom, rgb(66,197,237) 7%, rgb(0,133,194) 54%);
background-image: -webkit-gradient(
linear,
left bottom,
left top,
color-stop(0.07, rgb(66,197,237)),
color-stop(0.54, rgb(0,133,194))
);
padding: 10px 20px;
margin-bottom: 20px;
margin-top: 20px;
}
#specialOffer h1 {
font-size: 2.5em;
background: white;
padding: 1em 1em;
border-radius:8px;
color: black;
text-align: center;
margin-bottom: 5px;
}
#specialOffer h2 {
font-size: 2em;
color: #fff;
text-align: center;
margin: 5px;
line-height: 1.6em;
}
#specialOffer h3 {
font-size: 1.7em;
color: #fff;
text-align: center;
line-height: 1.6em;
}
#specialOffer p {
font-size:0.9em;
color: beige;
text-align: right;
margin-bottom: 0px;
}
p.scheduled-closed, .scheduled-timer {
display: none;
font-size: 0.1em;
line-height: 0.1em;
}
Support Kangaroo (joined March 2011) Likes (0)
Greetings Ian,
Thank you for being a WPMU Dev member!
Could you please open a new ticket for the issue reported in your last post?
This way when I call in the lead developer to look over the code he is not wading through all the other stuff to get to the new problem?
Thanks again for being a WPMU Dev member!
Cheers, Joe :-)
Become a member