IE7 and WC8

Some people have noticed that older versions of WorldClient don’t support newer versions of Internet Explorer.  WorldClient does some browser identity and version checking due to browser-specific support for the Lookout theme.

Luckily the fix is simple: You’ll need a plain text editor (use notepad, don’t use your usual HTML editing tools unless you’re sure your tool won’t mangle WorldClient’s tags, and definitely don’t use Word).

Open the globals.js file, located at:
[%Path to MDaemon%]\WorldClient\HTML\LookOut\globals.js

var is_ie55up  = (is_ie  && !is_ie3 && !is_ie4 && !is_ie5);
var is_ie6  = (is_ie && (is_major == 4) && (agt.indexOf(“msie 6.0”)!=-1));

and add this after it

var is_ie7  = (is_ie && (is_major == 4) && (agt.indexOf(“msie 7.0”)!=-1));
if(is_ie7){is_ie55up=true;}

After that, you should be good to go!

Generate a WorldClient SessionID

If you run an intranet and want to integrate WorldClient, if you have access to your user’s email addresses and passwords, then this post is for you.

What you’ll need to do is create an web server script (ASP, JSP, Perl or PHP, or other language of your choice) that gathers the user’s username and password from the Database and then posts them to the WorldClient server as if it were ComAgent. The URL to do this is:

http://www.example.com/WorldClient.dll?View=StatusCheck&GetSession=Yes&user=Username&Password=password

This will put the username and password in the log, so if you don’t want to have that liability, you’ll need to create some sort of ASP (or your scripting language) function that POSTs the Username and Password rather then using GET.

The result will return an XML file that will have the SessionID. Parse the XML file for the SessionID, then use that in a URL that looks like this for the redirect:

http://www.example.com/WorldClient.dll?Session=SessionID&View=Main&Frames=Yes

Hope this helps!

Changing and overriding WorldClient user preferences

Lets say you wanted to force a specific setting for all WorldClient users.  For example, say you want to show all folders to all users, regardless of whether or not they are subscribed.  This is possible, if you’re willing to edit some configuration files.

Although it’s possible modify nearly any WorldClient setting this way, I’ll use this one as an example.

This particular setting is called “HideUnsubscribedFolders” and it potentially lives in \MDaemon\WorldClient\domains.ini in several places (potentially), and in each user’s $MAILBOX$\WC\user.ini

The domains.ini file is fairly complex in terms of INI files, but it’s fairly straightforward once you understand it’s format.

To set the default for all users who have not changed it themselves, look for the [default:UserDefaults] section and set the appropriate option (in this case HideUnsubscribedFolders=No)

The fun part is this: To force a setting to apply to all users and override their own settings, use “UserOverrides” instead of “UserDefaults” — In other words, look for or create the section [default:UserOverrides] and add the “HideUnsubscribedFolders=No” command.

To make a change apply to just one domain, use the domain name instead of “default”, for example, use [example.com:UserDefaults] or [example.com:UserOverrides]

For your own information, user options are stored in the “user.ini” file located in the “WC” subfolder of a user’s mailbox — Any option in the [User] section can be applied as a default or an override as desired.