Updating TinyMCE in Umbraco

If you’re having issues with the TinyMCE rich text editor in Umbraco, which is used by default for the richtext data type, then a simple update may resolve your problems.  I was prompted to look into this due to an odd bug where users of Safari on Mac couldn’t paste pictures using the “Paste from Word” dialog.

In order to update TinyMCE for Umbraco, follow these steps:

  1. Download the latest version from http://tinymce.moxiecode.com/download.
  2. Decompress the file and navigate to tinymce\.
  3. Copy all of the files to your Umbraco installation under umbraco_client\tinymce3\ and overwrite any existing files.
  4. Your TinyMCE is now udpated to the latest version.

 

Posted in Tech Tips | Leave a comment

Use Gravatars to Enhance Your Online Social Presence

What is an avatar? An avatar is the graphical representation of a user or a user’s alter ego or character. It may take either a three-dimensional form, as in games or virtual worlds, or a two-dimensional form as an icon in Internet forums and other online communities [Wikipedia].

Many web services and applications allow members and users to provide an avatar for additional visual identification of content they have created (e.g. posts, comments, etc.), in lists where they are included as part of a larger membership (e.g. user lists), or for items for which they have explicit permission (e.g. Google documents).

Managing avatars individually based on service is a real chore. Enter Gravatar.com. This service allows you to upload one or more avatars of yourself, and associate them with one or more e-mail addresses, creating a globally available avatar. Instantly, your avatar will be visible on comments you have posted, or in user lists, in services like WordPress.com or on any WordPress sites. Services like MailChimp support Gravatar.com, and there are even plugins for Google Chrome to add support to GMail and other services.

Posted in Apple OS X, Commentary, Microsoft Windows, Networking, Tech Tips, WordPress | Leave a comment

WordPress iOS App Erratic When Site ATOM Feed Does Not Validate

Ah, the magic of discovering these gems the hard way. Sometimes I wonder if there’s any other way.

After toiling with the WordPress app on my iPad and getting varied, erratic behavior, culminating in the app not being able to connect to my blog at all, I discovered that it uses the ATOM feed to read in content. If this feed does not validate in the W3C validator (http://validator.w3.org/feed/) the app acts looney.

My particular problem was that feeds don’t like relative paths in dependencies, like images. I would try to connect to the site and get a very helpful popup error message like “NSXMLParserErrorDomain: Error 9″. And by “very helpful” I mean “not helpful at all”.

So a link to “/wp-content/2010/10/file.jpg” is invalid, even though any app reading the feed knows the domain to which it is connected. So I installed one of many free find/replace plugins for WordPress (so I could fix this on the iPad and not have to muck around in MySQL on my desktop), and replaced all the relevant links with absolute paths. FYI, the one I used is “Search & Replace” version 2.5.1 by By Frank Bültge.

BINGO: site configured properly in the iOS app. In fact, I’m writing this as my first test after fixing the issue.

Posted in Tech Tips, WordPress | Tagged , , , , , | Leave a comment

Search programs and files no longer works in Windows 7

Sometimes the “Search programs and files” feature in Windows 7 will just stop working. Instead of showing what you want it’ll show blank generic icons like Programs, Documents, etc. The fix is as follows:

1. Open Registry Editor and navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{EF87B4CB-F2CE-4785-8658-4CA6C63E38C6}\TopViews\{00000000-0000-0000-0000-000000000000}.

2. Find the GroupBy key and change the value to System.StartMenu.Group.

3. Restart Windows, log out and back in, or kill the explorer.exe process and restart it.

This should fix it.

Thanks to organic fertilizer and Microsoft.

Posted in Microsoft Windows, Tech Tips | Leave a comment

Can’t connect to WebDAV from a Windows Server

You may discover that you can’t connect to WebDAV shares from a Windows server. You just immediately get a connection error. The problem is that this feature is not installed by default on servers as it is on desktops. You have to add the Desktop Experience feature to the server using Server Manager.

Posted in Microsoft Windows, Tech Tips | Leave a comment

Microsoft Word hangs when opening or saving documents

If you find that Microsoft Word freezes, hangs or locks up when you try to open or save a file, try this:

Start the Registry Editor. Go to the Start Menu, click Run, and type in regedit and press Enter.

Look for the following registry key depending on your version of Word:

Word 2002:
HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word\Data

Word 2003:
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Data

Word 2007:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Word\Data

You need to delete this key. If you like to be careful you can back it up first by right-clicking on it and selecting Export.

To delete it, just right click on it and select Delete.

Then restart Word and everything should be okay.

Posted in Microsoft Office, Microsoft Windows, Tech Tips | Leave a comment

HTML Entity Quick Reference for Greek Characters

The following table gives the character entity reference, decimal character reference, and hexadecimal character reference for symbols and Greek letters, as well as the rendering of each in your browser. Glyphs of the characters are available at the Unicode Consortium. Continue reading

Posted in Programming, Tech Tips | Leave a comment

Tracking SQL Server Reporting Services activity in Google Analytics

With a SQL statement like this:

select ex.UserName, ex.Format, cat.Path,
cat.Name, ex.Parameters,
convert(nvarchar(10), ex.TimeStart, 101) AS rundate,
ex.TimeStart, ex.TimeEnd, ex.TimeDataRetrieval,
ex.TimeProcessing, ex.TimeRendering, ex.Status,
ex.ByteCount, ex.[RowCount]
from ReportServer..ExecutionLog AS ex
join ReportServer..Catalog AS cat on ex.ReportID = cat.ItemID
order by ex.TimeStart DESC

you can get a lot of details about your your SQL Server Reporting Services (SSRS) activity. But everyone uses Google Analytics, so wouldn’t it be nice to have the data in GA?

Here’s how you can do that.

First download the Google Analytics tracking code. Open the GA tracking code and copy it to the clipboard.

Then find the Reporting Services JavaScript file (reportingservices.js) on your server. It’s usually located in a path such as C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportManager\js. Open it and paste the GA code at the very bottom.

Below that paste in the code to activate GA, replacing the question marks with your own Analytics ID:

var pageTracker = _gat._getTracker(“UA-??????-??”);
pageTracker._trackPageview();

Now you can track your SSRS activity in Google Analytics.

One drawback to this is that you are now effectively using a cached version of the GA code, so if Google releases any important updates you’ll have to manually update your local copy. Theoretically you could dynamically load ga.js from within reportingserver.js and then run the activation code after the load is complete. But this is much simpler. And I wouldn’t be surprised if the next version of SSRS gives you more access to the layout of Report Manager so that you can embed GA the normal way.

Posted in Programming, SQL Server, Tech Tips | Leave a comment

Verizon Internet Services: Blocking Outgoing Email | SMTP Port 25

To all Byzet customers and any Verizon customer who finds this page.

“Outbound port 25 blocking will be applied to FIOS and High Speed Internet services that use dynamic IP addresses. If you subscribe to a static IP address service, you will not be affected.” - Taken Directly from Verizon’s Site.

Please be aware that during 2009 Verizon will begin blocking third-party outgoing email for all FIOS and High Speed Internet Service customers who have a dynamically assigned IP address. (Third-party email basically means your email that is not hosted by Verizon. ) This means that most residential customers and business customers will be required to reconfigure their Outlook, Outlook Express, Eudora or other email client. The outgoing email is only being block on SMTP port 25 if it it not hosted by Verizon. You can easily change the outgoing mail server port number in you email settings. If you are not using SSL try one of the following: 587, 8025, or 2525. We recommend that you consider changing your settings to use SSL. If you are sending your email over SSL then you will want to use one of the following port numbers: 465, 587, 8025, or 2525. If you need detailed instructions or assistance changing your Byzet hosted email settings please do not hesitate to contact us.

Posted in Networking, Security, Tech Tips | Leave a comment

Fix for Canon scanner error “Unable to open TWAIN source”

I discovered this on a Canon LIDE 25 scanner but it seems to apply to many Canon LIDE scanners. Sometimes the CanoScan Toolbar will fail to scan documents and give you an error along the lines of “Unable to open TWAIN source”. You need to find the directory where the Canon TWAIN drivers were installed and add it to the path environment variable. Typically it is located in c:\windows\twain_32\cnqlXX. XX will vary depending on your particular model; for an LIDE25 it would be CNQL25. No restart is required.

Posted in Microsoft Windows, Tech Tips | Leave a comment