My WordPress install was just upgraded, so things might be screwy while I get things sorted. I’m trying out a live preview plugin on the comments.
29 thoughts on “WordPress Upgrade”
Posting code? Use <pre> tags for VBA and <code> tags for inline.
My WordPress install was just upgraded, so things might be screwy while I get things sorted. I’m trying out a live preview plugin on the comments.
Posting code? Use <pre> tags for VBA and <code> tags for inline.
Test of live preview
1 < 2
Another test
This is bold
Now to test some code
Debug.Print “hello”
End Sub
If x < y Then
Debug.Print x & ” is less than “ & y
End If
End Sub
Wow! Less than signs and ampersands work. Happy day.
Turned off avatars. Those things really slow the site down. Particularly if there are a lot of comments.
Dick – the author names seem to be missing since the upgrade…
This seems to be on all posts, not just new ones (comments unaffected).
Makes it a bit tricky to know who has submitted which posts (although long time readers should be able to guess!).
Like the upgrade though, the live preview is very handy (and good to see that the & issue is finally fixed) and the recent section is very clear.
Thanks Simon. Fixed the author thing. I’m still not happy with the recent comments section, but it is better. I was surprised that “office football pool” was such a popular post. Then my wife reminded me that it’s superbowl season. I had to slap my forehead for not putting that one together.
Live preview of the text I’m writing?
but this does not preview as code – unless I have typed the tags wrong? lets see!
Nope, the live preview doesn’t do a few things. I think I’ll look for a preview button that would render it properly, though it wouldn’t be live. Do people actually preview their posts if they have to click an extra button?
dim i as long
end sub
Let’s try that again
Debug.Print “This is a test”
End Sub
Seems to work.
Hangs when I post after preview. I’m going to post this with no preview.
Hangs either way, so I’ve disabled it. I can’t seem to find a decent comment previewer.
I think Previewers are over rated! it’s only a blog comment after all!
Agreed. Except that nobody ever reads that little blurb above the comment box about less than signs and their code gets screwed up. So maybe if they fixed the < problem, I don’t really need a preview.
Hi Dick –
The blank line quirk inside the VB tags is still with us. Is there a line limit to the VB code? I’ve tried to save a draft with 383 lines (it’s #54, the poker problem) and I keep getting truncated. I can put it up in chunks if needed, of course. Is there a limit to the number of chunks? Is there another option?
…best, mrt
Michael: Send me the code in an email and try it out.
Hi Dick –
It’s in the ether. It was a bad night for Player 1 ;-)
Ran pretty quick at 46ms. So far, longest problem.
Inside comments agree.
…best, mrt
MRT: I pasted the code into a module, fixed the line wrapping problems (that my email created) and put spaces on all of the blank rows. Then I pasted it into your draft and didn’t have any problem when I previewed it. No, I’m not calling you crazy. :) Let me know if you have further problems.
Hi Dick – don’t worry about calling me crazy. I absolutely am that, and stubborn too, for putting that much effort into one Euler credit, and you’ll just confirm it. I’ll wrap it in some lurid prose and post it Saturday morning. Sorry to shovel the cleanup off on you, but I do admire those blog-operly powers you owners have ;-)
Since it’s not a code-length problem, then I think it’s still the cut-and-paste one. I’m going to not only code on the Windows side, but post from there too, and see if I’m right, though any more problems this long are going to have to sneak up on me.
…mrt
Oh yeah, you’re a mac guy. That has to be what’s causing. Do let us know what you find out.
Hi Dick –
Mac on the home side, PC on the work side. Bilingual ;-) Definitely in the PC camp for Excel.
Using the PC at work, looking at the code posted in the Euler 43 thread, with both FireFox and IE it seems the horizontal scroll is “iffy” for pasted code.
…mrt
Posting some test code with angle brackets matched left and right. Code is
If A less than B then
‘blah bleep
ElseIf A greater than B then
‘bleep blah
End If
‘bleep blah
End If
…mrt
So when do we get to see Euler Problem 53?
*drums fingers on desk*
Doug – If you mean #54–right now ;-)
If you really mean #53, ping back and I’ll put it up.
…mrt
Dick – Did you see the angle bracket problem with a closed pair, just like HTML tags?
…mrt
I think something bad happened to your search engine. Search for something, like “userform”, and you get a few (for my taste too few) results. Click “previous entries” at the bottom of the result list and it shows previous entries for the blog, as from the main page, not from the search.
Agreed Harald. That’s not right. I nixed it and went with Google custom search in the sidebar. It’s how I search my own site anyway. Thanks for the heads up.