Author: rogersennert_sz793679

Plesk Migration Manager and Mailman

When you are moving to a new Plesk Server the Migration Manager of Plesk is a cool feature. It helps you to keep out of a lot of trouble. But unfortunately it also add some trouble.
When you try to migrate a Mailman maillinglist the Migration Manager first adds a new list with default settings and then add user per user to list. But there is on heavy pitfall: The defaults say to send a welcome message to every new user. *bumm*!
So every user will get again (or the first time :-)) the welcome message of the list. In general this isn’t a good idea.

To avoid this problem we need to change the defaults of the Mailman settings. We need to add a line to the file mm_cfg.py Usually you’ll find the file at /usr/lib/mailman/Mailman. Edit the file and add

DEFAULT_SEND_WELCOME_MSG = No

If you like you can take a look at the file Defauls.py in the same directory. There you’ll find all other defaults. If you want to override one of these settings you just need to add an other line to the mm_cfg.py file.

Typo3 on Strato webhoster

If you ever need to install a Typo3 4.3 or higher on a Strato you may encounter a problem with ImageMagick. First of all you need an package which supports ImageMagick! If you package supports it then you may have the problem that ImageMagick Version 4.2.9 will not work and gives you that error: „There was no result from the ImageMagick operation„.

To solve this go to the All Configuration section of your Typo3 4.3 or higher installation. Search for [im_stripProfileCommand] and set it to blank.

That’s it!

After hibernation windows awakes when moving the mouse

You put your computer into hibernation. Everything seems to fine and you went off. When you come back your PC is running. How? Mostly since you have a cordless mouse which sends from time to time a signal. Or you just moved the mouse.
After checking all BIOS settings you were not able to find the reason. This is because the main reason for the problem is your OS: Windows 7 or Windows Vista. They have their own build-in power management.  So you need to change the settings there.

So, if you have the problem that your computer awakes when moving the mouse after the hibernation there is a simple solution:

  • Open the „Device Manager“
  • Collapse „Mice and other pointing devices“
  • Select your mouse
  • Right click and select „Properties“
  • Switch to the „Power Management“ tab
  • Deselect „Allow this device to wake the computer“
  • Done!

Putty with utf8 on a SuSE System

When you change the default translation of your Putty to UTF-8 you can use all the advantages of that. But there is one thing witch is strange. If you call YAST you’ll see wired characters instead of the normal lines.
Of course you set „Handling of line drawing characters“ to „Use Unicode line drawing code points„. But you need to do one more little thing.
Set „Connection->Data->Terminal-type string to“ „linux“ instead of the default „xterm“ und you’ll be happy again!

Load outdated Firefox Add-ons

If you like to test the newest version of Firefox may some of you plugins will stop work. This is since they really don’t work with this version or the of the plugion author hasn’t tested it and released a new version. If you don’t like to wait to update the add-on you have some options:

  • Edit the .xpi file. XPI is just a simple zip files which contains the plugin. There you’ll find an install.rdf where the author entered the maxVersion of the browser. So just edit, save, repack, rename and reinstall will work
  • Disable compatibility completely. You just need to add some information via the about:config dialog, restart and all add-ons will load again
  • Use the Nightly Tester Tools. After you installed this plugin you are able to choose on which add-on you like to disable the compatibility check. Just go to the add-on manager and right click on you outdated plugin. There you find a new menu entry.
    For me this is the preferred method!

Thunderbird and default sorting of mails

Have you ever wounder how to change the default sorting of the Thunderbird mail client? For me the standard default sorting it’s very annoying since I prefer the newest mail first. But out of box the my mail client shows the oldest one first.
So I went out and searched for a solution. And expect what: I found one! 🙂

Open your Options dialog and choose „Config Editor“ of the Advanced/General Page. The „about:config“ of Thunderbird will open. Into the filter field type „mailnews.default“ and you’ll see the current default of mails and news. Fine, but what are all these silly values means?
sort_order:

  • 1 ascending
  • 2 descending

sort_type:

  • 17 byNone
  • 18 byDate
  • 19 bySubject
  • 20 byAuthor
  • 21 byId
  • 22 byThread
  • 23 byPriority
  • 24 byStatus
  • 25 bySize
  • 26 byFlagged
  • 27 byUnread
  • 28 byRecipient
  • 29 byLocation
  • 30 byTags
  • 31 byJunkStatus
  • 32 byAttachments
  • 33 byAccount
  • 34 byCustom

view_flags:

  • 0 Unthreaded
  • 1 Threaded

For me I’ve just changed the mailnews.default_sort_order to 2 and mailnews.default_view_flags to 0 and I was happy.

Is there any addon out there which does the job? Up to now I didn’t found any. May I go ahead a write one …. as soon as I’ll get some spare time. (A request of such an extension could speed this process…)

Do you want more information about this? Look here.

Typo3 How to render RTE content of an extension

When writing your own Typo3 extension you may come to the day where you need to enter some free HTML content. This content may also include some links. No Problem so far. But if you save the stuff to the db Typo3 transforms the text. For example all a-Tags are written as <link XX>Test</link> and so on.
So when you like to render the text you need to revert the transformation. (At this point it doesn’t matter if you are using FlexForms or the traditional TCA configuration).
All you need to do is to call this method and everything goes fine:
[sourcecode lang=“php“]$outputText=$this->pi_RTEcssText($dbtext);[/sourcecode]