Hluhluwe Umfolozi is by far my favourite park in South Africa but Kruger is a great introduction. It was an exceptionally good rainy season and the veld looks fantastic (I was there about a month ago). You should have seen quite a lot of young animals which is quite an experience in itself.
Strangely enough, on my last trip I ran first out of memory, borrowed a card from my boet just to have the battery die shortly thereafter with the most beautiful knobbly fig (Ficus sansibarica) which I could not photograph :s
I hope that the rest of your trip will be even better and that cruger would have been nothing but a good start in the end!
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?
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.
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
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!
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.
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
looks like you guys are having a "blast". hope you continue to enjoy your "travels".
Whew - looks like he (she?) rejected you for mating.
Thanks! Ya we saw babies of everything. It was very cool.
Do you have a blog or anything? Would love to see how your travels are going :-)
Hluhluwe Umfolozi is by far my favourite park in South Africa but Kruger is a great introduction. It was an exceptionally good rainy season and the veld looks fantastic (I was there about a month ago). You should have seen quite a lot of young animals which is quite an experience in itself.
Strangely enough, on my last trip I ran first out of memory, borrowed a card from my boet just to have the battery die shortly thereafter with the most beautiful knobbly fig (Ficus sansibarica) which I could not photograph :s
I hope that the rest of your trip will be even better and that cruger would have been nothing but a good start in the end!
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