Thanks -- Here's what I ending up doing to my updates.php script:
$useragent=explode(';',$_SERVER['HTTP_USER_AGENT']);
preg_match('/Thunderbird\/([0-9]+)/',$_SERVER['HTTP_USER_AGENT'],$matches);
Then I created a $plugins17 and $plugins10 instead of a single $plugins
array. Then I picked which $pluginsX to use with:
if ( $matches[1] == "17") {
$plugins=$plugins17;
} else {
$plugins=$plugins10;
}
Ben
On 12/12/2012 2:04 AM, Jakob Lenfers wrote:
Am 12.12.2012 00:32, schrieb Ben Luey:
In TB when I go to Help, About, Check for Updates it does not show my
ESR 17, only that 10.0.11 is current. Should I just download and install
tb 17esr or is there a way to get TB to upgrade internally (this is on
windows)?
IIRC TB10 ESR only will update to 17.0.1 (uhhh, unintentional Star Trek
reference! :)) or at least a version where the very first bugs are
already found.
I don't want to push the new sogo extensions for 17 in my updates.php
as the extensions aren't compatible with TB10, so I'm assuming that
would be bad for folks still on TB10 (Can updates push the extensions
only to those using tb17?). I was thinking of making a new updates17.php
with the new extensions and then having sogo-integrator-17 point to that
url, but then I have to upgrade TB17 and then install (manually) the new
sogo-integrator.
But the old ones work in TB17? IIRC thats how we did the switch from TB3
to TB10, we just checked the user agent in the update script
($_SERVER['HTTP_USER_AGENT']) and delivered the plugin versions accordingly.
Regards,
Jakob
--
[email protected]
https://inverse.ca/sogo/lists