Hello Jonathan.
I'm running SM v1.4 + qmail v1.03 + vpopmail v5.2 + php v4.3.1 + Apache
v2.0.44 + courier imap v1.7.0 on a Solaris8 box. Everything seems to work
fine without any revisions. My preferences get updated without relogging
in. Aside from the few plugins that don't work, I think this version is
already ok by me. I'll just wait for the latest stable release of SM as
well as standby for the latest compatible versions of the plugins.
> Hi All,
>
> As I said I'd take a look at it... I have been doing so. And in
> classic form, I cannot for the life of me reproduce the issue that
> people seem to be having with the SM 1.2 branch not displaying
> preferences until you relogin. As a side point, this might actually
> be applicable to SM 1.4 as well... line numbers might be slightly
> different however.
>
> So I took a look at the code, and I think the problem is fairly
> simple, but I need some testers. Hopefully you guys can help here.
>
> Those using file based preferences:
>
> - Open functions/file_prefs.php
> - Jump to line 133, should look like this:
>
> @unlink($filename . '.tmp');
> chmod($filename, 0600);
>
> }
>
> - Add the following code:
>
> sqsession_register('prefs_cache' , $prefs_cache);
>
> The code should now look like:
>
> @unlink($filename . '.tmp');
> chmod($filename, 0600);
> sqsession_register('prefs_cache' , $prefs_cache);
> }
>
> - Save and play about :)
>
> Those using db based preferences need to do a little more work:
>
> - Open functions/db_prefs.php
> - Jump to line 293, the code should look like this:
>
> $db->deleteKey($username, $string);
> return;
>
> Change to this:
>
> $db->deleteKey($username, $string);
> sqsession_register('prefs_cache' , $prefs_cache);
> return;
>
> - Then jump to line 319, should look like this:
>
> assert ('$set_to == $prefs_cache[$string]');
>
> return;
>
> Change to this:
>
> assert ('$set_to == $prefs_cache[$string]');
> sqsession_register('prefs_cache' , $prefs_cache);
> return;
>
> - Save and play about :)
>
>
> I'm hoping those are the only changes that are required. If you have
> any issues deploying this code, please email me, and I'll try
> guiding you through it.
>
> I'd be very grateful for those able to test to provide feedback as
> soon as possible.
>
> Thanks to all.
>
> --
> Jonathan Angliss
> ([EMAIL PROTECTED])
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:Crypto Challenge is now open!
> Get cracking and register here for some mind boggling fun and
> the chance of winning an Apple iPod:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> --
> squirrelmail-users mailing list
> List Address: [EMAIL PROTECTED]
> List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>
Warm Regards,
==> DOODS ==>
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users