Were you able to resolve that blacklist error? I updated MT.pm at line 289 and now have the same exact error. Thanks, -- -b- <http://texturadesign.com>...
Byron
byron@...
Oct 3, 2004 4:23 am
619
I tried to write a text filter plugin that would process MT tags. I personally would like to take advantage of <$MTBlogUrl$> in text entries. How can I get...
Alex Yu
alex@...
Oct 10, 2004 2:36 am
620
... personally would like to take advantage of <$MTBlogUrl$> in text entries. How can I get system wide $ctx into a text filter plugin? This is what I have so...
... Yes, but I thought it will be better to do it as a text filter plugin so you don't have to modify templates. Perhaps it is not possible after all. Thanks,...
Alex Yu
alex@...
Oct 10, 2004 4:49 am
625
Can anyone confirm this? In MT 3.11, $entry['entry_modified_on'] is returning a different format than $entry['entry_created_on']. // php return...
Alex Yu
alex@...
Oct 10, 2004 10:13 pm
626
Well, that's how MySQL is returning it. No manipulation is done to the data returned by MySQL. One field is a datetime type, the other is a timestamp. Don't...
... Brad, are you sure this is true? I see this line in fetch_entries() in mtdb_base.php: $entries[$key]['entry_created_on'] = preg_replace('/[^0-9]/', '', ...
I think Kevin is right. I looked on the database server and they are both stored in the same string format. (This is a new installation of MT 3.11.) ...
Alex Yu
alex@...
Oct 11, 2004 3:49 pm
629
... Hmm. Well, I guess it is after all. I thought that was only happening in the date formatting routine. ... Alex-- can you show us how you're getting the...
... I was using $entry = $ctx->stash('entry'); Alex...
Alex Yu
alex@...
Oct 11, 2004 4:09 pm
631
... The problem with having it in a text filter is that you can't chain filters together. You'd be unable to use Process Tags and any other filter. -- ...
If I use this code: @blog_entries = MT::Entry->load ({ blog_id => $blog, created_on => [ '20041011000000', '20041011235959' ], status => MT::Entry::RELEASE()...
Let me take this one step further. If I have three entries: Entry 1, ts 20041011000001 Entry 2, ts 20041011235959 Entry 3, ts 20041012072443 And I run the...
No, that particular load operation is not inclusive. With MT 3.1, a new option was added, 'range_incl' which lets you do an inclusive range: @blog_entries =...
I've tried switching between range and range_incl, and they seem to have the same result (that is, not inclusive). 000000 and 235959 are left out in both....
I succesfully modified notifylist.pm to output an nice html page by placing a html code block here Subject => "Please verify your email to subscribe"}, $body);...
Byron
byron@...
Oct 13, 2004 7:20 pm
641
... Try this: return <<"HTML" if !$notification; some code here The address $email was not subscribed more code here HTML $notification->remove(); return...
Something like this ought to work (not tested). Add these subroutines... sub confirmation_no { return <<HTML big html code block - not subscribed HTML } sub...
That worked. Totally cool. Thanks. Another question, what about the Die error statements? Can I put a giganto html block in there as well? die "The address you...
Byron
byron@...
Oct 14, 2004 2:31 pm
644
... I have been trying to make a PHP port of this plugin, but I can't locate the function that executes Smarty. This is as far as I can get. function...
Alex Yu
alex@...
Oct 15, 2004 2:36 am
645
Hi Alex, I would recommend taking a look at the php/lib/function.MTInclude.php script, which takes a string (pulled either from a file or template module),...
Since the spam has been starting to escalate a bit lately I've switched the membership from "open" to "restricted." This just must means that I must approve...
I started this list a couple of years ago because there was no other place for developers to commune and talk shop. I think it has been helpful and served its...
I posted this to the ProNet list yesterday and didn't get much of a response. Perhaps I picked the wrong audience. ;) ... I wanted to solicit some thoughts and...
Hello. I run MT locally on OS X and demo'd it at Digital Design World earlier this year. The demo was to show the new features in 3.0. It was effective to show...
Byron
byron@...
Oct 19, 2004 2:51 pm
651
Hey all, I just wanted to let you all know that I'm soliciting a lot of feedback as to how we can make it easier to create plugins by making a style guide or a...