1 of 2
1
Can I get just the current EE version and build number via RSS?
Posted: 29 February 2008 09:27 AM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
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 Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

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

Well, the build is here...

Profile
 
 
Posted: 29 February 2008 12:41 PM   [ Ignore ]   [ # 2 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
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 Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 29 February 2008 02:52 PM   [ Ignore ]   [ # 3 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

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

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

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

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

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 29 February 2008 03:26 PM   [ Ignore ]   [ # 5 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

Searching through the code smile

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 29 February 2008 04:24 PM   [ Ignore ]   [ # 6 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

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

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 29 February 2008 04:25 PM   [ Ignore ]   [ # 7 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

Oh and what are you using this for?

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 29 February 2008 04:30 PM   [ Ignore ]   [ # 8 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

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

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 29 February 2008 04:33 PM   [ Ignore ]   [ # 9 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
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 Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 29 February 2008 04:35 PM   [ Ignore ]   [ # 10 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

- Please Delete -

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 29 February 2008 05:12 PM   [ Ignore ]   [ # 11 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
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 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 29 February 2008 05:33 PM   [ Ignore ]   [ # 12 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
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 Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 29 February 2008 05:46 PM   [ Ignore ]   [ # 13 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
Joined  01-24-2006

Which version of php are you using?

 Signature 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 29 February 2008 05:54 PM   [ Ignore ]   [ # 14 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1076
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 

VOTE FOR LG Addons in the Mashable Open Web Awards!


Newism - Newcastle Web Design & Development


LG Better Meta now w/ Sitemap Meta & XML Generator | LG Polls | LG .htaccess Generator

Profile
 
 
Posted: 20 March 2008 09:32 AM   [ Ignore ]   [ # 15 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
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 Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 25 September 2008 08:52 AM   [ Ignore ]   [ # 16 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

I’m using the latest version of this on a new site, and the build isn’t being output - but the version is working perfectly. Plugin is working great on a previous site (which is PHP 4, for the record) but on this new site(which is on PHP 5, if that helps), I’m not getting the build.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 25 September 2008 09:02 AM   [ Ignore ]   [ # 17 ]  
Summer Student
Total Posts:  11
Joined  03-01-2008

Looking at the plugin again (its been a while) it seems you need to be logged in to expressionengine.com to retrieve the build.

Profile
 
 
Posted: 25 September 2008 09:20 AM   [ Ignore ]   [ # 18 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

Hmm, that’s not cool. Wonder why it isn’t an easy thing to just get the current build like you can with the version.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
   
1 of 2
1
 
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 09:33 AM
Total Registered Members: 64911 Total Logged-in Users: 36
Total Topics: 81859 Total Anonymous Users: 22
Total Replies: 440084 Total Guests: 191
Total Posts: 521943    
Members ( View Memberlist )