EEConf 2024 is around the corner! EEConf 2024
I’ve built a template group/weblog that houses all my EE licenses and keeps track of versions, renewal dates, expirations, etc etc. I’d like to automate a warning message (or a custom CSS style) for each entry that doesn’t match the latest available version and/or build. Is there an easy way to get the version/build so I can compare each entry? I feel like I’m missing something obvious. Thanks.
silenz, how would I get just the ‘20080225’ and compare my entry to that? I’d like to retrieve that build number at the top of the template, assign a variable (might have to be done with php, which is fine) and then, in my template do something like:
{if license_currbuild != '{latest_build_number}’}Hey! This is old! Update now!{/if}
Do I use magpie plugin to gt the number from this feed?
I ask because I’ve never used magpie before, but that’s how I assume it works.
{exp:magpie url="https://secure.expressionengine.com/download.php?ACT=ee_build" limit="1" refresh="720"}
{items}
{content}
{/items}
{/exp:magpie}
I don’t like the way license info is stored at EE. So I made a secure area of my site that lists all my EE licenses - the site it’s used on, commercial or personal, the license number, build (if known, optional), URL, how many days until it expires, last renewal date, etc etc…a lot of info at a glance. All I’d like to do is get (once, when the page loads) the latest EE version number (1.6.2) and latest build numer (i.e. 20080125). Then for each entry on my page I compare…and set a flag when a site is not using either the latest build or version. For example, maybe turning build/version red with CSS when it doesn’t match the current one.
Hey Ryan,
Try this plugin…
Usage: {exp:lg_latest_ee:build} and {exp:lg_latest_ee:version}
Tell me when you have it and tested it then I’ll upload it to my site.
Cheers Leevi
– FILE REMOVED –
Please visit: http://leevigraham.com/cms-customisation/expressionengine/lg-latest-ee for the latest version
I am getting an error (fgets):
Warning: fgets() [function.fgets]: SSL: fatal protocol error in
/home/.../.../.../system/plugins/pi.lg_latest_ee.php on line 81
But the code does output what it should on the template:
V: {exp:lg_latest_ee:version}
B: {exp:lg_latest_ee:build}
results in
V: 1.6.2
B: 20080225
Ok try this one… I have suppressed displaying errors around the connection script. This also solves an issue with Safari crashing.
– FILE REMOVED –
Please visit: http://leevigraham.com/cms-customisation/expressionengine/lg-latest-ee for the latest version
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.