Textpattern Forum

You are not logged in. Register | Login | Help

#1 2012-06-26 00:22:07

phuture303
Member
Registered: 2008-09-14
Posts: 119

[request] mem_if_today

Hey there,

does anyone have a copy of mem_if_today ? Would be great, can’t find it anymore in the www :-)

Thanks in advance!
David

Offline

#2 2012-06-26 04:30:33

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,189
Website

Re: [request] mem_if_today

Maybe you could use the plugin editor plugin to import the php from bitbucket


My Plugins

Piwik Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#3 2012-06-26 07:06:30

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,018
Website

Re: [request] mem_if_today

Here you are:

YToxMTp7czo0OiJuYW1lIjtzOjEyOiJtZW1faWZfdG9kYXkiO3M6NjoiYXV0aG9yIjtzOjE0OiJNaWNoYWVsIE1hbmZyZSI7czoxMDoiYXV0aG9yX3VyaSI7czoxODoiaHR0cDovL21hbmZyZS5uZXQvIjtzOjc6InZlcnNpb24iO3M6NToiMC4xLjEiO3M6MTE6ImRlc2NyaXB0aW9uIjtzOjk5OiJDb25kaXRpb25hbGx5IHBhcnNlcyB0aGUgZW5jbG9zZWQgdGFncyBpZiB0b2RheSBpcyBhIHNwZWNpZmljIGRheSBvZiB0aGUgd2Vlaywgd2Vla2VuZCwgb3Igd2Vla2RheS4iO3M6NDoiaGVscCI7czo5ODM6Igk8aDM+bWVtX2lmX3RvZGF5PC9oMz4KCgk8cD5UaGlzIHRhZyB3aWxsIGNvbmRpdGlvbmFsbHkgcGFyc2UgYW5kIGRpc3BsYXkgdGhlIGVuY2xvc2VkIHRleHQgZGF0YSBpZiB0b2RheSBpcyBvciBpc25vdCBvbmUgb2YgdGhlIHNwZWNpZmllZCBkYXlzLjwvcD4KCgk8cD5BdHRyaWJ1dGVzPC9wPgoKCTx0YWJsZT4KCQk8dHI+CgkJCTx0aD5OYW1lPC90aD4KCQkJPHRoPkRlc2NyaXB0aW9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ToiLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vDQovLyBQbHVnaW4gbWVtX2lmX3RvZGF5DQovLyBBdXRob3I6IE1pY2hhZWwgTWFuZnJlIChodHRwOi8vbWFuZnJlLm5ldC8pDQovLyBSZXZpc2lvbnM6IA0KLy8NCi8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLw0KDQpmdW5jdGlvbiBtZW1faWZfdG9kYXkoJGF0dHMsJHRoaW5nKQ0Kew0KICAgIGV4dHJhY3QobEF0dHMoYXJyYXkoDQogICAgICAgICAgICAnaXMnICAgICAgICA9PiAgJycsDQogICAgICAgICAgICAnaXNub3QnICAgICA9PiAgJycsDQogICAgICAgICAgICAnd3JhcHRhZycgICA9PiAgJycsDQogICAgICAgICAgICAnY2xhc3MnICAgICA9PiAgX19GVU5DVElPTl9fDQogICAgICAgICksJGF0dHMpKTsNCiAgICAgICAgJGNvbmRpdGlvbiA9IHRydWU7DQogICAgICAgICRwYXNzID0gZmFsc2U7DQoNCiAgICAgICAgaWYgKCFlbXB0eSgkaXMpIGFuZCAhZW1wdHkoJGlzbm90KSkgew0KICAgICAgICAgICAgLy8gbm90IHN1cHBvcnRlZA0KICAgICAgICAgICAgJHRlc3RzID0gJyc7DQogICAgICAgIH0gZWxzZSBpZiAoIWVtcHR5KCRpcykpIHsNCiAgICAgICAgICAgICR0ZXN0cyA9IGV4cGxvZGUoJywnLHN0cnRvbG93ZXIoJGlzKSk7DQogICAgICAgICAgICAkY29uZGl0aW9uID0gdHJ1ZTsNCiAgICAgICAgfSBlbHNlIGlmICghZW1wdHkoJGlzbm90KSkgew0KICAgICAgICAgICAgJHRlc3RzID0gZXhwbG9kZSgnLCcsc3RydG9sb3dlcigkaXNub3QpKTsNCiAgICAgICAgICAgICRjb25kaXRpb24gPSBmYWxzZTsNCiAgICAgICAgfQ0KICAgICAgICANCiAgICAgICAgaWYgKGVtcHR5KCR0ZXN0cykpIHJldHVybiAnJzsNCg0KICAgICAgICAkZGF0ZSA9IGdldGRhdGUoKTsNCiAgICAgICAgZXh0cmFjdCgkZGF0ZSk7DQoNCiAgICAgICAgDQogICAgICAgIGZvcmVhY2ggKCR0ZXN0cyBhcyAkdCkgew0KICAgICAgICAgICAgc3dpdGNoICgkdCkgew0KICAgICAgICAgICAgICAgIGNhc2UgJ3dlZWtlbmQnOg0KICAgICAgICAgICAgICAgICAgICBpZiAoJHdkYXkgPT0gMCBvciAkd2RheSA9PSA2KQ0KICAgICAgICAgICAgICAgICAgICAgICAgJHBhc3MgPSB0cnVlOw0KICAgICAgICAgICAgICAgICAgICBicmVhazsNCiAgICAgICAgICAgICAgICBjYXNlICd3ZWVrZGF5JzoNCiAgICAgICAgICAgICAgICAgICAgaWYgKCR3ZGF5ID4gMCBhbmQgJHdkYXkgPCA2KQ0KICAgICAgICAgICAgICAgICAgICAgICAgJHBhc3MgPSB0cnVlOw0KICAgICAgICAgICAgICAgICAgICBicmVhazsNCiAgICAgICAgICAgICAgICBkZWZhdWx0Og0KICAgICAgICAgICAgICAgICAgICBpZiAoc3RyY2FzZWNtcCgkd2Vla2RheSwkdCk9PTApDQogICAgICAgICAgICAgICAgICAgICAgICAkcGFzcyA9IHRydWU7DQogICAgICAgICAgICAgICAgICAgIGVsc2UgaWYgKHN0cmNhc2VjbXAoJG1vbnRoLCR0KT09MCkNCiAgICAgICAgICAgICAgICAgICAgICAgICRwYXNzID0gdHJ1ZTsNCiAgICAgICAgICAgICAgICAgICAgYnJlYWs7DQogICAgICAgICAgICB9DQogICAgICAgIH0NCiAgICAgICAgDQogICAgICAgIGlmICgkcGFzcyA9PT0gJGNvbmRpdGlvbikNCiAgICAgICAgICAgIHJldHVybiAoZW1wdHkoJHdyYXB0YWcpKSA/IHBhcnNlKCR0aGluZykgOiBkb1RhZyhwYXJzZSgkdGhpbmcpLCR3cmFwdGFnLCRjbGFzcyk7DQoNCiAgICAgICAgcmV0dXJuICcnOw0KfSI7czo0OiJ0eXBlIjtzOjE6IjAiO3M6NToib3JkZXIiO3M6MToiNSI7czo1OiJmbGFncyI7czoxOiIwIjtzOjM6Im1kNSI7czozMjoiMDY1YjczZjdmMzI5NGNkNjY5Yzc2NjBlZDc2NzIzYjAiO30=

Last edited by Pat64 (2012-06-26 07:07:45)


Patrick.
Txp Tricks & Tips by french users : http://txp-fr.net | G+
Alison: a CSS Grid tool for all browsers

Offline

#4 2012-06-26 07:08:26

phuture303
Member
Registered: 2008-09-14
Posts: 119

Re: [request] mem_if_today

@ Pat: Thanks!

@ Matt: Thanks for that hint, but Pat’s way is faster :-)

Offline

Board footer

Powered by FluxBB