where am i?
Location: Johannesburg, South Africa
Current Time: 17:07, Wed
Where next: Vancouver, Canada (Feb 10)
Phone Number: 778 785 9786 (forward to cell)
Cell: +27780247595
Address: 16 Spring Road, Gardens
Johannesburg, South Africa
2192
Current Time: 17:07, Wed
Where next: Vancouver, Canada (Feb 10)
Phone Number: 778 785 9786 (forward to cell)
Cell: +27780247595
Address: 16 Spring Road, Gardens
Johannesburg, South Africa
2192























There's another Doritos Unidentified Flavour contest now. Check out the info on Doritos Unidentified Flavour here: http://www.wilddoritos.com/doritos-unidentified-flavour.html
Maybe the new Unidentified Doritos Flavour is Wild Doritos!
what poem?
Ever read the poem?.
Yeah, I'm still happy with them... I also just wrote an updated blog post on what I'm using for phone service. Phone calls anywhere
Drupal should have named this module something else. I want to write a module which sets up a MySQL trigger inside the database, not a PHP script which triggers an action. I see that there is a db_create_table function but no db_create_trigger. Anyone know if this is possible?
Very good post, thanks a lot.
I think what you need to do is use the insert and update cases. Then check the value of 'status' on the node and compare it to the version of the node that's already saved in the database and see if it's changed from 0 to 1.
However, I think there's a trigger by default that's on node publish/unpublish, you should probably take a look at what that's doing.
Thanks for the response. I would like to create a custom trigger for when a specific node type of "event" is published.
It can appear on the "content" tab. The example you use above is only for when a node is saved. I looked at hook_nodeapi and I didn't see that there was a case for publish, so I'm not sure if what I have got is going to work.
Here's what I have so far
<?php
/**
* Implementation of hook_hook_info().
*/
function eventpublish_hook_info() {
$info['eventpublish'] = array(
'publish' => array(
'eventpublish' => array(
'runs when' => t('After Publishing an event node'),
),
),
);
return $info;
}
/**
* Implementation of hook_nodeapi().
*/
function eventpublish_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
switch ($op) {
case 'publish':
if ($node->type == 'event') {
module_invoke_all('eventpublish', 'publish', $node);
}
break;
}
}
/**
* Implementation of hook_script().
*/
function eventpublish_script($op, $node) {
$aids = _trigger_get_hook_aids('nodeapi', $op);
$context = array(
'hook' => 'nodeapi',
'op' => $op,
'node' => $node,
);
actions_do(array_keys($aids), $node, $context);
}
What I am trying to do is generate an email action to the %author when a moderator publishes and event node.
Hi!
Are you still happy with your service?
I'm looking for a provider to have a 514 number and foward it to another local 514 number...
Is call fowards are billed?
Do you think this provider is what I need?
Thanks for your response
thanks, i've renamed it to script.module.txt and you should be able to grab the file now.
Can't download module file.
Forbidden
You don't have permission to access /sites/scotthadfield.ca/files/script.module on this server.
Apache/2.2.8 (Ubuntu) DAV/2 SVN/1.4.6 PHP/5.2.4-2ubuntu5.6 with Suhosin-Patch Server at scotthadfield.ca Port 80
You Didn't!!!!
You Didn't!!!!!!!!
Your posts just keep getting weirder. Did you get your suit?
Oh my goodness. I actually have goosebumps. Cannot believe Sam actually tried this. And was giggling!!! But I do have to agree with you guys - just too weird to not try!
a market isn't the same as a mall. markets are much more fun... even when i don't buy anything :).
Yeah, I'm not brave enough to try things like that yet :)
Crazy!! I hope you all knew the address of where you're staying. I'm amazed at your fascination for going to markets, Scott. I always thought you had a mall (shopping) allergy. Also, any hint of what that is in the picture? Is it alive? Oh I just looked at the caption. How did it taste?
yeah, I've read that book. probably part of my inspiration to go to buenos aires last year. All the technology exists to make it work in your line of work, but the mindset isn't there yet ;). There's also a lot to be said for being one-on-one and in person when it comes to learning.
Hey Scott,
Looks like you guys are living the high life over there! Haha...looks like a lot of fun though. Have you ever read "4 hour work week" by any chance? Seems kind of like what you guys are doing...running a company and yet living your lives at the same time. Unfortunately I can't do that in my line of work. haha.
Been trying to keep on top of my social media stuff as much as I can lately ;-). Plus I finally feel like I have stuff to write about again. I think I know of the hot spring baths place you're referring to.. we tried to find it one night, but ended up just getting lost :).
I'm up too late when I should be sleeping and wandered in here and sat down to read the last few entries. Really enjoyable writing, you're hitting your stride with this blogging thing :P
One of these days I need to uproot and take this show on the road too. Squeeze Sam for me, and see if you can find a noodle shop while you're in tokyo. Oh, and there is some hotel downtown that has hot spring baths in the basement. The memories are a little hazy from the last time I was there :P
here's the facebook group: MacLeod - Canadian Clan MacLeod Society
I joined by meeting Ian MacLeod in Richmond and paid him my $35. He is a retired Lawyer. Emma Halford(MacLeod)Forbes, is the editor and I stayed with her parents in Scotland. I want to go back there next year, so am looking for a rich man or a job like you have. Actually I like the rich man option., Know any? 45 - 65, nice, good looking, and good you know where. Ha ha.
Haha, we don't understand anyone ever here :). We're never really sure what we're going to get or what's going to happen when we go somewhere. As Sam put it... it's kind of like we're in a cartoon and we have question marks floating above our head everywhere we go :).
Btw, what is the Clan MacLeod magazine?
I agree with you about strange things seeming normal after a while. I just wrote an article for the Clan MacLeod magazine, and had to look up the things I found strange when I first got there.
Are there many times you can't understand anyone?
I easily spent $226 on sushi in Vancouver and i was there for only a month :P hahaha but i was eating it in copious amounts and at a variety of places. I probably could have been more thrifty, but it was a delicious month!