Can I get just the current EE version and build number via RSS? 
Posted: 29 February 2008 10:27 AM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1457
Joined  03-26-2006

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.

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 29 February 2008 01:33 PM   [ Ignore ]   [ # 1 ]  
Research Assistant
RankRankRank
Total Posts:  510
Joined  10-22-2006

Well, the build is here

Profile
 
 
Posted: 29 February 2008 01:41 PM   [ Ignore ]   [ # 2 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1457
Joined  03-26-2006

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}

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 29 February 2008 03:52 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  883
Joined  01-24-2006

The current version can be found here: http://expressionengine.com/eeversion.txt

 Signature 

View all my EE addons!

LG .htaccess generator
LG Twitter
LG Polls
LG Better Meta
LG Twitter
LG Addon Updater
LG TinyMCE

Profile
 
 
Posted: 29 February 2008 04:19 PM   [ Ignore ]   [ # 4 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1457
Joined  03-26-2006

How did you know that txt file was there? Is that documented somewhere?

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 29 February 2008 04:26 PM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  883
Joined  01-24-2006

Searching through the code smile

 Signature 

View all my EE addons!

LG .htaccess generator
LG Twitter
LG Polls
LG Better Meta
LG Twitter
LG Addon Updater
LG TinyMCE

Profile
 
 
Posted: 29 February 2008 05:24 PM   [ Ignore ]   [ # 6 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  883
Joined  01-24-2006

How about a plugin that just returns the EE version? Will that be enough?

 Signature 

View all my EE addons!

LG .htaccess generator
LG Twitter
LG Polls
LG Better Meta
LG Twitter
LG Addon Updater
LG TinyMCE

Profile
 
 
Posted: 29 February 2008 05:25 PM   [ Ignore ]   [ # 7 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  883
Joined  01-24-2006

Oh and what are you using this for?

 Signature 

View all my EE addons!

LG .htaccess generator
LG Twitter
LG Polls
LG Better Meta
LG Twitter
LG Addon Updater
LG TinyMCE

Profile
 
 
Posted: 29 February 2008 05:30 PM   [ Ignore ]   [ # 8 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  883
Joined  01-24-2006

I should have read the full thread… ignore those last two

 Signature 

View all my EE addons!

LG .htaccess generator
LG Twitter
LG Polls
LG Better Meta
LG Twitter
LG Addon Updater
LG TinyMCE

Profile
 
 
Posted: 29 February 2008 05:33 PM   [ Ignore ]   [ # 9 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1457
Joined  03-26-2006

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.

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 29 February 2008 05:35 PM   [ Ignore ]   [ # 10 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  883
Joined  01-24-2006

- Please Delete -

 Signature 

View all my EE addons!

LG .htaccess generator
LG Twitter
LG Polls
LG Better Meta
LG Twitter
LG Addon Updater
LG TinyMCE

Profile
 
 
Posted: 29 February 2008 06:12 PM   [ Ignore ]   [ # 11 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  883
Joined  01-24-2006

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

 Signature 

View all my EE addons!

LG .htaccess generator
LG Twitter
LG Polls
LG Better Meta
LG Twitter
LG Addon Updater
LG TinyMCE

Profile
 
 
Posted: 29 February 2008 06:33 PM   [ Ignore ]   [ # 12 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1457
Joined  03-26-2006

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

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
Posted: 29 February 2008 06:46 PM   [ Ignore ]   [ # 13 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  883
Joined  01-24-2006

Which version of php are you using?

 Signature 

View all my EE addons!

LG .htaccess generator
LG Twitter
LG Polls
LG Better Meta
LG Twitter
LG Addon Updater
LG TinyMCE

Profile
 
 
Posted: 29 February 2008 06:54 PM   [ Ignore ]   [ # 14 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  883
Joined  01-24-2006

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

 Signature 

View all my EE addons!

LG .htaccess generator
LG Twitter
LG Polls
LG Better Meta
LG Twitter
LG Addon Updater
LG TinyMCE

Profile
 
 
Posted: 20 March 2008 10:32 AM   [ Ignore ]   [ # 15 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1457
Joined  03-26-2006

Leevi - Interesting that now that 1.6.3 is out, the entries on my licenses page that are at 1.6.2 aren’t glowing red like they should be. Is this because EllisLab hasn’t updated the file from which the plugin gets its information?

Ha, yep, I just checked eeversion.txt and it still says 1.6.2. OK, nevermind, then!

 Signature 

ryan masuga
Masuga DesignMember, EE Pro Network
Peruse my EE Plugins & Extensions

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 61109 Total Logged-in Users: 57
Total Topics: 73944 Total Anonymous Users: 27
Total Replies: 398826 Total Guests: 509
Total Posts: 472770    
Members ( View Memberlist )