quote of the day

55 views
Skip to first unread message

Wim

unread,
Mar 26, 2012, 3:20:31 AM3/26/12
to TiddlyWiki
Hi,

is it possible to have "quote of the day" (http://www.TiddlyTools.com/
#QuoteOfTheDayPlugin) work with InternetExplorer (v8).
It always shows the first quote; "random" doesn't work...

I make a TW for my business and IE8 is the only browser that is
installed (and I may/can not install FireFox).

Thanks.

Wim

Wim

unread,
Mar 26, 2012, 3:29:15 AM3/26/12
to TiddlyWiki
Correction : it works in IE when used with a "timer", but not when
"refreshing" the TW; in that case, each time I refresh, the first
quote is displayed. I can't use a timer because when I open the TW
the next day, the first quote will be displayed. And the next day
again...
Cookies aren't a solution as the headquarter-IT-department removes all
cookies each night...

Wim

HansBKK

unread,
Mar 26, 2012, 10:34:49 PM3/26/12
to tiddl...@googlegroups.com
On Monday, March 26, 2012 2:29:15 PM UTC+7, Wim wrote:

Cookies aren't a solution as the headquarter-IT-department removes all
cookies each night...


Any information stored in cookies can also be stored as data on a per-user basis within the TW file itself, by using Eric's relevant plugins - search his site for "cookies", one of them is called cookiejar.

Wim

unread,
Mar 28, 2012, 5:26:39 AM3/28/12
to TiddlyWiki
Hi,

I didn't try the cookiejar plugin (yet) as I really want to have a
random-display of the quotes.
BUT...
I found something strange, as all the TW's on the internet that uses
the QOTD, work fine:
When saving those (working TW's) locally, then the QOTD starts every
time with the first quote. Maybe there's a BUG because the "random"
function does not work when opening a local TW.
And my TW has to be local...

Can Eric S (or someone else) correct this bug?
Thanks.

Wim

HansBKK

unread,
Mar 28, 2012, 6:23:18 AM3/28/12
to tiddl...@googlegroups.com
On Wednesday, March 28, 2012 4:26:39 PM UTC+7, Wim wrote:
Hi,

I didn't try the cookiejar plugin (yet) as I really want to have a
random-display of the quotes.

I don't see how a different the storage location would change the functionality.
 
BUT...
I found something strange, as all the TW's on the internet that uses
the QOTD, work fine:
When saving those (working TW's) locally, then the QOTD starts every
time with the first quote.  Maybe there's a BUG because the "random"
function does not work when opening a local TW.
And my TW has to be local...

and in fact if there is a bug and it's with cookie handling, then maybe using the local-storage plugin(s) will be a workaround in the meantime. Note that the no-longer-cookie data can be specified as being global, or (in your case I'd imagine you'd want it to be) unique per user.

PMario

unread,
Mar 28, 2012, 10:40:24 AM3/28/12
to TiddlyWiki
Hi Wim,
Latest TW versions have the possibility to save cookie settings within
the TW file. It's called persistent options [1]. I think for this
usecase you won't need a plugin.

The QOTD [2] info tiddler describes the plugin options. With the
cookie parameter you can specify the name of the cookie you want to
use to store the needed info.

The cookie name for SystemSettings will be:

txtQOTD_ + yourCookieName

so if yourCookieName is eg: "index" it is:

txtQOTD_index

SystemSettings tiddler should contain

txtQOTD_index: 1

it will be automatically refreshed by the core and saved with your
TW.

have fun!
mario

[1] http://tiddlywiki.com/#PersistentOptions
[2] http://www.tiddlytools.com/#QuoteOfTheDayPluginInfo

Wim

unread,
Mar 29, 2012, 2:06:10 AM3/29/12
to TiddlyWiki
@HansBKK
>I don't see how a different the storage location would change the
>functionality.

Just try http://huiberssound.nl/ online (see the quotes at the bottom
of the startscreen) and download that TW. Then open that TW locally
and see the difference...

Wim

Eric Shulman

unread,
Mar 29, 2012, 2:54:29 AM3/29/12
to TiddlyWiki
> is it possible to have "quote of the day" (http://www.TiddlyTools.com/
> #QuoteOfTheDayPlugin) work with InternetExplorer (v8).
> It always shows the first quote; "random" doesn't work...

I think I found a tiny bug in the plugin that prevents the 'random'
option from being properly handled. I'll post a follow up when the
fix is available.

-e


HansBKK

unread,
Mar 29, 2012, 3:11:13 AM3/29/12
to tiddl...@googlegroups.com
On Thursday, March 29, 2012 1:06:10 PM UTC+7, Wim wrote:
@HansBKK
>I don't see how a different the storage location would change the
>functionality.

Just try http://huiberssound.nl/ online (see the quotes at the bottom
of the startscreen) and download that TW. Then open that TW locally
and see the difference...

Sorry I wasn't more clear - I didn't mean the location of the TW file, I meant storing cookie data in cookies as opposed to within the TW file.

Reply all
Reply to author
Forward
0 new messages