Pages: 1 ... 27 28 29 30 32 34 35 36 37 ... 141

09/08/09

  12:50:05 pm, by The Dreamer   , 144 words  
Categories: General, Software

Making getmail.php work in b2evo 3.3.1

Once again the stock getmail.php didn't work after a significant upgrade in b2evolution version.

After a long and complicated battle, I have something that should work....we'll find out tomorrow.

First I had to do was add these two lines to 'inc/_core/_class5.funcs.php':

PHP

'mime_parser_class' => $inc_path.'_ext/mime_parser/mime_parser.php',
'rfc822_addresses_class' => $inc_path.'_ext/mime_parser/rfc822_addresses.php',

Should be obvious where they go....

Next problem was 'Could not parse data header!':

Changed preg_match to be:

PHP

if(!preg_match('#^(.{3}, )?(\d{1,2}) (.{3}) (\d{4}) (\d{2}):(\d{2}):(\d{2})#'$ddate$match))

Probably wouldn't have tripped me up if I had waited until September 10th to work on things further.... :>>

Then the final was that the 'html' email did not have an 'Alternative'.

Try this for size:

PHP

// mail is html
if( $parsedMIME['Type'] == 'html'){
    if (array_key_exists('Alternative',$parsedMIME)){
        foreach ( $parsedMIME['Alternative'] as $alternative ){
            if( $alternative['Type'] == 'text' ){
                echo_message'HTML alternative message part saved as ' $alternative['DataFile'], INFO);
                $strbody imap_qprintfile_get_contents$alternative['DataFile'] ) );
                break; // stop after first alternative
            }
        }
    } else {
        $strbody strip_tags(file_get_contents$parsedMIME['DataFile'] ),'<img><p><br><i><b><u><em><strong><strike><font><span><div><ul><li><a>');
    }
}

09/07/09

  10:06:44 pm, by The Dreamer   , 5 words  
Categories: DVDs / NetFlix

DVD: Watchmen

  04:33:00 pm, by The Dreamer   , 329 words  
Categories: General, Software

It Works! It Lives! It something something something ???

Link: http://b2evolution.net/news/2009/08/09/b2evo-3-3-1-stable-released

&#58;&#99;&#111;&#111;&#108;&#58; Yay! Asynchronous twitter notification of blog posts are working now.

What did I do? Why I upgraded to 3.3.1....

Realizing that today is a holiday and the weekly backup of my blog takes place on Monday morning, I decided that maybe sometime this afternoon would be a good time to make the push to the latest release....rather than go out into the nice weather and shop. &#58;&#99;&#114;&#97;&#122;&#121;&#58;

I had only done a quick of read of the upgrade process yesterday, and it didn't seem too daunting. Though I knew there were a set of customizations here and there that I would need to migrate.

I opted to move the various dirs of the old install aside and slowly transfer to new stuff up. With a few exceptions...like merging media and plugins, and getting my tweaks to the 'custom' skin over.

Only somewhere in the process of copying things over, I realized I hadn't actually done the update 'custom' skin step....so there was a mad dash to put that in. (I recall old skins are mostly compatible, so I could've copied my old 'custom' over the new one...but opted to figure out my changes and apply them to the new.)

Once over, things went pretty much straight forward. Only one skin element failed to work, I kept staring at the code, but couldn't figure out why...until I happened to look at the old source on the hosting side. Guess I had changed bits through ssh and not copied them back to my work area. Someday I'll have to get my work area back in sync with what's being hosted. &#41;&#45;&#111;

The other loss is that I had updated what smilies I have on this blog and the character translations....I think I got that back.

I then went through the settings reviewing stuff to see that I had things right and to see what stuff is new....

I think everything is sufficiently back to normal, so I'm calling it done. &#58;&#108;&#97;&#108;&#97;&#108;&#97;&#58;

  04:11:58 pm, by The Dreamer   , 19 words  
Categories: Software

doing Twitter Test

Let's see if the latest muck up of my blog makes the twitter plugin work correctly in asynchronous mode.

09/06/09

  02:44:53 pm, by The Dreamer   , 8 words  
Categories: General, Software

b2evo to twitter not working asynchronously

Guess the upgrade to 2.4.7 didn't fix the problem.

  02:38:00 pm, by The Dreamer   , 43 words  
Categories: General, Software

Finally upgraded to b2evolution 2.4.7

Link: http://b2evolution.net/news/2009/05/28/b2evo-3-2-0-beta-woodland-hills-a-2-4-7-stable-tilman

Now I wonder when I'll get around to upgrading to 3.3.1-stable?

Of course, I ran 0.9.2 for an era or two before finally upgrading from there. Though since then I've avoided making customizations to the core. But, still there's a process that takes time....

09/04/09

  07:31:20 pm, by The Dreamer   , 419 words  
Categories: Stuff, Home

Got a new UPS

A while back I had looked at APC's Trade-UPS offer on trading in my old BackUPS Office 500VA (BF500). I had replaced the batteries a few times since I had acquired it at charity auction used. And, it could probably continue to serve me if I had gotten another new battery for it.

Though I earlier this year I had picked up an APC Back-UPS ES 550VA (BE550R), through a President's Day sale, and similar in style...it offered new features that the old UPS didn't have, and its rated to be more efficient/longer lasting. And, seems to do the job I have it doing.

But, the trade-in discount wasn't huge compared to sales that appear from time to time, and I wasn't sure I wanted the hassle...though its probably greener than breaking the UPS up so its battery is disposed differently than the rest...and the battery disposal is another kind of hassle. So, I kind of have a small collection of batteries at the moment.

Then recently I got an email, of a further 10% discount on the Trade-UPS price...and I don't know if it was that way before...free shipping (both ways).

While it was still kind of a hassle returning the old UPS...had to find a box to put it in and attach the UPS label to...and then it was getting the old UPS to UPS. I had put it by the door hoping the next time UPS came by with deliveries, that I would give it to him....only problem was I kept forgetting to do that. Finally, I just took it down to the UPS store...and off it went.

Well, today the new UPS arrived. It's a BE650G.

Of course, I'm not sure where I'm going to use it yet. Well, actually one possibility comes to mind...but there's still the whole project of rearranging my bedroom and replacing the disintegrated dresser (and no more piles of clean clothes on the floor)....a project I plan to tackle later this month....

Guess I'll find somewhere to put it aside until then....

Pages: 1· 2

08/31/09

  05:52:15 pm, by The Dreamer   , 24 words  
Categories: Movies

Movies on the Grass: The Visitor

Link: http://www.netflix.com/Movie/The_Visitor/70084225?lnkce=seRtLn&trkid=222336&strkid=1452299920_0_0&strackid=7320acd48740e132_0_srl

This was the first movie for the 5th year of Movies on the Grass, which I saw last night.

I rated this 3 stars

&#58;&#114;&#115;&#58;&#58;&#114;&#115;&#58;&#58;&#114;&#115;&#58;&#58;&#121;&#115;&#58;&#58;&#121;&#115;&#58;

08/26/09

  11:26:03 pm, by The Dreamer   , 109 words  
Categories: Software

Password AutoFill on Password form's with disabled Username field

In addition to previous hack to nsLoginManager.js -- Remember Password Override for Firefox 3.0

I came up with another hack to do:

Change:

        // If the fields are disabled or read-only, there's nothing to do.
        if (passwordField.disabled || passwordField.readOnly ||
            usernameField && (usernameField.disabled ||
                              usernameField.readOnly)) {
            this.log("not filling form, login fields disabled");
            return [false, foundLogins];
        }

To:

        // If the fields are disabled or read-only, there's nothing to do.
        if (passwordField.disabled || passwordField.readOnly) {
            this.log("not filling form, login fields disabled");
            return [false, foundLogins];
        }

Because there's a certain site and prompts for Username first, and then on the second page provides a disabled Username field prefilled in and prompts for password. The disabled Username field was preventing autofill of saved password....

  10:03:50 am, by The Dreamer   , 465 words  
Categories: Travel, Healthcare

I'm not going to #OhioLinuxFest, but I wish I was...

&#58;&#46;&#46;&#40; I really wished I could be going to this years Ohio Linux Fest, some of the talks and the theme (40 Years of Unix) is interesting. Plus I wanted to see some of the past speakers again to see what a year has changed, and see meet the various fellow organizers that I've been working with online. Along with see some of the people that I won't be seeing since I'm not going to LISA this year.

Some of talks I probably wanted to see/hear include: Keynote Dr. Douglas McIlroy who developed UNIX pipes and UNIX tools such as spell, diff, sort, join, graph, speak and tr. Shawn Powers, who I used to watch in his video podcasts (I've fallen really behind....thinking of getting an iPod Nano or something?) Who I didn't get to meet at Penguicon due to standing in the beef line and other bad luck.

Though there was the conflict between "Shared Destiny: 40 Years of Unix, 40 Years of VM, and How They Came Together" and maco's talk "Sysadmins' Rosetta Stone", both of which I wanted to attend, though I probably would've gone with the first. Since I see going to OLF as 'vacation' rather than 'work'. Even though I'd probably end up doing some poking around at work by remote....though things this year...I might actually have less work to do while on vacation....

Thought it might be interesting to see what is covered at the DiOS (Diversity in Open Source) on Sunday. And, not because I think that someday I want to break back into contributing to Open Source projects, or something.

And, then there's the whole 'ex-IDIOT Doctor Who Fan Club'.

But, a few weeks ago I had a little accident on my bike....the kind where I stopped suddenly, and it happened in 3 stages.

First stage, the bike stopped instantly. Second stage, I went flying over the handle bars ... putting my right hand out in front of me to stop my head from hitting the pavement. Third stage, bike coming down on top of me...pulled over by my legs catching the handle bars.

My portion of the ER visit....that was the hotel room at OLF.

No broken bones, but had elbow and wrist contusions....in my right arm....loss of motion in both directions. Made it really hard to first few days to do basic things like bath, shave, dress, put on my CPAP mask....eventually inward motion returned (though painful)...but still can't straighten my arm, though it has improved a bit.

So the physical therapy cost will probably be at least the airplane ticket to OLF.

And, I wasn't entirely sure how I was going to pay for OLF as it was....was gonna tap my cruise fund to for part of it (with most of it going towards my later trip to Chicago TARDIS)....

1 ... 27 28 29 30 32 34 35 36 37 ... 141

Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

Latest Poopli Updaters -- http://lkc.me/poop

bloglovin

There are 20 years 1 month 5 days 8 hours 16 minutes and 34 seconds until the end of time.
And, it has been 4 years 11 months 23 days 5 hours 46 minutes and 22 seconds since The Doctor saved us all from the end of the World!

Search

December 2017
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Google

Linkblog

  XML Feeds

Who's Online?

  • Guest Users: 1
This seal is issued to lawrencechen.net by StopTheHacker Inc.
b2evolution CCMS

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime